md
This commit is contained in:
parent
1b063f63d9
commit
d6a9649405
@ -230,10 +230,11 @@ public class EmisTmsCostFeeServiceImpl implements IEmisTmsCostFeeService
|
||||
|
||||
EmisTmsCostProfit updProfit = new EmisTmsCostProfit();
|
||||
updProfit.setId(emisTmsCostProfit.getId());
|
||||
|
||||
// 获取成本费用
|
||||
double costFee=emisTmsCostFeeRelMapper.getCostFeeByBillCode(billCode);
|
||||
updProfit.setCostFee(BigDecimal.valueOf(costFee));
|
||||
updProfit.setBillProfit(updProfit.getBillFee().subtract(updProfit.getCostFee()));
|
||||
updProfit.setBillProfit(emisTmsCostProfit.getBillFee().subtract(updProfit.getCostFee()));
|
||||
emisTmsCostProfitMapper.updateEmisTmsCostProfit(updProfit);
|
||||
|
||||
log.error("==>费用计算:==>:{}: {}-{}=",billCode,updProfit.getBillFee(),updProfit.getCostFee(),updProfit.getBillProfit());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user