Commit 40c6a9b2 authored by 周健威's avatar 周健威

修改代码

parent 7e8b2751
...@@ -131,7 +131,7 @@ public class VehicleItemDTO extends OrderItem { ...@@ -131,7 +131,7 @@ public class VehicleItemDTO extends OrderItem {
} }
BigDecimal freeAmount = BigDecimal.ZERO; BigDecimal freeAmount = BigDecimal.ZERO;
if(null == offsetDay) { if(null != offsetDay) {
for(int i = 0; i < offsetDay; i++) { for(int i = 0; i < offsetDay; i++) {
freeAmount.add(vmcpds.get(i).getFreeAmount()); freeAmount.add(vmcpds.get(i).getFreeAmount());
} }
......
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