bug修复
This commit is contained in:
parent
c93b3fa75a
commit
3dcca77cf0
|
|
@ -257,13 +257,13 @@ public class SltAgreementInfoServiceImpl implements SltAgreementInfoService {
|
|||
BigDecimal num = new BigDecimal(bean.getNum());
|
||||
BigDecimal costs = buyPrice.multiply(num);
|
||||
//计算租赁费用
|
||||
/* BigDecimal costs = BigDecimal.ZERO;
|
||||
/*BigDecimal costs = BigDecimal.ZERO;
|
||||
if (bean.getBuyPrice() != null && bean.getNum() != null){
|
||||
BigDecimal buyPrice = new BigDecimal(bean.getBuyPrice());
|
||||
BigDecimal num = new BigDecimal(bean.getNum());
|
||||
costs = buyPrice.multiply(num);
|
||||
}
|
||||
bean.setCosts(String.valueOf(costs));*/
|
||||
}*/
|
||||
bean.setCosts(String.valueOf(costs));
|
||||
}
|
||||
return loseList;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue