修改子单的服务金额
This commit is contained in:
parent
964d1cb519
commit
cb16333e61
|
|
@ -610,7 +610,7 @@ public class OrderDetailController extends BaseController {
|
||||||
}
|
}
|
||||||
// 上门师傅应得加价的报酬
|
// 上门师傅应得加价的报酬
|
||||||
BigDecimal workerFee = totalAdd.subtract(platformFee).subtract(masterFee).subtract(customerFee);
|
BigDecimal workerFee = totalAdd.subtract(platformFee).subtract(masterFee).subtract(customerFee);
|
||||||
orderListResponse.setPayAddMoney(orderListResponse.getPayMoney().add(workerFee));
|
orderListResponse.setPayAddMoney(orderListResponse.getPayMoney());
|
||||||
}
|
}
|
||||||
|
|
||||||
return AjaxResult.success(orderListResponse);
|
return AjaxResult.success(orderListResponse);
|
||||||
|
|
|
||||||
|
|
@ -1200,13 +1200,10 @@ public class OrderMasterController extends BaseController {
|
||||||
param1.setFinancialChangeRecordId(financialChangeRecord.getId());
|
param1.setFinancialChangeRecordId(financialChangeRecord.getId());
|
||||||
BigDecimal attachmentMoney= BigDecimal.ZERO;
|
BigDecimal attachmentMoney= BigDecimal.ZERO;
|
||||||
List<OrderAttachmentRecord> orderAttachmentRecords=orderAttachmentRecordService.selectOrderAttachmentRecordList(param1);
|
List<OrderAttachmentRecord> orderAttachmentRecords=orderAttachmentRecordService.selectOrderAttachmentRecordList(param1);
|
||||||
logger.info("参数传递{},配件的金额查询为{}",orderAttachmentRecords,param1);
|
|
||||||
if(orderAttachmentRecords!=null&&orderAttachmentRecords.size()>0){
|
if(orderAttachmentRecords!=null&&orderAttachmentRecords.size()>0){
|
||||||
logger.info("参数传递{},配件的金额查询为{}",param1,orderAttachmentRecords.get(0));
|
|
||||||
logger.info("配件金额为{}",orderAttachmentRecords.get(0).getAttachMoney());
|
logger.info("配件金额为{}",orderAttachmentRecords.get(0).getAttachMoney());
|
||||||
attachmentMoney= attachmentMoney.add(orderAttachmentRecords.get(0).getAttachMoney());
|
attachmentMoney= attachmentMoney.add(orderAttachmentRecords.get(0).getAttachMoney());
|
||||||
financialChangeRecord.setAttachmentMoney(attachmentMoney);
|
financialChangeRecord.setAttachmentMoney(attachmentMoney);
|
||||||
logger.info("配件的金为{}",attachmentMoney);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (OrderAttachmentRecord orderAttachmentRecord:orderAttachmentRecordList){
|
for (OrderAttachmentRecord orderAttachmentRecord:orderAttachmentRecordList){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue