Commit 4d94ae60 authored by jiaorz's avatar jiaorz

添加

parent 8bc3f19f
...@@ -135,7 +135,7 @@ public class OrderCalculateBiz { ...@@ -135,7 +135,7 @@ public class OrderCalculateBiz {
//融入日期价格 //融入日期价格
//consumeAmount = orderItem.getUnitPrice().multiply(new BigDecimal(consumeDays+"")); //consumeAmount = orderItem.getUnitPrice().multiply(new BigDecimal(consumeDays+""));
for(int i = offsetDays; i < (offsetDays+ consumeDays); i++) { for(int i = offsetDays; i < (offsetDays+ consumeDays); i++) {
consumeAmount = consumeAmount.add(vmcpds == null ? new BigDecimal(0) : vmcpds.get(i).getConsumeAmount()); consumeAmount = consumeAmount.add(vmcpds == null || vmcpds.size() <=0 ? new BigDecimal(0) : vmcpds.get(i).getConsumeAmount());
} }
if(StrUtil.isNotBlank(baseOrder.getCouponTickerNos())) { if(StrUtil.isNotBlank(baseOrder.getCouponTickerNos())) {
......
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