From fb3519e760382ceb0b0844c4acd70fd91892bc26 Mon Sep 17 00:00:00 2001 From: whycq <123456> Date: 星期二, 01 十一月 2022 09:44:21 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java b/src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java index ec8c777..29c66b1 100644 --- a/src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java +++ b/src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java @@ -127,6 +127,7 @@ if (locMast.getLocSts().equals("S")) { locMast.setLocSts("F"); locMast.setBarcode(wrkMast.getBarcode()); + locMast.setFrozen(wrkMast.getFrozen()); locMast.setIoTime(now); locMast.setModiTime(now); if (!locMastService.updateById(locMast)) { @@ -254,7 +255,7 @@ break; } // 淇敼宸ヤ綔涓绘。鐘舵�� - wrkMast.setWrkSts(5L); + wrkMast.setWrkSts(10L); wrkMast.setModiTime(now); if (!wrkMastService.updateById(wrkMast)) { exceptionHandle("鏇存柊鍏ュ簱瀹屾垚鐘舵�佸け璐�;[workNo={0}]", wrkMast.getWrkNo()); @@ -280,9 +281,9 @@ // 鍏ㄦ澘鍑哄簱 case 101: // 鍑哄簱纭淇″彿浣� - if (Cools.isEmpty(wrkMast.getInvWh()) || wrkMast.getInvWh().equals("N")) { - return SUCCESS; - } +// if (Cools.isEmpty(wrkMast.getInvWh()) || wrkMast.getInvWh().equals("N")) { +// return SUCCESS; +// } // 鏍规嵁宸ヤ綔鍙凤紝鏌ヨ宸ヤ綔鏄庣粏妗� List<WrkDetl> wrkDetls101 = wrkDetlService.selectList(new EntityWrapper<WrkDetl>().eq("wrk_no", wrkMast.getWrkNo())); if (wrkDetls101.isEmpty()) { @@ -299,6 +300,7 @@ if (locMast.getLocSts().equals("R")) { locMast.setLocSts("O"); locMast.setBarcode(""); + locMast.setFrozen(0); locMast.setModiTime(now); locMast.setIoTime(now); if (!locMastService.updateById(locMast)) { @@ -323,7 +325,7 @@ break; } // 淇敼宸ヤ綔涓绘。鐘舵�� - wrkMast.setWrkSts(15L); + wrkMast.setWrkSts(18L); wrkMast.setModiTime(now); if (!wrkMastService.updateById(wrkMast)) { exceptionHandle("鏇存柊鍑哄簱瀹屾垚鐘舵�佸け璐�;[workNo={0}]", wrkMast.getWrkNo()); -- Gitblit v1.9.1