fix: table description is empty

This commit is contained in:
vran 2022-06-10 13:33:30 +08:00
parent 32babc20a1
commit f9a9eb1c14
1 changed files with 1 additions and 2 deletions

View File

@ -50,8 +50,7 @@ public class DocumentDescriptionDao extends BaseDao<DocumentDescription> {
} }
public List<DocumentDescription> selectTableDescriptionByProjectId(Integer projectId) { public List<DocumentDescription> selectTableDescriptionByProjectId(Integer projectId) {
return selectByCondition(DOCUMENT_DESCRIPTION.PROJECT_ID.eq(projectId) return selectByCondition(DOCUMENT_DESCRIPTION.PROJECT_ID.eq(projectId));
.and(DOCUMENT_DESCRIPTION.COLUMN_NAME.isNull()));
} }
public List<DocumentDescription> selectByCondition(Condition condition) { public List<DocumentDescription> selectByCondition(Condition condition) {