no message

This commit is contained in:
cb 2025-05-13 09:51:25 +08:00
parent 05ac0b5acb
commit 60c02a28ed
1 changed files with 5 additions and 1 deletions

View File

@ -1190,15 +1190,19 @@ public class OrderMasterController extends BaseController {
param.setOrderDetailId(orderDetail.getId());
List<OrderAttachmentRecord> orderAttachmentRecordList = orderAttachmentRecordService.selectOrderAttachmentRecordList(param);
BigDecimal addMoneyTotal= BigDecimal.ZERO;
String remark=null;
for (FinancialChangeRecord financialChangeRecord:financialChangeRecords){
addMoneyTotal= addMoneyTotal.add(financialChangeRecord.getChangeMoney());
if (StringUtils.isNotEmpty(financialChangeRecord.getRemark())){
remark= financialChangeRecord.getRemark();
}
}
for (OrderAttachmentRecord orderAttachmentRecord:orderAttachmentRecordList){
addMoneyTotal= addMoneyTotal.add(orderAttachmentRecord.getAttachMoney());
}
OrderStandardDetail orderStandardDetail = new OrderStandardDetail();
orderStandardDetail.setRemark(remark);
orderStandardDetail.setAddMoney(addMoneyTotal);
orderStandardDetail.setOrderDetailId(orderDetail.getId());
orderStandardDetail.setOrderDetailCode(orderDetail.getCode());