|
@@ -293,6 +293,7 @@ public class SalesOrderServiceImpl extends ServiceImpl<SalesOrderMapper, SalesOr
|
|
|
orderListInfoDto.setActualAmount(salesOrder.getAmount());
|
|
|
}
|
|
|
orderListInfoDto.setId(salesOrderReceiveExtendDto.getSalesOrderId());
|
|
|
+ list.add(orderListInfoDto);
|
|
|
}
|
|
|
return list;
|
|
|
}
|
|
@@ -324,6 +325,7 @@ public class SalesOrderServiceImpl extends ServiceImpl<SalesOrderMapper, SalesOr
|
|
|
orderReceivePaymentAssociation.setGoodsCurrency(orderListInfoDto.getCurrency());
|
|
|
orderReceivePaymentAssociation.setRemark(orderListInfoDto.getRemark());
|
|
|
orderReceivePaymentAssociation.setBusinessBatchNumber(businessBatchNumber);
|
|
|
+ orderReceivePaymentAssociation.setStatus("1");
|
|
|
orderReceivePaymentAssociationService.save(orderReceivePaymentAssociation);
|
|
|
actualReceivedAmount = actualReceivedAmount.add(orderListInfoDto.getActualAmount());
|
|
|
}
|
|
@@ -405,6 +407,13 @@ public class SalesOrderServiceImpl extends ServiceImpl<SalesOrderMapper, SalesOr
|
|
|
}
|
|
|
updateSalesOrderAndGoodsStatus(salesOrderReceiveExtendDto, orderStatus, goodsStatus, flag);
|
|
|
}
|
|
|
+ OrderReceivePaymentAssociation orderReceivePaymentAssociation = orderReceivePaymentAssociationService
|
|
|
+ .queryByBusinessBatchNumberAndOrderId(e.getBusinessBatchNumber(),
|
|
|
+ salesOrderReceiveExtendDto.getSalesOrderId());
|
|
|
+ if (orderReceivePaymentAssociation != null) {
|
|
|
+ orderReceivePaymentAssociation.setStatus("2");
|
|
|
+ orderReceivePaymentAssociationService.updateById(orderReceivePaymentAssociation);
|
|
|
+ }
|
|
|
}
|
|
|
orderIncomeAssociation.setOrderInfo(JSON.toJSONString(e.getSalesOrderInfo()));
|
|
|
Long billingIncomeId;
|