@@ -89,6 +89,10 @@ public class InventoryServiceImpl extends ServiceImpl<InventoryMapper, Inventory
@Override
public void in(Long departmentId, Long warehouseId, List<? extends InOutFun> list) {
+ if (list.isEmpty()) {
+ return;
+ }
+
List<Long> bomSpecIdList = list.stream().map(InOutFun::getBomSpecId).collect(Collectors.toList());
synchronized (this) {