|
|
@ -1221,7 +1221,9 @@ public class LoanSolutionsService extends MybatisBaseService<LoanSolutionsMapper |
|
|
|
LoanSolutions loanSolutions = baseMapper.selectByBusSid(busSid); |
|
|
|
boolean isOrder = false; |
|
|
|
BigDecimal orderPrice = BigDecimal.ZERO; |
|
|
|
if(loanSolutions != null && loanSolutions.getSaleOrderState() == 0){//销售订单
|
|
|
|
if(loanSolutions != null){//销售订单
|
|
|
|
BusSalesOrder busSalesOrder = baseMapper.seletByBusSids(busSid); |
|
|
|
if(busSalesOrder != null){ |
|
|
|
isOrder = true; |
|
|
|
BusSalesOrderPrice busSalesOrderPrice = baseMapper.selectByPriceSid(busSid); |
|
|
|
if(busSalesOrderPrice == null){ |
|
|
@ -1229,6 +1231,7 @@ public class LoanSolutionsService extends MybatisBaseService<LoanSolutionsMapper |
|
|
|
} |
|
|
|
orderPrice = busSalesOrderPrice.getSingleFinalPrice(); |
|
|
|
} |
|
|
|
} |
|
|
|
CalculateVo calculateVo = new CalculateVo(); |
|
|
|
//计算的初始化
|
|
|
|
BigDecimal loanTotal = BigDecimal.ZERO;//融资项目总额
|
|
|
|