| | |
| | | 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(); |