mirror of
https://github.com/vran-dev/databasir.git
synced 2025-09-13 06:17:14 +08:00
fix: table description is empty (#240)
* fix: table description is empty * fix: ut failed
This commit is contained in:
@@ -49,11 +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)
|
||||
.and(DOCUMENT_DESCRIPTION.COLUMN_NAME.isNull()));
|
||||
}
|
||||
|
||||
public List<DocumentDescription> selectByCondition(Condition condition) {
|
||||
return this.getDslContext()
|
||||
.selectFrom(DOCUMENT_DESCRIPTION).where(condition)
|
||||
|
Reference in New Issue
Block a user