From 56c84cd7fb04407536eb0135162313029828a81f Mon Sep 17 00:00:00 2001 From: 16639036659 <577530412@qq.com> Date: 星期一, 11 十二月 2023 10:14:41 +0800 Subject: [PATCH] 暂时提交 --- src/main/java/com/ruoyi/doublePrevention/scheduls/ExecCJReportDateSchedule.java | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/ruoyi/doublePrevention/scheduls/ExecCJReportDateSchedule.java b/src/main/java/com/ruoyi/doublePrevention/scheduls/ExecCJReportDateSchedule.java index b7a46fc..3129161 100644 --- a/src/main/java/com/ruoyi/doublePrevention/scheduls/ExecCJReportDateSchedule.java +++ b/src/main/java/com/ruoyi/doublePrevention/scheduls/ExecCJReportDateSchedule.java @@ -103,7 +103,7 @@ // @Scheduled(cron = "0 0 22,23 * * ?") //每天晚上22、23点执行一次 // @Scheduled(cron = "0 0/1 * * * ? ") // 分钟 // @Scheduled(cron = "0 0/20 * * * ? ") // 分钟 - @Scheduled(cron = "0/10 * * * * ?") +// @Scheduled(cron = "0/10 * * * * ?") public void execReportDateSchedule() throws UnsupportedEncodingException { logger.info("【¥¥】上报数据开始..."); @@ -213,7 +213,7 @@ handlerReportParam.setId(riskAnaUnit.getId()); handlerReportParam.setReportStatus(SyncEnum.SYNC_EXEC_SUCCESS.getCode()); handlerReportParam.setReportTime(date); - CJRiskAnaUnitService.updateReportStatus(handlerReportParam); + CJRiskAnaUnitService.updateCJReportStatusById(handlerReportParam); idTextBuffer.append(riskAnaUnit.getId() + ";"); } }else { @@ -291,7 +291,7 @@ handlerReportParam.setId(cjEvent.getId()); handlerReportParam.setReportStatus(SyncEnum.SYNC_EXEC_SUCCESS.getCode()); handlerReportParam.setReportTime(date); - CJEventService.updateEventReportStatus(handlerReportParam); + CJEventService.updateCJReportStatusById(handlerReportParam); } logger.info("【2】安全风险事件-数据处理完成"); }else { @@ -369,7 +369,7 @@ handlerReportParam.setId(cjMeasure.getId()); handlerReportParam.setReportStatus(SyncEnum.SYNC_EXEC_SUCCESS.getCode()); handlerReportParam.setReportTime(date); - CJMeasureService.updateMeasureReportStatus(handlerReportParam); + CJMeasureService.updateCJReportStatusById(handlerReportParam); } logger.info("【3】风险管控措施-数据处理完成"); }else { @@ -448,7 +448,7 @@ handlerReportParam.setId(cjTaskFromWork.getId()); handlerReportParam.setReportStatus(SyncEnum.SYNC_EXEC_SUCCESS.getCode()); handlerReportParam.setReportTime(date); - CJTaskFromWorkService.updateWorkReportStatus(handlerReportParam); + CJTaskFromWorkService.updateCJReportStatusById(handlerReportParam); } logger.info("【4】任务-数据处理完成"); @@ -529,7 +529,7 @@ handlerReportParam.setId(cjRecordFromTask.getId()); handlerReportParam.setReportStatus(SyncEnum.SYNC_EXEC_SUCCESS.getCode()); handlerReportParam.setReportTime(date); - CJTaskRecordService.updateTaskReportStatus(handlerReportParam); + CJTaskRecordService.updateCJReportStatusById(handlerReportParam); } logger.info("【5】任务记录-数据处理完成"); }else { @@ -613,7 +613,7 @@ handlerReportParam.setId(cjDangerInfo.getId()); handlerReportParam.setReportStatus(SyncEnum.SYNC_EXEC_SUCCESS.getCode()); handlerReportParam.setReportTime(date); - CJDangerInfoService.updateDangerInfoReportStatus(handlerReportParam); + CJDangerInfoService.updateCJReportStatusById(handlerReportParam); } logger.info("【6】隐患信息-数据处理完成"); }else { -- Gitblit v1.9.2