qiangxuan 1 månad sedan
förälder
incheckning
1a60871793

+ 3 - 3
zgztBus/jeecg-module-sbm/src/main/java/org/jeecg/modules/billet/billetHotsendChangeShift/controller/BilletHotsendChangeShiftController.java

@@ -432,7 +432,7 @@ public class BilletHotsendChangeShiftController extends JeecgController<BilletHo
 	}
 
 
-	@Scheduled(cron = "0 1 0 * * ?")
+	@Scheduled(cron = "0 5 0 * * ?")
 	public void runAtMidnight() {
 		// 每天	00:00:05 执行的任务逻辑
 
@@ -454,7 +454,7 @@ public class BilletHotsendChangeShiftController extends JeecgController<BilletHo
 		executeShiftTask88();
 	}
 
-	@Scheduled(cron = "0 1 8 * * ?")
+	@Scheduled(cron = "0 5 8 * * ?")
 	public void runAtEight() {
 		// 08:05:00 执行的任务逻辑
 
@@ -476,7 +476,7 @@ public class BilletHotsendChangeShiftController extends JeecgController<BilletHo
 		executeShiftTask88();
 	}
 
-	@Scheduled(cron = "0 1 16 * * ?")
+	@Scheduled(cron = "0 5 16 * * ?")
 	public void runAtFourPm() {
 		// 16:00:05 执行的任务逻辑
 

+ 1 - 1
zgztBus/jeecg-module-sbm/src/main/java/org/jeecg/modules/billet/billetHotsendChangeShift/service/impl/BilletHotsendChangeShiftServiceImpl.java

@@ -157,7 +157,7 @@ public class BilletHotsendChangeShiftServiceImpl extends ServiceImpl<BilletHotse
         JSONObject result = new JSONObject();
         // 缓存交班索引ID
         String nextshiftIdKey = String.format("class:nextshift:Id:%s", "5-6");
-        List<String> ccmNoList = Arrays.asList("5", "6");
+        List<String> ccmNoList = Arrays.asList("6");
         for (String ccmNo : ccmNoList){
             String keyShiftGroup = String.format("class:shift:group:%s", ccmNo);
             String keyShift = String.format("class:shift:%s", ccmNo);