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/AgvWrkDetlService.java | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/AgvWrkDetlService.java b/src/main/java/com/zy/asrs/service/AgvWrkDetlService.java index 78747a6..402da7b 100644 --- a/src/main/java/com/zy/asrs/service/AgvWrkDetlService.java +++ b/src/main/java/com/zy/asrs/service/AgvWrkDetlService.java @@ -3,15 +3,14 @@ import com.baomidou.mybatisplus.service.IService; import com.zy.asrs.entity.AgvWrkDetl; import com.zy.asrs.entity.WrkDetl; -import com.zy.common.model.DetlDto; import java.util.List; public interface AgvWrkDetlService extends IService<AgvWrkDetl> { - void createWorkDetail(Integer workNo, List<DetlDto> detlDtos, String barcode, Long userId); + //void createWorkDetail(Integer workNo, List<DetlDto> detlDtos, String barcode, Long userId); - List<WrkDetl> selectByWrkNo(Integer wrkNo); + List<AgvWrkDetl> selectByWrkNo(Integer wrkNo); boolean updateAnfme(Double anfme, Integer wrkNo, String matnr, String batch); @@ -25,4 +24,8 @@ boolean updateOrderNo(String orderNo, Integer wrkNo, String matnr, String batch); + boolean updateWrkNo1(Integer wrkNo, String barcode, String matnr, String threeCode); + + boolean deleteByWrkNo(int wrkNo); + } -- Gitblit v1.9.1