nidapeng
2024-04-15 e3f60427ef427d966253aa7ecd022aa9f20788ad
server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java
@@ -24,8 +24,8 @@
 * @date 2021-10-10 14:40:35
 * https://www.bejson.com/othertools/cron/  cron 表达式生成地址
 */
//@Component
//@EnableScheduling
@Component
@EnableScheduling
public class ScheduleTool {
    @Autowired
@@ -152,14 +152,7 @@
    public void syncEmpowerDetailData()  {
        hkSyncEmpowerService.syncEmpowerDetailData();
    }*/
    /**
     * 定时同步车辆包期到海康系统
     * @throws Exception
     */
    @Scheduled(fixedRate= 60*1000)
    public void syncParkBookData()  {
        hkSyncParkService.syncParkBookData();
    }
    /**
     * 定时冻结内部人员