From ff946b88fb75736e4adbf6d68727c081fd78633c Mon Sep 17 00:00:00 2001 From: Junjie <xjj@123> Date: 星期五, 11 四月 2025 13:47:18 +0800 Subject: [PATCH] # --- src/main/java/com/zy/common/service/CommonService.java | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/java/com/zy/common/service/CommonService.java b/src/main/java/com/zy/common/service/CommonService.java index c9df23c..008db5a 100644 --- a/src/main/java/com/zy/common/service/CommonService.java +++ b/src/main/java/com/zy/common/service/CommonService.java @@ -124,18 +124,18 @@ throw new CoolException("婧愬簱浣嶄笉瀛樺湪"); } - if (!sourceLocMast.getLocSts().equals("F")) { - throw new CoolException("婧愬簱浣嶄笉澶勪簬鍦ㄥ簱鐘舵��"); - } +// if (!sourceLocMast.getLocSts().equals("F")) { +// throw new CoolException("婧愬簱浣嶄笉澶勪簬鍦ㄥ簱鐘舵��"); +// } LocMast locMast = locMastService.queryByLoc(param.getLocNo()); if (null == locMast) { throw new CoolException("鐩爣搴撲綅涓嶅瓨鍦�"); } - if (!locMast.getLocSts().equals("O")) { - throw new CoolException("鐩爣搴撲綅涓嶅浜庣┖搴撶姸鎬�"); - } +// if (!locMast.getLocSts().equals("O")) { +// throw new CoolException("鐩爣搴撲綅涓嶅浜庣┖搴撶姸鎬�"); +// } // 鑾峰彇宸ヤ綔鍙� int workNo = getWorkNo(WrkIoType.LOC_MOVE.id); @@ -157,13 +157,13 @@ throw new CoolException("淇濆瓨宸ヤ綔妗eけ璐�"); } - sourceLocMast.setLocSts("R"); - sourceLocMast.setModiTime(new Date()); - locMastService.updateById(sourceLocMast); - - locMast.setLocSts("S"); - locMast.setModiTime(new Date()); - locMastService.updateById(locMast); +// sourceLocMast.setLocSts("R"); +// sourceLocMast.setModiTime(new Date()); +// locMastService.updateById(sourceLocMast); +// +// locMast.setLocSts("S"); +// locMast.setModiTime(new Date()); +// locMastService.updateById(locMast); return true; } -- Gitblit v1.9.1