fix: 数据库适配xml漏改表名

This commit is contained in:
dhb52 2024-05-15 13:02:24 +08:00
parent 5f594100ca
commit e67f658d2e
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@
SELECT group_name AS groupName, SELECT group_name AS groupName,
SUM(CASE WHEN (job_status = 1) THEN 1 ELSE 0 END) AS run, SUM(CASE WHEN (job_status = 1) THEN 1 ELSE 0 END) AS run,
COUNT(*) AS total COUNT(*) AS total
FROM job FROM sj_job
${ew.customSqlSegment} ${ew.customSqlSegment}
GROUP BY namespace_id, group_name GROUP BY namespace_id, group_name
</select> </select>

View File

@ -64,7 +64,7 @@
ISNULL(SUM(max_count_num), 0) AS maxCountNum, ISNULL(SUM(max_count_num), 0) AS maxCountNum,
ISNULL(SUM(suspend_num), 0) AS suspendNum, ISNULL(SUM(suspend_num), 0) AS suspendNum,
ISNULL(SUM(running_num + finish_num + max_count_num + suspend_num), 0) AS totalNum ISNULL(SUM(running_num + finish_num + max_count_num + suspend_num), 0) AS totalNum
FROM retry_summary FROM sj_retry_summary
${ew.customSqlSegment} ${ew.customSqlSegment}
</select> </select>