no message
This commit is contained in:
parent
05ac0b5acb
commit
60c02a28ed
|
|
@ -1190,15 +1190,19 @@ public class OrderMasterController extends BaseController {
|
||||||
param.setOrderDetailId(orderDetail.getId());
|
param.setOrderDetailId(orderDetail.getId());
|
||||||
List<OrderAttachmentRecord> orderAttachmentRecordList = orderAttachmentRecordService.selectOrderAttachmentRecordList(param);
|
List<OrderAttachmentRecord> orderAttachmentRecordList = orderAttachmentRecordService.selectOrderAttachmentRecordList(param);
|
||||||
BigDecimal addMoneyTotal= BigDecimal.ZERO;
|
BigDecimal addMoneyTotal= BigDecimal.ZERO;
|
||||||
|
String remark=null;
|
||||||
for (FinancialChangeRecord financialChangeRecord:financialChangeRecords){
|
for (FinancialChangeRecord financialChangeRecord:financialChangeRecords){
|
||||||
addMoneyTotal= addMoneyTotal.add(financialChangeRecord.getChangeMoney());
|
addMoneyTotal= addMoneyTotal.add(financialChangeRecord.getChangeMoney());
|
||||||
|
if (StringUtils.isNotEmpty(financialChangeRecord.getRemark())){
|
||||||
|
remark= financialChangeRecord.getRemark();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
for (OrderAttachmentRecord orderAttachmentRecord:orderAttachmentRecordList){
|
for (OrderAttachmentRecord orderAttachmentRecord:orderAttachmentRecordList){
|
||||||
addMoneyTotal= addMoneyTotal.add(orderAttachmentRecord.getAttachMoney());
|
addMoneyTotal= addMoneyTotal.add(orderAttachmentRecord.getAttachMoney());
|
||||||
}
|
}
|
||||||
|
|
||||||
OrderStandardDetail orderStandardDetail = new OrderStandardDetail();
|
OrderStandardDetail orderStandardDetail = new OrderStandardDetail();
|
||||||
|
orderStandardDetail.setRemark(remark);
|
||||||
orderStandardDetail.setAddMoney(addMoneyTotal);
|
orderStandardDetail.setAddMoney(addMoneyTotal);
|
||||||
orderStandardDetail.setOrderDetailId(orderDetail.getId());
|
orderStandardDetail.setOrderDetailId(orderDetail.getId());
|
||||||
orderStandardDetail.setOrderDetailCode(orderDetail.getCode());
|
orderStandardDetail.setOrderDetailCode(orderDetail.getCode());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue