|
|
@ -212,7 +212,7 @@ public class AftersalesComplaintNoticeServiceImpl implements IAftersalesComplain |
|
|
|
// 记录日志
|
|
|
|
log.warn("未查找到与销售订单关联的物料相关数据, 销售订单号: {}", sysMakeOrder.getSaleNo()); |
|
|
|
} |
|
|
|
int totalQuantity = warehouseOutOrderMapper.sumOutOrderQuantityByMakeNo(makeNo); |
|
|
|
int totalQuantity = (warehouseOutOrderMapper.sumOutOrderQuantityByMakeNo(makeNo)==null?0:warehouseOutOrderMapper.sumOutOrderQuantityByMakeNo(makeNo)); |
|
|
|
for (SysSalesOrderChild salesOrderChild : sysSalesOrderChildList) { |
|
|
|
AftersalesMaterialVO aftersalesMaterialVO = new AftersalesMaterialVO(); |
|
|
|
aftersalesMaterialVO.setMaterialNo(salesOrderChild.getMaterialCode()); |
|
|
|