no message
This commit is contained in:
parent
05ac0b5acb
commit
60c02a28ed
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue