mitao
2024-04-30 c6889419ea24a8df72b654f30b3851f1172e3499
meiya-rest/src/main/java/com/sinata/rest/modular/mall/job/UserV3UpDownWork.java
@@ -67,18 +67,6 @@
            v3UpPlan2();
        }
    }
    @Scheduled(cron = "0 0 17 * * ?")
    public void runTest() {
        log.info("---------------开始执行人员晋升任务-----------------" );
        Integer set_306 = setService.getIntegerById(EnumSystemSetKey.SET_306.index);
        if (set_306 == 1) {
            v3UpPlan2();
        } if (set_306 == 2 && DateUtil.thisDayOfMonth() == 1) {
            v3UpPlan2();
        } if (set_306 == 3 && DateUtil.isSameDay(DateUtil.date(), DateUtil.beginOfQuarter(DateUtil.date()))) {
            v3UpPlan2();
        }
    }
    public void v3Up() {
        // 自然季度开始结束时间
        String beginTime = DateUtil.beginOfQuarter(DateUtil.date()).toString();