| | |
| | | * @date 2021-10-10 14:40:35 |
| | | * https://www.bejson.com/othertools/cron/ cron 表达式生成地址 |
| | | */ |
| | | //@Component |
| | | //@EnableScheduling |
| | | @Component |
| | | @EnableScheduling |
| | | public class ScheduleTool { |
| | | |
| | | @Autowired |
| | |
| | | public void syncEmpowerDetailData() { |
| | | hkSyncEmpowerService.syncEmpowerDetailData(); |
| | | }*/ |
| | | /** |
| | | * 定时同步车辆包期到海康系统 |
| | | * @throws Exception |
| | | */ |
| | | @Scheduled(fixedRate= 60*1000) |
| | | public void syncParkBookData() { |
| | | hkSyncParkService.syncParkBookData(); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 定时冻结内部人员 |
| | | */ |
| | | @Scheduled(fixedRate= 60*1000) |
| | | // @Scheduled(fixedRate= 60*1000) |
| | | public void memberFreeze() { |
| | | memberService.memberFreeze(); |
| | | } |