bug修复

This commit is contained in:
15856 2024-04-16 10:37:42 +08:00
parent c93b3fa75a
commit 3dcca77cf0
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}