From c913b3a4f1b92925594494e7c13aadf6747a9081 Mon Sep 17 00:00:00 2001 From: Leon <3066758958@qq.com> Date: Fri, 30 Jul 2021 10:09:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BE=E5=B7=A5=E5=8F=91=E5=B8=83=E6=97=A0?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mesnac/dispatch/service/impl/CallItemServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/service/impl/CallItemServiceImpl.java b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/service/impl/CallItemServiceImpl.java index 856b1f63..5b67bb0c 100644 --- a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/service/impl/CallItemServiceImpl.java +++ b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/service/impl/CallItemServiceImpl.java @@ -49,7 +49,7 @@ public class CallItemServiceImpl extends ServiceImpl i //查询叫料组件 List callItemList = callItemMapper.selectDispatchCallItem(sfcDispatchList); if (callItemList == null || callItemList.size() <= 0) { - throw BusinessException.build("发布的派工单没有物料清单组件"); + return; } List list = new ArrayList<>();