双重预防项目-国泰新华二开定制版
郑永安
2023-08-30 23707e9f7f9268316367feebe6149afd95266ffb
src/main/java/com/ruoyi/project/tr/HiddenDangerCheckJob/controller/HiddenDangerCheckJobController.java
@@ -285,6 +285,8 @@
            cronExpression = secondStr + " " + minuteStr + " " + hourStr + " " + dayStr + " " + initMonth + "/" + typeCycleNum + " ? *";
        } else if (hiddenDangerCheckJob.getTroubleshootTypeCycleType() == 5) {//年
            cronExpression = secondStr + " " + minuteStr + " " + hourStr + " " + dayStr + " " + monthStr + " ? " + yearStr + "/" + "" + typeCycleNum;
        } else if (hiddenDangerCheckJob.getTroubleshootTypeCycleType() == 6) {// todo - 2022 测试 ,分钟
            cronExpression = "* 0/5 * * * ?";
        }
        return cronExpression;
    }