md
This commit is contained in:
parent
e7e28a440f
commit
9803b59532
@ -662,6 +662,8 @@ public class EmisTmsCostFeeServiceImpl extends EmisBaseService implements IEmisT
|
||||
@Override
|
||||
public int reCalcCostFeeAll(String costNo) throws EmisBizError {
|
||||
|
||||
long start = System.currentTimeMillis();
|
||||
|
||||
List<CostFeeWaybillRel> listBillCodeRel=emisTmsCostFeeMapper.selectCostFeeRelListByCostNo(costNo);
|
||||
if(CollectionUtil.isEmpty(listBillCodeRel)){
|
||||
throw new EmisBizError(EmisBizErrorType.FAIL,"子运单数量为空,请检查");
|
||||
@ -696,6 +698,9 @@ public class EmisTmsCostFeeServiceImpl extends EmisBaseService implements IEmisT
|
||||
mergeCostFeeByBillCode(billCodeItem.getBillCode());
|
||||
}
|
||||
|
||||
long end = System.currentTimeMillis();
|
||||
log.info("==reCalcCostFeeAll==> escape time:" + (end - start) + "ms");
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -1034,8 +1039,7 @@ public class EmisTmsCostFeeServiceImpl extends EmisBaseService implements IEmisT
|
||||
updProfit.setBillProfit(emisTmsCostProfit.getBillFee().subtract(updProfit.getCostFee()));
|
||||
emisTmsCostProfitMapper.updateEmisTmsCostProfit(updProfit);
|
||||
|
||||
log.info("==>费用计算:==>:{}:{}-{}=",mainBillCode+":"+billCode,updProfit.getBillFee(),updProfit.getCostFee(),updProfit.getBillProfit());
|
||||
|
||||
// log.info("==>费用计算:==>:{}:{}-{}={}",mainBillCode+":"+billCode,updProfit.getBillFee(),updProfit.getCostFee(),updProfit.getBillProfit());
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user