|
@ -2,15 +2,13 @@ package com.yxt.anrui.terminal.biz.risk.repaymentplan; |
|
|
|
|
|
|
|
|
import cn.hutool.core.bean.BeanUtil; |
|
|
import cn.hutool.core.bean.BeanUtil; |
|
|
import com.yxt.anrui.riskcenter.api.loanmortgageinformationtransact.*; |
|
|
import com.yxt.anrui.riskcenter.api.loanmortgageinformationtransact.*; |
|
|
import com.yxt.anrui.riskcenter.api.loanrepaymentschedule.AppRepaymentPlanDetailsVo; |
|
|
import com.yxt.anrui.riskcenter.api.loanrepaymentschedule.*; |
|
|
import com.yxt.anrui.riskcenter.api.loanrepaymentschedule.AppRepaymentPlanQuery; |
|
|
|
|
|
import com.yxt.anrui.riskcenter.api.loanrepaymentschedule.AppRepaymentPlanVo; |
|
|
|
|
|
import com.yxt.anrui.riskcenter.api.loanrepaymentschedule.LoanRepaymentScheduleFeign; |
|
|
|
|
|
import com.yxt.anrui.terminal.api.risk.mortgage.AppMortgageInformationTransactDetailsVo; |
|
|
import com.yxt.anrui.terminal.api.risk.mortgage.AppMortgageInformationTransactDetailsVo; |
|
|
import com.yxt.anrui.terminal.api.risk.mortgage.AppMortgageInformationTransactDto; |
|
|
import com.yxt.anrui.terminal.api.risk.mortgage.AppMortgageInformationTransactDto; |
|
|
import com.yxt.anrui.terminal.api.risk.mortgage.AppMortgageInformationTransactQuery; |
|
|
import com.yxt.anrui.terminal.api.risk.mortgage.AppMortgageInformationTransactQuery; |
|
|
import com.yxt.anrui.terminal.api.risk.mortgage.AppMortgageInformationTransactVo; |
|
|
import com.yxt.anrui.terminal.api.risk.mortgage.AppMortgageInformationTransactVo; |
|
|
import com.yxt.anrui.terminal.api.risk.repaymentplan.RepaymentPlanDetailsVo; |
|
|
import com.yxt.anrui.terminal.api.risk.repaymentplan.RepaymentPlanDetailsVo; |
|
|
|
|
|
import com.yxt.anrui.terminal.api.risk.repaymentplan.RepaymentPlanListDetailsVo; |
|
|
import com.yxt.anrui.terminal.api.risk.repaymentplan.RepaymentPlanQuery; |
|
|
import com.yxt.anrui.terminal.api.risk.repaymentplan.RepaymentPlanQuery; |
|
|
import com.yxt.anrui.terminal.api.risk.repaymentplan.RepaymentPlanVo; |
|
|
import com.yxt.anrui.terminal.api.risk.repaymentplan.RepaymentPlanVo; |
|
|
import com.yxt.common.core.query.PagerQuery; |
|
|
import com.yxt.common.core.query.PagerQuery; |
|
@ -19,6 +17,9 @@ import com.yxt.common.core.vo.PagerVo; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Author |
|
|
* @Author |
|
|
* @Date 2023/3/25 9:40 |
|
|
* @Date 2023/3/25 9:40 |
|
@ -54,4 +55,19 @@ public class RepaymentPlanService { |
|
|
} |
|
|
} |
|
|
return rb.success().setData(vo); |
|
|
return rb.success().setData(vo); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public ResultBean<List<RepaymentPlanListDetailsVo>> getRepaymentPlanListByVinNo(String vinNo, String sid) { |
|
|
|
|
|
ResultBean<List<RepaymentPlanListDetailsVo>> rb = ResultBean.fireFail(); |
|
|
|
|
|
List<RepaymentPlanListDetailsVo> vo = new ArrayList<>(); |
|
|
|
|
|
List<AppRepaymentPlanListDetailsVo> data = loanRepaymentScheduleFeign.getRepaymentPlanListByVinNo(vinNo, sid).getData(); |
|
|
|
|
|
if (!data.isEmpty()) { |
|
|
|
|
|
for (AppRepaymentPlanListDetailsVo datum : data) { |
|
|
|
|
|
RepaymentPlanListDetailsVo detailsVo = new RepaymentPlanListDetailsVo(); |
|
|
|
|
|
BeanUtil.copyProperties(datum, detailsVo); |
|
|
|
|
|
vo.add(detailsVo); |
|
|
|
|
|
} |
|
|
|
|
|
return rb.success().setData(vo); |
|
|
|
|
|
} |
|
|
|
|
|
return rb.success().setData(vo); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|