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<>();