From 5be1b24770e378900c606b428c5f28a8427afb88 Mon Sep 17 00:00:00 2001 From: Administrator <56479841@QQ.COM> Date: 星期二, 06 六月 2023 15:26:03 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java index 665ea8a..e859f7c 100644 --- a/src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java @@ -151,15 +151,15 @@ waitPakin.setFrozen(param.getFrozen()); // 鏄惁鍐荤粨 waitPakin.setManu(detlDto.getCstmr()); waitPakin.setMatType(mat.getMatType());//鐗╂枡绫诲瀷 - if (Cools.isEmpty(mat.getMatType())){ - throw new CoolException("鐗╂枡绫诲瀷寮傚父"+mat.getMatnr()); - }else { - if (matType == 0){ - matType = mat.getMatType(); - }else if (matType!=mat.getMatType()){ - throw new CoolException("璇风粍鎵樺悓涓�绫诲瀷鐨勭墿鏂�"); - } - } +// if (Cools.isEmpty(mat.getMatType())){ +// throw new CoolException("鐗╂枡绫诲瀷寮傚父"+mat.getMatnr()); +// }else { +// if (matType == 0){ +// matType = mat.getMatType(); +// }else if (matType!=mat.getMatType()){ +// throw new CoolException("璇风粍鎵樺悓涓�绫诲瀷鐨勭墿鏂�"); +// } +// } if (!waitPakinService.insert(waitPakin)) { throw new CoolException("淇濆瓨鍏ュ簱閫氱煡妗eけ璐�"); } @@ -211,15 +211,15 @@ waitPakin.setModiUser(userId); waitPakin.setModiTime(now); waitPakin.setMatType(mat.getMatType());//鐗╂枡绫诲瀷 - if (Cools.isEmpty(mat.getMatType())){ - throw new CoolException("鐗╂枡绫诲瀷寮傚父"+mat.getMatnr()); - }else { - if (matType == 0){ - matType = mat.getMatType(); - }else if (matType!=mat.getMatType()){ - throw new CoolException("璇风粍鎵樺悓涓�绫诲瀷鐨勭墿鏂�"); - } - } +// if (Cools.isEmpty(mat.getMatType())){ +// throw new CoolException("鐗╂枡绫诲瀷寮傚父"+mat.getMatnr()); +// }else { +// if (matType == 0){ +// matType = mat.getMatType(); +// }else if (matType!=mat.getMatType()){ +// throw new CoolException("璇风粍鎵樺悓涓�绫诲瀷鐨勭墿鏂�"); +// } +// } if (!waitPakinService.insert(waitPakin)) { throw new CoolException("淇濆瓨鍏ュ簱閫氱煡妗eけ璐�"); } -- Gitblit v1.9.1