|
|
|
@ -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分执行一次
|
|
|
|
|