From 528a02ca7355da932a3768da93487d44a994a7e2 Mon Sep 17 00:00:00 2001 From: Junjie <540245094@qq.com> Date: 星期一, 24 六月 2024 08:22:38 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java index 5abd58d..3042627 100644 --- a/src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java @@ -73,8 +73,7 @@ 鍏ュ簱 */ @Transactional - @Synchronized - public StartupDto createWaitPainWrkMastStart(List<AgvBasDevp> agvBasDevpList, Long userId, boolean isConveyor) { + public synchronized StartupDto createWaitPainWrkMastStart(List<AgvBasDevp> agvBasDevpList, Long userId, boolean isConveyor) { Date now = new Date(); @@ -407,6 +406,7 @@ adjDetl.setBatch(locDetl.getBatch()); adjDetl.setOriQty(locDetl.getAnfme()); adjDetl.setAdjQty(adjust.getCount()); + adjDetl.setMemo(locDetl.getSuppCode()); adjDetl.setModiTime(now); adjDetl.setModiUser(userId); adjDetl.setAppeTime(now); @@ -603,6 +603,9 @@ if (Cools.isEmpty(agvWrkMast)){ throw new CoolException(workNo+"宸ヤ綔妗d笉瀛樺湪"); } + if (agvWrkMast.getIoType() == 1 || agvWrkMast.getIoType() == 53){ + throw new CoolException(workNo+"鍏ュ簱浠诲姟鏃犳硶杞嚭搴�"); + } agvWrkMast.setIoType(101); agvWrkMast.setWrkSts(206L); -- Gitblit v1.9.1