|
@ -32,6 +32,7 @@ import com.yxt.anrui.base.api.commonappendix.CommonAppendixDto; |
|
|
import com.yxt.anrui.base.api.commonappendix.CommonAppendixFeign; |
|
|
import com.yxt.anrui.base.api.commonappendix.CommonAppendixFeign; |
|
|
import com.yxt.anrui.base.api.commonappendix.CommonAppendixSelectQuery; |
|
|
import com.yxt.anrui.base.api.commonappendix.CommonAppendixSelectQuery; |
|
|
import com.yxt.anrui.base.api.commonappendix.CommonAppendixVo; |
|
|
import com.yxt.anrui.base.api.commonappendix.CommonAppendixVo; |
|
|
|
|
|
import com.yxt.anrui.crm.api.crmcustomertemp.CrmCustomerTempFeign; |
|
|
import com.yxt.anrui.riskcenter.api.loancreditappealapply.LoanCreditAppealApply; |
|
|
import com.yxt.anrui.riskcenter.api.loancreditappealapply.LoanCreditAppealApply; |
|
|
import com.yxt.anrui.riskcenter.api.loanfinpolicy.LoanFinPolicy; |
|
|
import com.yxt.anrui.riskcenter.api.loanfinpolicy.LoanFinPolicy; |
|
|
import com.yxt.anrui.riskcenter.api.loanpreloancreditapply.*; |
|
|
import com.yxt.anrui.riskcenter.api.loanpreloancreditapply.*; |
|
@ -78,6 +79,8 @@ public class LoanPreloanCreditApplyService extends MybatisBaseService<LoanPreloa |
|
|
private LoanSolutionsService loanSolutionsService; |
|
|
private LoanSolutionsService loanSolutionsService; |
|
|
@Autowired |
|
|
@Autowired |
|
|
private LoanFinPolicyService loanFinPolicyService; |
|
|
private LoanFinPolicyService loanFinPolicyService; |
|
|
|
|
|
@Autowired |
|
|
|
|
|
private CrmCustomerTempFeign crmCustomerTempFeign; |
|
|
|
|
|
|
|
|
public PagerVo<LoanPreloanCreditApplyVo> listPageVo(PagerQuery<LoanPreloanCreditApplyQuery> pq) { |
|
|
public PagerVo<LoanPreloanCreditApplyVo> listPageVo(PagerQuery<LoanPreloanCreditApplyQuery> pq) { |
|
|
LoanPreloanCreditApplyQuery query = pq.getParams(); |
|
|
LoanPreloanCreditApplyQuery query = pq.getParams(); |
|
@ -414,6 +417,9 @@ public class LoanPreloanCreditApplyService extends MybatisBaseService<LoanPreloa |
|
|
|
|
|
|
|
|
public ResultBean submitSave(LoanPreloanCreditApplyDto dto) { |
|
|
public ResultBean submitSave(LoanPreloanCreditApplyDto dto) { |
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
|
|
if (StringUtils.isNotBlank(dto.getIdCard())){ |
|
|
|
|
|
crmCustomerTempFeign.updateIdBySid(dto.getIdCard(),dto.getCustSid()); |
|
|
|
|
|
} |
|
|
ResultBean<String> stringResultBean = saveOrUpdateDto(dto); |
|
|
ResultBean<String> stringResultBean = saveOrUpdateDto(dto); |
|
|
if (!stringResultBean.getSuccess()) { |
|
|
if (!stringResultBean.getSuccess()) { |
|
|
return rb.setMsg("保存失败"); |
|
|
return rb.setMsg("保存失败"); |
|
|