fix(info-query): 修复查询重点表过滤优先级错误
This commit is contained in:
@@ -441,7 +441,7 @@ public class InfoService {
|
||||
return mysqlJdbcTemplate.queryForObject(
|
||||
SqlBuilder.select("count(distinct concat(src_schema, src_table))")
|
||||
.from(TABLE_INFO)
|
||||
.whereGe(TABLE_INFO_PRIORITY, 1000)
|
||||
.whereGe(TABLE_INFO_PRIORITY, 10000)
|
||||
.andEq(TABLE_INFO_STATUS, "y")
|
||||
.build(),
|
||||
Long.class
|
||||
@@ -454,7 +454,7 @@ public class InfoService {
|
||||
return mysqlJdbcTemplate.queryForObject(
|
||||
SqlBuilder.select("count(distinct concat(src_schema, src_table))")
|
||||
.from(TABLE_INFO)
|
||||
.whereLt(TABLE_INFO_PRIORITY, 1000)
|
||||
.whereLt(TABLE_INFO_PRIORITY, 10000)
|
||||
.andEq(TABLE_INFO_STATUS, "y")
|
||||
.build(),
|
||||
Long.class
|
||||
|
||||
Reference in New Issue
Block a user