From 8feb7c37b59fd09de53b6cd76eddfe0cf59ddd55 Mon Sep 17 00:00:00 2001 From: zhangchao <zc857179121@qq.com> Date: 星期六, 23 十一月 2024 08:38:39 +0800 Subject: [PATCH] 修改定时任务触发方式,不是以固定时间执行,以执行完成任务,间隔多少时间在此执行 --- src/main/java/com/zy/asrs/service/LocRuleService.java | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/LocRuleService.java b/src/main/java/com/zy/asrs/service/LocRuleService.java index f793151..9e6e196 100644 --- a/src/main/java/com/zy/asrs/service/LocRuleService.java +++ b/src/main/java/com/zy/asrs/service/LocRuleService.java @@ -8,12 +8,18 @@ public interface LocRuleService extends IService<LocRule> { - LocRule find(String matnr); + List<LocRule> find(String matnr); + + List<LocRule> findCode(String matnr, String other); //鎵炬贩杞藉簱浣嶈鍒� - LocRule findMixed(); + List<LocRule> findMixed(); //灏嗗簱浣嶈鍒欑粍杞崲涓哄簱浣嶇粍 List<LocMast> locRuleToLocNos(LocRule locRule); + int updateKeepGoByMatnr(String matnr, Integer keepGo); + + int updateKeepGoByMixed(Integer keepGo); + } -- Gitblit v1.9.1