From 89610234a2bdc56f60e0998045892ef2672edccc Mon Sep 17 00:00:00 2001 From: nidapeng <jp@doumee.com> Date: 星期五, 19 四月 2024 14:18:31 +0800 Subject: [PATCH] 最新版本 --- server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java | 22 ++++++---------------- 1 files changed, 6 insertions(+), 16 deletions(-) diff --git a/server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java b/server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java index 05436ba..c99682c 100644 --- a/server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java +++ b/server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java @@ -7,11 +7,8 @@ import com.doumee.core.utils.Constants; import com.doumee.service.business.InterfaceLogService; import com.doumee.service.business.MemberService; -import com.doumee.service.business.impl.hksync.HkSyncEmpowerServiceImpl; -import com.doumee.service.business.impl.hksync.HkSyncImgServiceImpl; -import com.doumee.service.business.impl.hksync.HkSyncParkServiceImpl; +import com.doumee.service.business.impl.hksync.*; import com.doumee.service.business.impl.hksync.ferp.HkSyncOrgUserToHKServiceImpl; -import com.doumee.service.business.impl.hksync.HkSyncVisitServiceImpl; import com.doumee.service.business.impl.hksync.fhk.HkSyncVehicleFromHKServiceImpl; import com.doumee.service.business.impl.hksync.fhk.HkSyncVisitFromHKServiceImpl; import org.springframework.beans.factory.annotation.Autowired; @@ -22,13 +19,13 @@ import java.util.Date; /** - * 瀹氭椂浠诲姟 + * 瀹氭椂浠诲姟锛堝簾寮冿級 * @author jiangping * @date 2021-10-10 14:40:35 * https://www.bejson.com/othertools/cron/ cron 琛ㄨ揪寮忕敓鎴愬湴鍧� */ -@Component -@EnableScheduling +//@Component +//@EnableScheduling public class ScheduleTool { @Autowired @@ -155,19 +152,12 @@ 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(); } -- Gitblit v1.9.3