|
|
@@ -178,7 +178,6 @@ public class ErpProdIODetailServiceImpl implements ErpProdIODetailService {
|
|
|
.filter(detail -> code.equals(detail.getOrdercode())).collect(Collectors.toList());
|
|
|
collectOrders(group, details);
|
|
|
}
|
|
|
-
|
|
|
groupList.add(group);
|
|
|
});
|
|
|
erpProdIo.setGroupList(groupList);
|
|
|
@@ -187,6 +186,12 @@ public class ErpProdIODetailServiceImpl implements ErpProdIODetailService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 分组处理数据
|
|
|
+ *
|
|
|
+ * @param group 应收对账明细单据分组
|
|
|
+ * @param details 筛选后的数据
|
|
|
+ */
|
|
|
private void collectOrders(ProductIoGroup group, List<ErpProdIODetail> details) {
|
|
|
for (ErpProdIODetail detail : details) {
|
|
|
if (Constant.NO == detail.getHaveChecked()) {
|