|
@@ -50,8 +50,8 @@ public class NewPartsChangeSalesSchedule {
|
|
|
@Resource
|
|
|
RedisLockRegistry redisLockRegistry;
|
|
|
|
|
|
- @Scheduled(cron = "0 0 01 * * ?")
|
|
|
-// @Scheduled(initialDelay = 5000, fixedDelay = 30000)
|
|
|
+// @Scheduled(cron = "0 0 01 * * ?")
|
|
|
+ @Scheduled(initialDelay = 5000, fixedDelay = 30000)
|
|
|
private void newPartsToSalesTasks() throws InterruptedException {
|
|
|
if (profiles.equals("dev") || !DateUtil.formatDateTime(DateUtil.date()).contains(" 01:0")) {
|
|
|
return;
|