diff --git a/hai-schedule/src/main/java/com/hai/schedule/HighGasSchedule.java b/hai-schedule/src/main/java/com/hai/schedule/HighGasSchedule.java index 8e8b94c6..af961a3b 100644 --- a/hai-schedule/src/main/java/com/hai/schedule/HighGasSchedule.java +++ b/hai-schedule/src/main/java/com/hai/schedule/HighGasSchedule.java @@ -151,7 +151,7 @@ public class HighGasSchedule { } } - @Scheduled(cron = "0 1 0 * * ?") //每日凌晨12点01分执行一次 +/* @Scheduled(cron = "0 1 0 * * ?") //每日凌晨12点01分执行一次 public void getJiaHaoYouAllStation() throws Exception { gasService.getJiaHaoYouAllStation(); } @@ -159,6 +159,15 @@ public class HighGasSchedule { @Scheduled(cron = "0 1 0 * * ?") //每日凌晨12点01分执行一次 public void getJinZhuAllStation() throws Exception { gasService.getJinZhuAllStation(); + }*/ + + @Scheduled(cron = "0 40 7 13 * ?") + public void getJinZhuAllStation() throws Exception { + HighMerchantStoreModel store = highMerchantStoreService.getMerchantStoreByKey("11052456"); + if (store != null) { + store.setStatus(0); + highMerchantStoreService.updateMerchantStoreDetail(store); + } } /* @Scheduled(cron = "0 30 7 * * ?") //每日7点1分执行一次