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