Sfoglia il codice sorgente

交班索引ID设置

qiangxuan 3 mesi fa
parent
commit
26d9772337

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

@@ -431,14 +431,14 @@ public class BilletHotsendChangeShiftController extends JeecgController<BilletHo
 		log.info("自动化{}交班成功!{} 结果值:{}", shiftName, new Date(), jsonObject);
 	}
 
-	@Scheduled(cron = "0 38 17 * * ?")
+//	@Scheduled(cron = "0 38 17 * * ?")
 	public void executeNeightShiftTask1() {
 		log.info("设置索引iD");
 		String nextshiftIdKey = String.format("class:nextshift:Id:%s", "5-6");
 		redisTemplate.opsForValue().set(nextshiftIdKey, 22);
 	}
 
-	@Scheduled(cron = "0 * * * * ?")
+//	@Scheduled(cron = "0 * * * * ?")
 	public void executeNeightShiftTask2() {
 		log.info("获取索引ID");
 		String nextshiftIdKey = String.format("class:nextshift:Id:%s", "5-6");