双重预防项目-国泰新华二开定制版
16639036659
2023-09-11 c3447610c46c47b52fb8a191e2ea45ac50f426f6
src/main/java/com/ruoyi/doublePrevention/scheduls/ExecCJReportDateSchedule.java
@@ -97,7 +97,7 @@
//    @Scheduled(cron = "0 0 22,23 * * ?")    //每天晚上22、23点执行一次
//    @Scheduled(cron = "0 0/1 * * * ? ")    // 分钟
    @Scheduled(cron = "0 0/20 * * * ? ")    // 分钟
    //@Scheduled(cron = "0/30 * * * * ?")
//    @Scheduled(cron = "0/30 * * * * ?")
    public void execReportDateSchedule() throws UnsupportedEncodingException {
        logger.info("【####】上报数据开始...");
@@ -116,7 +116,7 @@
        //使用风险分析单元数据上报主配置,作为自动上报开关
        PreventReportConfig reportConfig = preventReportConfigService.getReportConfigById(SyncEnum.REPORT_CONFIG_RISK_ANA_UNIT.getCode());
        if (reportConfig.getReportState() == 0){
        if (reportConfig.getReportType() == 0){
            return;
        }