From 39823cc541903490dbfa93fd68a629b90f5aafb2 Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期一, 22 一月 2024 17:32:01 +0800 Subject: [PATCH] Merge branch 'tzskasrs-1' of http://47.97.1.152:5880/r/zy-asrs into tzskasrs-1 --- src/main/java/com/zy/common/web/WcsController.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/common/web/WcsController.java b/src/main/java/com/zy/common/web/WcsController.java index d0bb461..574f05e 100644 --- a/src/main/java/com/zy/common/web/WcsController.java +++ b/src/main/java/com/zy/common/web/WcsController.java @@ -497,6 +497,12 @@ } } + //妫�鏌ョ洰鏍囧簱浣嶏紝搴撳瓨鏄庣粏鏄惁娣诲姞鎴愬姛 + List<LocDetl> checkLocDetls = locDetlService.selectByLocNo(dto.getLocNo()); + if (checkLocDetls.isEmpty()) { + throw new CoolException("搴撳瓨鏄庣粏杩佺Щ澶辫触"); + } + // //娓呯┖婧愬簱浣嶆暟鎹� LocMast locMast1 = locMastService.selectByLoc(wrkMast.getSourceLocNo()); // if (locMast1.getLocSts().equals("P")) { -- Gitblit v1.9.1