|
|
@ -315,19 +315,6 @@ public class LoanSecondarySalesApplyService extends MybatisBaseService<LoanSecon |
|
|
|
bv.setModelId(loanSecondarySalesApply.getProcDefId()); |
|
|
|
Map<String, Object> variables = new HashMap<>(); |
|
|
|
Map<String, Object> appMap = new HashMap<>(); |
|
|
|
if ("Activity_0rm74ey".equals(bv.getTaskDefKey())) {//风控处置岗审批
|
|
|
|
/* if (StringUtils.isBlank(query.getVehicleEvaluation())) { |
|
|
|
return rb.setMsg("请填写评估价格"); |
|
|
|
}*/ |
|
|
|
LoanSecondarySalesCost loanSecondarySalesCost = loanSecondarySalesCostMapper.selectMainSid(query.getBusinessSid()); |
|
|
|
if (loanSecondarySalesCost != null) { |
|
|
|
if (new BigDecimal(query.getVehicleEvaluation()).compareTo(loanSecondarySalesCost.getVehPrice()) > 0) { |
|
|
|
variables.put("isTrue", true); |
|
|
|
} else { |
|
|
|
variables.put("isTrue", false); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
appMap.put("sid", query.getBusinessSid()); |
|
|
|
variables.put("app", appMap); |
|
|
|
bv.setFormVariables(variables); |
|
|
|