|
|
|
@ -21,7 +21,7 @@ public class GasOilPriceSchedule { |
|
|
|
|
@Resource |
|
|
|
|
private BsGasOilPriceWeekService gasOilPriceWeekService; |
|
|
|
|
|
|
|
|
|
@Scheduled(cron = "3 0 0 * * ?") // 每日凌晨00:00:03 执行一次
|
|
|
|
|
@Scheduled(cron = "0 0 0 * * ?") // 每日凌晨00:00:00 执行一次
|
|
|
|
|
public void newLinkGasSchedule() { |
|
|
|
|
try { |
|
|
|
|
// 更新价格
|
|
|
|
|