From f4be36f30a802e70038bde438d1689eb749032fd Mon Sep 17 00:00:00 2001 From: zhangchao <zc857179121@qq.com> Date: 星期五, 22 十一月 2024 08:49:19 +0800 Subject: [PATCH] 采用定长的线程池,防止定时任务的异常导致大量线程被占用 --- src/main/java/com/zy/asrs/service/AgvWrkMastService.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/AgvWrkMastService.java b/src/main/java/com/zy/asrs/service/AgvWrkMastService.java index d419903..27fa643 100644 --- a/src/main/java/com/zy/asrs/service/AgvWrkMastService.java +++ b/src/main/java/com/zy/asrs/service/AgvWrkMastService.java @@ -10,6 +10,8 @@ public void updateWrkStsByWrkNo(int wrkNo, long wrkSts); + public void updateWrkStsByWrkNo(int wrkNo, long wrkSts,String manuType,long userId); + public int startWrk(AgvWrkMast agvWrkMast) throws IOException; public int containerMoveIn(List<AgvWrkMast> agvWrkMastList) throws IOException; @@ -28,4 +30,6 @@ public int callCancelTask(int wrkNo); + public int startAllcationIn(AgvWrkMast agvWrkMast) throws IOException; + } -- Gitblit v1.9.1