API数据表更新
This commit is contained in:
@@ -34,7 +34,9 @@ public class dataPageController {
|
||||
public List<SyncTablesView> getTableList(String dbId, String targetTable) {
|
||||
QueryWrapper<SyncTablesView> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.eq(dbId != null && !dbId.isBlank(), "db_id", dbId)
|
||||
.like(targetTable != null && !targetTable.isBlank(), "target_table", targetTable);
|
||||
.like(targetTable != null && !targetTable.isBlank(), "target_table", targetTable)
|
||||
.orderByDesc("create_time")
|
||||
;
|
||||
return tablesViewService.list(queryWrapper);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user