Commit 4a6b589d authored by 周健威's avatar 周健威

修改代码

parent bf70fadb
......@@ -93,7 +93,7 @@ public class CancelStartedVO extends CostDetailExtend {
for(VMCalendarPriceCostDTO vmcpcd : useAmountList) {
if(null == tempUnitPrice) {
tempUnitPrice = vmcpcd.getPrice();
}else if(tempUnitPrice.equals(vmcpcd.getPrice())) {
}else if(!tempUnitPrice.equals(vmcpcd.getPrice())) {
return 0;
}
}
......
......@@ -239,6 +239,7 @@ public class OrderCalculateBiz {
//超过的天数 价格 * 200%
inProgressVO.setViolateAmount(overAmount);
inProgressVO.setViolateDesc(" 延期还车违约金:"+ violateDesc);
inProgressVO.setOverAmountList(overAmountList);
OrderAccountDeduction violateDeduction = orderAccountBiz.initDeduction(inProgressVO.getViolateAmount(), violateDesc, DeductionTypeEnum.VIOLATE_DELAY, OrderAccountDeduction.ORIGIN_DEPOSIT);
oad.getDeductions().add(violateDeduction);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment