|
|
@ -204,8 +204,8 @@ public class LoanCapitalCreditResultService extends MybatisBaseService<LoanCapit |
|
|
|
for (LoanCapitalCreditResultVo record : pagging.getRecords()) { |
|
|
|
BusSalesOrder busSalesOrder = busSalesOrderFeign.selectOrderByContractNo(record.getContractNo()).getData(); |
|
|
|
LoanSolutions loanSolutions = loanSolutionsService.selectBySaleOrderSid(busSalesOrder.getSid()); |
|
|
|
if (loanSolutions != null){ |
|
|
|
if (loanSolutions.getTrailerAmount().compareTo(BigDecimal.ZERO) == 1){ |
|
|
|
if (loanSolutions != null) { |
|
|
|
if (loanSolutions.getTrailerAmount().compareTo(BigDecimal.ZERO) == 1) { |
|
|
|
record.setIsHavTrailer(true); |
|
|
|
} |
|
|
|
} |
|
|
@ -225,7 +225,7 @@ public class LoanCapitalCreditResultService extends MybatisBaseService<LoanCapit |
|
|
|
if (loanHomevisitInvestigateFileDetailsVos == null || loanHomevisitInvestigateFileDetailsVos.size() == 0) { |
|
|
|
return rb.setMsg("请上传附件"); |
|
|
|
} |
|
|
|
baseMapper.updateStateAndDateResult(dtoSid, dto.getCapCarefulDate(), dto.getCapCarefulResult()); |
|
|
|
baseMapper.updateStateAndDateResult(dtoSid, dto.getCapCarefulDate(), dto.getCapCarefulResult(), dto.getIsCompInvoic()); |
|
|
|
busSalesOrderLoancontractFeign.updateBankConAndBusNo(dto.getLoanContractSid(), dto.getBankContractNo()); |
|
|
|
LoanCapitalCreditResult loanCapitalCreditResult = fetchBySid(dtoSid); |
|
|
|
//推送放款资料审核
|
|
|
@ -369,4 +369,28 @@ public class LoanCapitalCreditResultService extends MybatisBaseService<LoanCapit |
|
|
|
} |
|
|
|
return rb.success().setData(xsfjImages); |
|
|
|
} |
|
|
|
|
|
|
|
public ResultBean rePush(String sid) { |
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
LoanCapitalCreditResult loanCapitalCreditResult = fetchBySid(sid); |
|
|
|
if (null != loanCapitalCreditResult) { |
|
|
|
LoanOtherReceivablePush loanOtherReceivablePush = new LoanOtherReceivablePush(); |
|
|
|
BusSalesOrderLoancontractDetailsVo loancontractDetailsVo = busSalesOrderLoancontractFeign.fetchDetailsBySid(loanCapitalCreditResult.getLoanContractSid()).getData(); |
|
|
|
loanOtherReceivablePush.setSaleOrderSid(loanCapitalCreditResult.getSaleOrderSid()); |
|
|
|
loanOtherReceivablePush.setLoanContractSid(loanCapitalCreditResult.getLoanContractSid()); |
|
|
|
if (loancontractDetailsVo != null) { |
|
|
|
loanOtherReceivablePush.setBorrowerSid(loancontractDetailsVo.getBorrowerSid()); |
|
|
|
} |
|
|
|
String isKP = ""; |
|
|
|
if (StringUtils.isNotBlank(loanCapitalCreditResult.getIsCompInvoic())) { |
|
|
|
isKP = loanCapitalCreditResult.getIsCompInvoic(); |
|
|
|
} else { |
|
|
|
isKP = "0"; |
|
|
|
} |
|
|
|
loanOtherReceivablePush.setIsCompInvoic(isKP); |
|
|
|
//资方信审终审通过后推送财务的融资放款及金融方案中各项费用其他应收单
|
|
|
|
ResultBean pushOtherReceivable = busSalesOrderLoancontractFeign.pushOtherReceivable(loanOtherReceivablePush); |
|
|
|
} |
|
|
|
return rb.success(); |
|
|
|
} |
|
|
|
} |