|
|
@ -56,6 +56,7 @@ import com.yxt.anrui.portal.api.sysuser.SysUserFeign; |
|
|
|
import com.yxt.anrui.riskcenter.api.loanfinbank.LoanFinBank; |
|
|
|
import com.yxt.anrui.riskcenter.api.loanfinpolicy.LoanFinPolicy; |
|
|
|
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigate; |
|
|
|
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateDetailsVo; |
|
|
|
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatecustomer.LoanHomeVisitInvestigateInitCustomerVo; |
|
|
|
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatecustomer.LoanHomevisitInvestigateCustomerDetailsVo; |
|
|
|
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatefile.LoanAttachTypeEnum; |
|
|
@ -494,7 +495,12 @@ public class LoanHomevisitPrepService extends MybatisBaseService<LoanHomevisitPr |
|
|
|
urlAll = typeName; |
|
|
|
} |
|
|
|
if (StringUtils.isNotBlank(urlAll)) { |
|
|
|
loanHomevisitInvestigateCustomerService.updateContractUrl(sid,urlAll); |
|
|
|
LoanHomevisitInvestigateDetailsVo loanHomevisitInvestigateDetailsVo = loanHomevisitInvestigateService.selectByPrepSid(sid); |
|
|
|
if (loanHomevisitInvestigateDetailsVo != null){ |
|
|
|
loanHomevisitInvestigateCustomerService.updateContractUrl(loanHomevisitInvestigateDetailsVo.getSid(),urlAll); |
|
|
|
}else { |
|
|
|
loanHomevisitInvestigateCustomerService.updateContractUrl(sid,urlAll); |
|
|
|
} |
|
|
|
urlAllVo = docPdfComponent.getPrefixTemplateUrl() + urlAll; |
|
|
|
} |
|
|
|
return rb.success().setData(urlAllVo); |
|
|
|