fix(info-query): 修复查询版本没有区分跨天状态
This commit is contained in:
@@ -391,6 +391,7 @@ public class InfoService {
|
|||||||
.onEq(TABLE_INFO_FLINK_JOB_ID, Column.as(TABLE_VERSION_FLINK_JOB_ID))
|
.onEq(TABLE_INFO_FLINK_JOB_ID, Column.as(TABLE_VERSION_FLINK_JOB_ID))
|
||||||
.andEq(TABLE_INFO_ALIAS, Column.as(TABLE_VERSION_ALIAS))
|
.andEq(TABLE_INFO_ALIAS, Column.as(TABLE_VERSION_ALIAS))
|
||||||
.whereLt(TABLE_INFO_PRIORITY, 10000)
|
.whereLt(TABLE_INFO_PRIORITY, 10000)
|
||||||
|
.andEq(TABLE_VERSION_SCHEDULED, false)
|
||||||
.andEq(TABLE_VERSION_VERSION, version)
|
.andEq(TABLE_VERSION_VERSION, version)
|
||||||
.andEq(TABLE_INFO_STATUS, "y")
|
.andEq(TABLE_INFO_STATUS, "y")
|
||||||
.build(),
|
.build(),
|
||||||
@@ -408,6 +409,7 @@ public class InfoService {
|
|||||||
.onEq(TABLE_INFO_FLINK_JOB_ID, Column.as(TABLE_VERSION_FLINK_JOB_ID))
|
.onEq(TABLE_INFO_FLINK_JOB_ID, Column.as(TABLE_VERSION_FLINK_JOB_ID))
|
||||||
.andEq(TABLE_INFO_ALIAS, Column.as(TABLE_VERSION_ALIAS))
|
.andEq(TABLE_INFO_ALIAS, Column.as(TABLE_VERSION_ALIAS))
|
||||||
.whereGe(TABLE_INFO_PRIORITY, 10000)
|
.whereGe(TABLE_INFO_PRIORITY, 10000)
|
||||||
|
.andEq(TABLE_VERSION_SCHEDULED, false)
|
||||||
.andEq(TABLE_VERSION_VERSION, version)
|
.andEq(TABLE_VERSION_VERSION, version)
|
||||||
.andEq(TABLE_INFO_STATUS, "y")
|
.andEq(TABLE_INFO_STATUS, "y")
|
||||||
.build(),
|
.build(),
|
||||||
|
|||||||
Reference in New Issue
Block a user