From 0149b1e8a3eadee6050bfe46cf3705834a8abb8f Mon Sep 17 00:00:00 2001 From: lsh <lsh@163.com> Date: 星期三, 25 十二月 2024 14:53:20 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java index e5ba7e8..b65977e 100644 --- a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java @@ -876,16 +876,16 @@ throw new CoolException("鍙傛暟锛氱墿鏂欐槑缁� matLists涓虹┖"); } -// if (Cools.isEmpty(param.getBarcode())){ -// throw new CoolException("鍙傛暟锛氭墭鐩樼爜 barcode涓虹┖"); -// } -// WrkMast wrkMastMatrix = wrkMastService.selectByBarcode(param.getBarcode()); -// if (Cools.isEmpty(wrkMastMatrix)){ -// throw new CoolException("鍙傛暟锛氭墭鐩樼爜鏌ヨ宸ヤ綔妗eけ璐ワ細"+param.getBarcode()); -// } -// if (!wrkMastMatrix.getSheetNo().equals("1")){ -// throw new CoolException("鍙傛暟锛氭浠诲姟鏈笂鎶ョ姝㈠畬鎴愶細"+param.getBarcode()); -// } + if (Cools.isEmpty(param.getBarcode())){ + throw new CoolException("鍙傛暟锛氭墭鐩樼爜 barcode涓虹┖"); + } + WrkMast wrkMastMatrix = wrkMastService.selectByBarcode(param.getBarcode()); + if (Cools.isEmpty(wrkMastMatrix)){ + throw new CoolException("鍙傛暟锛氭墭鐩樼爜鏌ヨ宸ヤ綔妗eけ璐ワ細"+param.getBarcode()); + } + if (!wrkMastMatrix.getSheetNo().equals("1")){ + throw new CoolException("鍙傛暟锛氭浠诲姟鏈笂鎶ョ姝㈠畬鎴愶細"+param.getBarcode()); + } ArrayList<WrkDetl> wrkDetlsNew = new ArrayList<>(); ArrayList<WrkDetlSingle> wrkDetlsOld = new ArrayList<>(); -- Gitblit v1.9.1