fix: ut failed

This commit is contained in:
vran
2022-06-10 13:39:40 +08:00
parent f9a9eb1c14
commit 44f871a48f
3 changed files with 1 additions and 7 deletions

View File

@@ -49,10 +49,6 @@ public class DocumentDescriptionDao extends BaseDao<DocumentDescription> {
return selectByCondition(DOCUMENT_DESCRIPTION.PROJECT_ID.eq(projectId));
}
public List<DocumentDescription> selectTableDescriptionByProjectId(Integer projectId) {
return selectByCondition(DOCUMENT_DESCRIPTION.PROJECT_ID.eq(projectId));
}
public List<DocumentDescription> selectByCondition(Condition condition) {
return this.getDslContext()
.selectFrom(DOCUMENT_DESCRIPTION).where(condition)