Browse Source

非公司信审判断是否有挂车

zhanglei
fanzongzhe 2 years ago
parent
commit
b44337fa21
  1. 24
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loannoguaranteecreditreview/LoanNoGuaranteeCreditReviewService.java

24
anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loannoguaranteecreditreview/LoanNoGuaranteeCreditReviewService.java

@ -80,6 +80,18 @@ public class LoanNoGuaranteeCreditReviewService extends MybatisBaseService<LoanN
orderSid = busSalesOrder.getSid(); orderSid = busSalesOrder.getSid();
} }
} }
if (StringUtils.isNotBlank(orderSid)) {
LoanSolutions loanSolutions = loanSolutionsService.selectBySaleOrderSid(orderSid);
if (null != loanSolutions) {
if (null != loanSolutions.getTrailerAmount()) {
BigDecimal trailerAmount = loanSolutions.getTrailerAmount();
String money = String.valueOf(trailerAmount);
if (!money.equals("0") || !money.equals("0.00")) {
vo.setIsHavTrailer(true);
}
}
}
}
if (null != entity) { if (null != entity) {
BeanUtil.copyProperties(entity, vo); BeanUtil.copyProperties(entity, vo);
String sid = ""; String sid = "";
@ -99,18 +111,6 @@ public class LoanNoGuaranteeCreditReviewService extends MybatisBaseService<LoanN
// } // }
// } // }
// } // }
if (StringUtils.isNotBlank(orderSid)) {
LoanSolutions loanSolutions = loanSolutionsService.selectBySaleOrderSid(orderSid);
if (null != loanSolutions) {
if (null != loanSolutions.getTrailerAmount()) {
BigDecimal trailerAmount = loanSolutions.getTrailerAmount();
String money = String.valueOf(trailerAmount);
if (!money.equals("0") || !money.equals("0.00")) {
vo.setIsHavTrailer(true);
}
}
}
}
//家访考察结果截图 //家访考察结果截图
List<LoanFile> fileList = loanFileService.selectByLinkSid(sid, LoanFileEnum.HOME_VISIT_FILES.getAttachType()); List<LoanFile> fileList = loanFileService.selectByLinkSid(sid, LoanFileEnum.HOME_VISIT_FILES.getAttachType());
fileList.removeAll(Collections.singleton(null)); fileList.removeAll(Collections.singleton(null));

Loading…
Cancel
Save