|
|
@@ -1168,9 +1168,11 @@ public class BillsServiceImpl extends ServiceImpl<BillsMapper, Bills> implements
|
|
|
.eq(Bills::getIsDeleted, 0)
|
|
|
.in(Bills::getId, idArr));
|
|
|
for (Bills item : billsList) {
|
|
|
+/*
|
|
|
if (!item.getQuantity().equals(item.getCfsQuantity())) {
|
|
|
throw new RuntimeException("分单号:" + item.getBillNo() + "请先配箱后再操作");
|
|
|
}
|
|
|
+*/
|
|
|
if (ObjectUtils.isNotNull(item.getMasterId()) && item.getMasterId() != 0) {
|
|
|
throw new RuntimeException("分单号:" + item.getBillNo() + "已添加主单,请勿重复添加");
|
|
|
}
|