diff --git a/easy-retry-datasource/easy-retry-datasource-template/src/main/java/com/aizuda/easy/retry/template/datasource/persistence/dataobject/DashboardCardResponseDO.java b/easy-retry-datasource/easy-retry-datasource-template/src/main/java/com/aizuda/easy/retry/template/datasource/persistence/dataobject/DashboardCardResponseDO.java index 58c7e0b2..d71171e2 100644 --- a/easy-retry-datasource/easy-retry-datasource-template/src/main/java/com/aizuda/easy/retry/template/datasource/persistence/dataobject/DashboardCardResponseDO.java +++ b/easy-retry-datasource/easy-retry-datasource-template/src/main/java/com/aizuda/easy/retry/template/datasource/persistence/dataobject/DashboardCardResponseDO.java @@ -52,6 +52,10 @@ public class DashboardCardResponseDO { private Integer successNum; //失败 private Integer failNum; + //取消 + private Integer cancelNum; + //停止 + private Integer stopNum; // 总数 private Integer totalNum; // 成功率 diff --git a/easy-retry-datasource/easy-retry-mysql-datasource/src/main/resources/mysql/mapper/JobSummaryMapper.xml b/easy-retry-datasource/easy-retry-mysql-datasource/src/main/resources/mysql/mapper/JobSummaryMapper.xml index 18eec6cf..d43b8daf 100644 --- a/easy-retry-datasource/easy-retry-mysql-datasource/src/main/resources/mysql/mapper/JobSummaryMapper.xml +++ b/easy-retry-datasource/easy-retry-mysql-datasource/src/main/resources/mysql/mapper/JobSummaryMapper.xml @@ -39,7 +39,13 @@ ) ON DUPLICATE KEY UPDATE - job_id = values(`job_id`), trigger_at = values(`trigger_at`) + success_num = values(`success_num`), + fail_num = values(`fail_num`), + fail_reason = values(`fail_reason`), + stop_num = values(`stop_num`), + stop_reason = values(`stop_reason`), + cancel_num = values(`cancel_num`), + cancel_reason = values(`cancel_reason`)