
28 changed files with 1438 additions and 8 deletions
@ -0,0 +1,73 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.terminal.api.risk.becollection; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(催收措施申请) <br/> |
||||
|
* File: LoanBeCollectionApplyVo.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.api.loanbecollectionapply.LoanBeCollectionApplyVo <br/> |
||||
|
* Description: 逾期催收申请 视图数据对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-12 16:06:20 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "逾期催收申请 视图数据详情", description = "逾期催收申请 视图数据详情") |
||||
|
public class AppBeCollectionApplyDetailsVo implements Vo { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("申请部门-申请人") |
||||
|
private String publishInfo; |
||||
|
@ApiModelProperty("申请日期") |
||||
|
private String time; |
||||
|
@ApiModelProperty("措施") |
||||
|
private String collMeasures; |
||||
|
@ApiModelProperty("备注") |
||||
|
private String remarks; |
||||
|
@ApiModelProperty("附件") |
||||
|
private List<String> files = new ArrayList<>(); |
||||
|
@ApiModelProperty("任务id") |
||||
|
private String taskId; |
||||
|
@ApiModelProperty("流程实例的sid") |
||||
|
private String procInsId; |
||||
|
|
||||
|
@ApiModelProperty("逾期车辆列表") |
||||
|
private List<AppBeCollectionVehDetailsVo> records; |
||||
|
} |
@ -0,0 +1,104 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.terminal.api.risk.becollection; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(逾期催收记录) <br/> |
||||
|
* File: LoanBeCollectionRecordDto.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.api.loanbecollectionrecord.LoanBeCollectionRecordDto <br/> |
||||
|
* Description: 逾期催收记录 数据传输对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-11 13:45:40 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "逾期催收记录 数据传输对象", description = "逾期催收记录 数据传输对象") |
||||
|
public class AppBeCollectionRecordDto implements Dto { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("备注") |
||||
|
private String remarks; // 备注
|
||||
|
@ApiModelProperty("创建人sid") |
||||
|
private String createBySid; // 创建人sid
|
||||
|
@ApiModelProperty("创建人") |
||||
|
private String createByName; // 创建人
|
||||
|
@ApiModelProperty("催收方式key") |
||||
|
private String collectionTypeKey; // 催收方式key
|
||||
|
@ApiModelProperty("催收方式value") |
||||
|
private String collectionTypeValue; // 催收方式value
|
||||
|
@ApiModelProperty("定位坐标") |
||||
|
private String location; // 定位坐标
|
||||
|
@ApiModelProperty("定位具体位置") |
||||
|
private String locationStr; // 定位具体位置
|
||||
|
@ApiModelProperty("催收结果key") |
||||
|
private String collectionResultKey; // 催收结果key
|
||||
|
@ApiModelProperty("催收结果value") |
||||
|
private String collectionResultValue; // 催收结果value
|
||||
|
@ApiModelProperty("联系人key") |
||||
|
private String contactsKey; // 联系人key
|
||||
|
@ApiModelProperty("联系人value") |
||||
|
private String contactsValue; // 联系人value
|
||||
|
@ApiModelProperty("逾期原因") |
||||
|
private String beReason; // 逾期原因
|
||||
|
@ApiModelProperty("是否正常运营key") |
||||
|
private String isNormalOperKey; // 是否正常运营key
|
||||
|
@ApiModelProperty("是否正常运营value") |
||||
|
private String isNormalOperValue; // 是否正常运营value
|
||||
|
@ApiModelProperty("承诺还款日期") |
||||
|
private String promRepayDate; // 承诺还款日期
|
||||
|
@ApiModelProperty("承诺还款金额") |
||||
|
private String promRepayMoney; // 承诺还款金额
|
||||
|
@ApiModelProperty("预处理措施key") |
||||
|
private String taskHandMeasuresKey; // 预处理措施key
|
||||
|
@ApiModelProperty("预处理措施value") |
||||
|
private String taskHandMeasuresValue; // 预处理措施value
|
||||
|
@ApiModelProperty("销售订单车辆sid") |
||||
|
private String saleVehSid; // 销售订单车辆sid
|
||||
|
@ApiModelProperty("分公司sid") |
||||
|
private String useOrgSid; // 分公司sid
|
||||
|
@ApiModelProperty("分公司名称") |
||||
|
private String useOrgName; // 分公司名称
|
||||
|
@ApiModelProperty("组织全路径") |
||||
|
private String orgPath; // 组织全路径
|
||||
|
@ApiModelProperty("销售订单车辆sid") |
||||
|
private List<String> saleVehSids; // 销售订单车辆sid
|
||||
|
@ApiModelProperty("催收附件") |
||||
|
private List<String> loanBeCollectionRecordFileList = new ArrayList<>(); // 催收附件
|
||||
|
} |
@ -0,0 +1,21 @@ |
|||||
|
package com.yxt.anrui.terminal.api.risk.becollection; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class AppBeCollectionRecordInit { |
||||
|
|
||||
|
@ApiModelProperty("贷款人名称") |
||||
|
private String borrowerName; |
||||
|
@ApiModelProperty("贷款人联系电话") |
||||
|
private String borrowerMobile; |
||||
|
@ApiModelProperty("贷款人配偶姓名") |
||||
|
private String spouseName; |
||||
|
@ApiModelProperty("贷款人配偶联系电话") |
||||
|
private String spouseMobile; |
||||
|
@ApiModelProperty("逾期车辆列表") |
||||
|
private List<AppBeCollectionRecordVehInit> appBeCollectionRecordVehInitList; |
||||
|
} |
@ -0,0 +1,44 @@ |
|||||
|
package com.yxt.anrui.terminal.api.risk.becollection; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.Date; |
||||
|
|
||||
|
@Data |
||||
|
public class AppBeCollectionRecordVehInit { |
||||
|
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vinNo; |
||||
|
@ApiModelProperty("车牌号") |
||||
|
private String carNum; |
||||
|
@ApiModelProperty("客户及电话") |
||||
|
private String custNameAndPhone; |
||||
|
@ApiModelProperty("实际还款人及电话") |
||||
|
private String reaRepaymentNameAndPhone; |
||||
|
@ApiModelProperty("贷款合同编号") |
||||
|
private String loanContractNo; |
||||
|
@ApiModelProperty("资方") |
||||
|
private String bankName; |
||||
|
@ApiModelProperty("首次逾期日期") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
|
private Date firstBeDate; |
||||
|
@ApiModelProperty("逾期期数") |
||||
|
private String beOverduePeriod; |
||||
|
@ApiModelProperty("逾期金额") |
||||
|
private String beOverdueMoney; |
||||
|
@ApiModelProperty("逾期金额换算期数") |
||||
|
private String beOverdueMoneyAndPeriod; |
||||
|
|
||||
|
@ApiModelProperty("催收记录sid") |
||||
|
private String csjlSid; |
||||
|
@ApiModelProperty("开票管理sid") |
||||
|
private String kpglSid; |
||||
|
@ApiModelProperty("月还明细sid") |
||||
|
private String yhmxSid; |
||||
|
@ApiModelProperty("金融方案sid") |
||||
|
private String jrfaSid; |
||||
|
@ApiModelProperty("家访考察sid") |
||||
|
private String jfkcSid; |
||||
|
} |
@ -0,0 +1,100 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.terminal.api.risk.becollection; |
||||
|
|
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(催收措施申请) <br/> |
||||
|
* File: LoanBeCollectionVehVo.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.api.loanbecollectionveh.LoanBeCollectionVehVo <br/> |
||||
|
* Description: 逾期催收车辆 视图数据对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-12 16:06:20 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "逾期催收车辆 视图数据详情", description = "逾期催收车辆 视图数据详情") |
||||
|
public class AppBeCollectionVehDetailsVo implements Vo { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("贷款合同编号") |
||||
|
private String contractId; |
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vin; |
||||
|
@ApiModelProperty("车牌号") |
||||
|
private String carNum; |
||||
|
@ApiModelProperty("资方") |
||||
|
private String zf; |
||||
|
@ApiModelProperty("资方合同号") |
||||
|
private String zfNo; |
||||
|
@ApiModelProperty("客户名称") |
||||
|
private String cusName; |
||||
|
@ApiModelProperty("联系电话") |
||||
|
private String cusPhone; |
||||
|
@ApiModelProperty("贷款人") |
||||
|
private String loanName; |
||||
|
@ApiModelProperty("首次逾期日期") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
|
private Date firstBeDate; |
||||
|
@ApiModelProperty("逾期期数") |
||||
|
private String instalments; |
||||
|
@ApiModelProperty("逾期金额") |
||||
|
private String beOverdueMoney; |
||||
|
@ApiModelProperty("逾期金额换算期数") |
||||
|
private String beOverdueMoneyAndPeriod; |
||||
|
@ApiModelProperty("远程控制费用") |
||||
|
private String lockCarMoney; |
||||
|
@ApiModelProperty("远程控制状态") |
||||
|
private String lockCarState; |
||||
|
@ApiModelProperty("还款协议附件") |
||||
|
private List<String> appHkxy = new ArrayList<>(); |
||||
|
|
||||
|
@ApiModelProperty("催收记录sid") |
||||
|
private String csjlSid; |
||||
|
@ApiModelProperty("开票管理sid") |
||||
|
private String kpglSid; |
||||
|
@ApiModelProperty("月还明细sid") |
||||
|
private String yhmxSid; |
||||
|
@ApiModelProperty("金融方案sid") |
||||
|
private String jrfaSid; |
||||
|
@ApiModelProperty("家访考察sid") |
||||
|
private String jfkcSid; |
||||
|
} |
@ -0,0 +1,20 @@ |
|||||
|
package com.yxt.anrui.terminal.api.risk.becollection; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class AppBeOverdueVehQuery implements Query { |
||||
|
|
||||
|
@ApiModelProperty("用户sid") |
||||
|
private String userSid; |
||||
|
@ApiModelProperty("客户名称字段 合同编号字段") |
||||
|
private String names; |
||||
|
@ApiModelProperty("组织全路径") |
||||
|
private String orgPath; |
||||
|
@ApiModelProperty("1待办2已办") |
||||
|
private String type; |
||||
|
@ApiModelProperty("菜单sid") |
||||
|
private String menuSid; |
||||
|
} |
@ -0,0 +1,43 @@ |
|||||
|
package com.yxt.anrui.terminal.api.risk.becollection; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.Date; |
||||
|
|
||||
|
@Data |
||||
|
public class AppBeOverdueVehVo implements Vo { |
||||
|
|
||||
|
@ApiModelProperty("销售订单车辆sid") |
||||
|
private String saleVehSid; |
||||
|
|
||||
|
@ApiModelProperty("分公司") |
||||
|
private String useOrgName; |
||||
|
@ApiModelProperty("销售部门") |
||||
|
private String dept; |
||||
|
@ApiModelProperty("贷款合同编号") |
||||
|
private String loanContractNo; |
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vinNo; |
||||
|
@ApiModelProperty("车牌号") |
||||
|
private String carNum; |
||||
|
@ApiModelProperty("贷款人名称") |
||||
|
private String borrowerName; |
||||
|
@ApiModelProperty("还款操作人") |
||||
|
private String repaymentName; |
||||
|
@ApiModelProperty("逾期期数") |
||||
|
private String beOverduePeriod; |
||||
|
@ApiModelProperty("逾期金额") |
||||
|
private String beOverdueMoney; |
||||
|
@ApiModelProperty("逾期金额换算期数") |
||||
|
private String beOverdueMoneyAndPeriod; |
||||
|
@ApiModelProperty("最近催收日期") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
|
private Date createTime; |
||||
|
@ApiModelProperty("风控专员") |
||||
|
private String riskStaffUserName; |
||||
|
@ApiModelProperty("远程控制状态") |
||||
|
private String lockCarState; |
||||
|
} |
@ -0,0 +1,75 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.terminal.api.risk.becollection; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(垫款申请) <br/> |
||||
|
* File: LoanBePadsincereApplyVo.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.api.loanbepadsincereapply.LoanBePadsincereApplyVo <br/> |
||||
|
* Description: 逾期垫款申请 视图数据对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-11-10 16:17:52 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "逾期垫款申请 视图数据详情", description = "逾期垫款申请 视图数据详情") |
||||
|
public class AppBePadsincereApplyDetailsVo implements Vo { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("申请部门-申请人") |
||||
|
private String publishInfo; |
||||
|
@ApiModelProperty("申请日期") |
||||
|
private String time; |
||||
|
@ApiModelProperty("财务付款形式") |
||||
|
private String cwfkxs; |
||||
|
@ApiModelProperty("打款备注") |
||||
|
private String dkbz; |
||||
|
@ApiModelProperty("备注") |
||||
|
private String remarks; |
||||
|
@ApiModelProperty("附件") |
||||
|
private List<String> files = new ArrayList<>(); |
||||
|
@ApiModelProperty("任务id") |
||||
|
private String taskId; |
||||
|
@ApiModelProperty("流程实例的sid") |
||||
|
private String procInsId; |
||||
|
|
||||
|
@ApiModelProperty("垫款车辆列表") |
||||
|
private List<AppBePadsincereVehDetailsVo> records = new ArrayList<>(); |
||||
|
} |
@ -0,0 +1,84 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.terminal.api.risk.becollection; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(垫款申请) <br/> |
||||
|
* File: LoanBePadsincereVehVo.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.api.loanbepadsincereveh.LoanBePadsincereVehVo <br/> |
||||
|
* Description: 逾期垫款车辆 视图数据对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-11-10 16:17:52 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "逾期垫款车辆 视图数据详情", description = "逾期垫款车辆 视图数据详情") |
||||
|
public class AppBePadsincereVehDetailsVo implements Vo { |
||||
|
|
||||
|
@ApiModelProperty("贷款合同编号") |
||||
|
private String contractId; |
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vin; |
||||
|
@ApiModelProperty("资方") |
||||
|
private String zf; |
||||
|
@ApiModelProperty("资方合同号") |
||||
|
private String zfNo; |
||||
|
@ApiModelProperty("客户名称") |
||||
|
private String cusName; |
||||
|
@ApiModelProperty("贷款人") |
||||
|
private String loanName; |
||||
|
@ApiModelProperty("期数") |
||||
|
private String instalments; |
||||
|
@ApiModelProperty("系统逾期金额") |
||||
|
private String sysBeMoney; |
||||
|
@ApiModelProperty("资方逾期金额") |
||||
|
private String bankBeMoney; |
||||
|
@ApiModelProperty("资方逾期罚息") |
||||
|
private String bankBeInter; |
||||
|
@ApiModelProperty("垫款金额") |
||||
|
private String padMoney; |
||||
|
@ApiModelProperty("付款账户") |
||||
|
private String paymentAccount; |
||||
|
@ApiModelProperty("付款账号") |
||||
|
private String paymentNum; |
||||
|
@ApiModelProperty("资方收款账户") |
||||
|
private String bankCollectionAcc; |
||||
|
@ApiModelProperty("资方收款账号") |
||||
|
private String bankCollectionNum; |
||||
|
@ApiModelProperty("备注") |
||||
|
private String remarks; |
||||
|
|
||||
|
} |
@ -0,0 +1,23 @@ |
|||||
|
package com.yxt.anrui.terminal.api.risk.becollection; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class AppReaRepaymentDto { |
||||
|
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vinNo; |
||||
|
@ApiModelProperty("车牌号") |
||||
|
private String carNum; |
||||
|
@ApiModelProperty("客户名称") |
||||
|
private String custName; |
||||
|
@ApiModelProperty("贷款人") |
||||
|
private String borrerName; |
||||
|
@ApiModelProperty("实际还款人名称") |
||||
|
private String reaRepaymentName; |
||||
|
@ApiModelProperty("实际还款人电话") |
||||
|
private String reaRepaymentPhone; |
||||
|
@ApiModelProperty("销售订单车辆sid") |
||||
|
private String saleVehSid; |
||||
|
} |
@ -0,0 +1,23 @@ |
|||||
|
package com.yxt.anrui.terminal.api.risk.becollection; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class AppReaRepaymentVo { |
||||
|
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vinNo; |
||||
|
@ApiModelProperty("车牌号") |
||||
|
private String carNum; |
||||
|
@ApiModelProperty("客户名称") |
||||
|
private String custName; |
||||
|
@ApiModelProperty("贷款人") |
||||
|
private String borrerName; |
||||
|
@ApiModelProperty("实际还款人名称") |
||||
|
private String reaRepaymentName; |
||||
|
@ApiModelProperty("实际还款人电话") |
||||
|
private String reaRepaymentPhone; |
||||
|
@ApiModelProperty("销售订单车辆sid") |
||||
|
private String saleVehSid; |
||||
|
} |
@ -0,0 +1,113 @@ |
|||||
|
package com.yxt.anrui.terminal.api.risk.becollection; |
||||
|
|
||||
|
|
||||
|
import com.yxt.anrui.terminal.api.risk.becollection.flowable.*; |
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
import org.springframework.cloud.openfeign.SpringQueryMap; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
/** |
||||
|
* @Author |
||||
|
* @Date |
||||
|
* @Description |
||||
|
*/ |
||||
|
@Api(tags = "逾期垫款催收") |
||||
|
@FeignClient( |
||||
|
contextId = "terminal-BeCollection", |
||||
|
name = "anrui-terminal", |
||||
|
path = "riskcenter/v1/beCollection", |
||||
|
fallback = BeCollectionFeignFallback.class) |
||||
|
public interface BeCollectionFeign { |
||||
|
|
||||
|
@ApiOperation("风控人员逾期车辆列表") |
||||
|
@PostMapping("/beVehListPage") |
||||
|
public ResultBean<PagerVo<AppBeOverdueVehVo>> beVehListPage(@RequestBody PagerQuery<AppBeOverdueVehQuery> pagerQuery); |
||||
|
|
||||
|
@ApiOperation("催收措施详情") |
||||
|
@GetMapping("/collectionDetail") |
||||
|
@ResponseBody |
||||
|
public ResultBean<AppBeCollectionApplyDetailsVo> collectionDetail(@RequestParam("sid") String sid); |
||||
|
|
||||
|
@ApiOperation("催收措施详情") |
||||
|
@GetMapping("/padsincereDetail") |
||||
|
@ResponseBody |
||||
|
public ResultBean<AppBePadsincereApplyDetailsVo> padsincereDetail(@RequestParam("sid") String sid); |
||||
|
|
||||
|
@ApiOperation("初始化实际还款人") |
||||
|
@PostMapping("/initReaRepayment") |
||||
|
public ResultBean<AppReaRepaymentVo> initReaRepayment(@RequestParam("saleVehSid") String saleVehSid); |
||||
|
|
||||
|
@ApiOperation("维护实际还款人") |
||||
|
@PostMapping("/maintReaRepayment") |
||||
|
public ResultBean maintReaRepayment(@RequestBody AppReaRepaymentDto appReaRepaymentDto); |
||||
|
|
||||
|
@ApiOperation("初始化催收录入") |
||||
|
@GetMapping("/initCollectionEnter") |
||||
|
@ResponseBody |
||||
|
public ResultBean<AppBeCollectionRecordInit> initCollectionEnter(@RequestParam("saleVehSid") String saleVehSid); |
||||
|
|
||||
|
@ApiOperation("保存催收录入") |
||||
|
@PostMapping("/saveCollectionEnter") |
||||
|
@ResponseBody |
||||
|
public ResultBean saveCollectionEnter(@RequestBody AppBeCollectionRecordDto dto); |
||||
|
|
||||
|
/****************************************催收流程审批******************************************/ |
||||
|
|
||||
|
@ApiOperation("办理") |
||||
|
@PutMapping("/agreeCreditInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean agreeCreditInfo(@RequestBody CompleteBeCollectionDto dto); |
||||
|
|
||||
|
@ApiOperation("驳回") |
||||
|
@PutMapping("/rejectCreditInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean rejectCreditInfo(@RequestBody BeCollectionTaskQuery query); |
||||
|
|
||||
|
@ApiOperation("撤回") |
||||
|
@PutMapping("/recallCreditInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean recallCreditInfo(@RequestBody BeCollectionTaskQuery query); |
||||
|
|
||||
|
@ApiOperation("终止") |
||||
|
@PutMapping("/stopCreditInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean stopCreditInfo(@RequestBody BeCollectionTaskQuery query); |
||||
|
|
||||
|
@ApiOperation("获取流程操作标题") |
||||
|
@GetMapping("/getFlowOperateTitle") |
||||
|
@ResponseBody |
||||
|
ResultBean<String> getFlowOperateTitle(@SpringQueryMap BeCollectionQuery query); |
||||
|
|
||||
|
/****************************************垫款流程审批******************************************/ |
||||
|
|
||||
|
@ApiOperation("办理") |
||||
|
@PutMapping("/agreeCreditInfoPad") |
||||
|
@ResponseBody |
||||
|
ResultBean agreeCreditInfoPad(@RequestBody CompleteBeCollectionDto dto); |
||||
|
|
||||
|
@ApiOperation("驳回") |
||||
|
@PutMapping("/rejectCreditInfoPad") |
||||
|
@ResponseBody |
||||
|
ResultBean rejectCreditInfoPad(@RequestBody BeCollectionTaskQuery query); |
||||
|
|
||||
|
@ApiOperation("撤回") |
||||
|
@PutMapping("/recallCreditInfoPad") |
||||
|
@ResponseBody |
||||
|
ResultBean recallCreditInfoPad(@RequestBody BeCollectionTaskQuery query); |
||||
|
|
||||
|
@ApiOperation("终止") |
||||
|
@PutMapping("/stopCreditInfoPad") |
||||
|
@ResponseBody |
||||
|
ResultBean stopCreditInfoPad(@RequestBody BeCollectionTaskQuery query); |
||||
|
|
||||
|
@ApiOperation("获取流程操作标题") |
||||
|
@GetMapping("/getFlowOperateTitlePad") |
||||
|
@ResponseBody |
||||
|
ResultBean<String> getFlowOperateTitlePad(@SpringQueryMap BeCollectionQuery query); |
||||
|
|
||||
|
} |
@ -0,0 +1,12 @@ |
|||||
|
package com.yxt.anrui.terminal.api.risk.becollection; |
||||
|
|
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2023/8/8 |
||||
|
**/ |
||||
|
@Component |
||||
|
public class BeCollectionFeignFallback { |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
package com.yxt.anrui.terminal.api.risk.becollection.flowable; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class BeCollectionQuery implements Query { |
||||
|
private static final long serialVersionUID = -3563282658560745370L; |
||||
|
|
||||
|
@ApiModelProperty(value = "节点key") |
||||
|
private String taskDefKey; |
||||
|
@ApiModelProperty(value = "业务sid") |
||||
|
private String businessSid; |
||||
|
@ApiModelProperty(value = "0 上一环节 1下一环节") |
||||
|
private Integer next; |
||||
|
} |
@ -0,0 +1,42 @@ |
|||||
|
package com.yxt.anrui.terminal.api.risk.becollection.flowable; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonProperty; |
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
|
||||
|
@Data |
||||
|
public class BeCollectionTaskQuery implements Query { |
||||
|
private static final long serialVersionUID = -6952737531036706114L; |
||||
|
|
||||
|
/** |
||||
|
* 终止、驳回、撤回 |
||||
|
*/ |
||||
|
@ApiModelProperty("任务Id") |
||||
|
@NotBlank(message = "参数错误:taskId") |
||||
|
private String taskId; |
||||
|
/** |
||||
|
* 终止、驳回、撤回 |
||||
|
*/ |
||||
|
@ApiModelProperty("业务sid") |
||||
|
@NotBlank(message = "参数错误:businessSid") |
||||
|
private String businessSid; |
||||
|
/** |
||||
|
* 终止、驳回 |
||||
|
*/ |
||||
|
@ApiModelProperty("任务意见") |
||||
|
private String comment; |
||||
|
/** |
||||
|
* 终止、撤回、驳回 |
||||
|
*/ |
||||
|
@ApiModelProperty("用户Sid") |
||||
|
private String userSid; |
||||
|
/** |
||||
|
* 终止 |
||||
|
*/ |
||||
|
@ApiModelProperty("流程实例Id") |
||||
|
@JsonProperty("procInsId") |
||||
|
private String instanceId; |
||||
|
} |
@ -0,0 +1,34 @@ |
|||||
|
package com.yxt.anrui.terminal.api.risk.becollection.flowable; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonProperty; |
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
|
||||
|
@Data |
||||
|
public class CompleteBeCollectionDto implements Dto { |
||||
|
private static final long serialVersionUID = 7978653524636034916L; |
||||
|
|
||||
|
@ApiModelProperty(value = "任务id") |
||||
|
@NotBlank(message = "参数错误:taskId") |
||||
|
private String taskId; |
||||
|
@ApiModelProperty(value = "流程id") |
||||
|
@NotBlank(message = "参数错误:procInsId") |
||||
|
@JsonProperty("procInsId") |
||||
|
private String instanceId; |
||||
|
@ApiModelProperty(value = "意见") |
||||
|
private String comment; |
||||
|
@ApiModelProperty(value = "业务sid") |
||||
|
@NotBlank(message = "参数错误:businessSid") |
||||
|
private String businessSid; |
||||
|
@ApiModelProperty(value = "用户sid") |
||||
|
@NotBlank(message = "参数错误:userSid") |
||||
|
private String userSid; |
||||
|
@ApiModelProperty(value = "节点id") |
||||
|
@NotBlank(message = "参数错误:taskDefKey") |
||||
|
private String taskDefKey; |
||||
|
|
||||
|
private String orgPath; |
||||
|
} |
@ -0,0 +1,133 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.terminal.biz.risk.becollection; |
||||
|
|
||||
|
import com.yxt.anrui.terminal.api.risk.becollection.*; |
||||
|
import com.yxt.anrui.terminal.api.risk.becollection.flowable.*; |
||||
|
import com.yxt.anrui.terminal.api.risk.loanhomevisitinvestigate.*; |
||||
|
import com.yxt.anrui.terminal.api.risk.loanhomevisitinvestigate.flowable.CompleteHomeAppealDto; |
||||
|
import com.yxt.anrui.terminal.api.risk.loanhomevisitinvestigate.flowable.HomeAppealQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.loanhomevisitinvestigate.flowable.HomeAppealTaskQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.loanhomevisitinvestigate.flowable.SubmitHomeAppealApplyDto; |
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
import org.springframework.web.bind.annotation.RestController; |
||||
|
|
||||
|
@RestController("逾期垫款催收") |
||||
|
@RequestMapping("riskcenter/v1/beCollection") |
||||
|
public class BeCollectionRest implements BeCollectionFeign { |
||||
|
|
||||
|
@Autowired |
||||
|
private BeCollectionService beCollectionService; |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<PagerVo<AppBeOverdueVehVo>> beVehListPage(PagerQuery<AppBeOverdueVehQuery> pagerQuery) { |
||||
|
return beCollectionService.beVehListPage(pagerQuery); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppBeCollectionApplyDetailsVo> collectionDetail(String sid) { |
||||
|
return beCollectionService.collectionDetail(sid); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppBePadsincereApplyDetailsVo> padsincereDetail(String sid) { |
||||
|
return beCollectionService.padsincereDetail(sid); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppReaRepaymentVo> initReaRepayment(String saleVehSid) { |
||||
|
return beCollectionService.initReaRepayment(saleVehSid); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean maintReaRepayment(AppReaRepaymentDto appReaRepaymentDto) { |
||||
|
return beCollectionService.maintReaRepayment(appReaRepaymentDto); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppBeCollectionRecordInit> initCollectionEnter(String saleVehSid) { |
||||
|
return beCollectionService.initCollectionEnter(saleVehSid); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean saveCollectionEnter(AppBeCollectionRecordDto dto) { |
||||
|
return beCollectionService.saveCollectionEnter(dto); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean agreeCreditInfo(CompleteBeCollectionDto dto) { |
||||
|
return beCollectionService.agreeCreditInfo(dto); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean rejectCreditInfo(BeCollectionTaskQuery query) { |
||||
|
return beCollectionService.rejectCreditInfo(query); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean recallCreditInfo(BeCollectionTaskQuery query) { |
||||
|
return beCollectionService.recallCreditInfo(query); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean stopCreditInfo(BeCollectionTaskQuery query) { |
||||
|
return beCollectionService.stopCreditInfo(query); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<String> getFlowOperateTitle(BeCollectionQuery query) { |
||||
|
return beCollectionService.getFlowOperateTitle(query); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean agreeCreditInfoPad(CompleteBeCollectionDto dto) { |
||||
|
return beCollectionService.agreeCreditInfoPad(dto); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean rejectCreditInfoPad(BeCollectionTaskQuery query) { |
||||
|
return beCollectionService.rejectCreditInfoPad(query); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean recallCreditInfoPad(BeCollectionTaskQuery query) { |
||||
|
return beCollectionService.recallCreditInfoPad(query); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean stopCreditInfoPad(BeCollectionTaskQuery query) { |
||||
|
return beCollectionService.stopCreditInfoPad(query); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<String> getFlowOperateTitlePad(BeCollectionQuery query) { |
||||
|
return beCollectionService.getFlowOperateTitlePad(query); |
||||
|
} |
||||
|
} |
@ -0,0 +1,430 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.terminal.biz.risk.becollection; |
||||
|
|
||||
|
|
||||
|
import cn.hutool.core.bean.BeanUtil; |
||||
|
import cn.hutool.core.date.DateUtil; |
||||
|
import com.yxt.anrui.buscenter.api.bussalesorder.BusSalesOrder; |
||||
|
import com.yxt.anrui.buscenter.api.bussalesordervehicle.BusSalesOrderVehicleFeign; |
||||
|
import com.yxt.anrui.buscenter.api.bussalesordervehicle.ReaRepaymentDto; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbecollectionapply.LoanBeCollectionApplyDetailsVo; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbecollectionapply.LoanBeCollectionApplyFeign; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbecollectionapply.LoanBeCollectionFileVo; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbecollectionapply.flowable.*; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbecollectionrecord.LoanBeCollectionRecordFeign; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbecollectionrecord.LoanBeCollectionRecordInit; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbecollectionrecord.LoanBeCollectionRecordVehInit; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbecollectionveh.LoanBeCollectionVehDetailsVo; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbecollectionveh.LoanBeCollectionVehFile; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbeoverdueveh.LoanBeOverdueVehFegin; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbeoverdueveh.LoanBeOverdueVehQuery; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbeoverdueveh.LoanBeOverdueVehVo; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbeoverdueveh.ReaRepaymentVo; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbepadsincereapply.LoanBePadsincereApplyDetailsVo; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbepadsincereapply.LoanBePadsincereApplyFeign; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbepadsincereapply.LoanBePadsincereFile; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbepadsincereapply.flowable.*; |
||||
|
import com.yxt.anrui.riskcenter.api.loanbepadsincereveh.LoanBePadsincereVehDetailsVo; |
||||
|
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateQuery; |
||||
|
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateVo; |
||||
|
import com.yxt.anrui.terminal.api.risk.becollection.*; |
||||
|
import com.yxt.anrui.terminal.api.risk.becollection.flowable.*; |
||||
|
import com.yxt.anrui.terminal.api.risk.loanhomevisitinvestigate.LoanHomeVisitInvestigatePageQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.loanhomevisitinvestigate.LoanHomeVisitInvestigatePageVo; |
||||
|
import com.yxt.common.base.utils.StringUtils; |
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Collections; |
||||
|
import java.util.List; |
||||
|
|
||||
|
@Service |
||||
|
public class BeCollectionService { |
||||
|
|
||||
|
@Autowired |
||||
|
private LoanBeCollectionApplyFeign loanBeCollectionApplyFeign; |
||||
|
@Autowired |
||||
|
private LoanBePadsincereApplyFeign loanBePadsincereApplyFeign; |
||||
|
@Autowired |
||||
|
private LoanBeOverdueVehFegin loanBeOverdueVehFegin; |
||||
|
@Autowired |
||||
|
private BusSalesOrderVehicleFeign busSalesOrderVehicleFeign; |
||||
|
@Autowired |
||||
|
private LoanBeCollectionRecordFeign loanBeCollectionRecordFeign; |
||||
|
|
||||
|
public ResultBean agreeCreditInfo(CompleteBeCollectionDto dto) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanBeCollectionApplyCompleteDto loanBeCollectionApplyCompleteDto = new LoanBeCollectionApplyCompleteDto(); |
||||
|
BeanUtil.copyProperties(dto, loanBeCollectionApplyCompleteDto); |
||||
|
loanBeCollectionApplyFeign.complete(loanBeCollectionApplyCompleteDto); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
public ResultBean rejectCreditInfo(BeCollectionTaskQuery query) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanBeCollectionApplyTaskQuery taskQuery = new LoanBeCollectionApplyTaskQuery(); |
||||
|
BeanUtil.copyProperties(query, taskQuery); |
||||
|
ResultBean resultBean = loanBeCollectionApplyFeign.reject(taskQuery); |
||||
|
if (!resultBean.getSuccess()) { |
||||
|
return rb.setMsg(resultBean.getMsg()); |
||||
|
} |
||||
|
return rb.success().setData(resultBean.getData()); |
||||
|
} |
||||
|
|
||||
|
public ResultBean recallCreditInfo(BeCollectionTaskQuery query) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanBeCollectionApplyTaskQuery taskQuery = new LoanBeCollectionApplyTaskQuery(); |
||||
|
BeanUtil.copyProperties(query, taskQuery); |
||||
|
ResultBean resultBean = loanBeCollectionApplyFeign.revokeProcess(taskQuery); |
||||
|
if (!resultBean.getSuccess()) { |
||||
|
return rb.setMsg(resultBean.getMsg()); |
||||
|
} |
||||
|
return rb.success().setData(resultBean.getData()); |
||||
|
} |
||||
|
|
||||
|
public ResultBean stopCreditInfo(BeCollectionTaskQuery query) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanBeCollectionApplyTaskQuery taskQuery = new LoanBeCollectionApplyTaskQuery(); |
||||
|
BeanUtil.copyProperties(query, taskQuery); |
||||
|
ResultBean resultBean = loanBeCollectionApplyFeign.breakProcess(taskQuery); |
||||
|
if (!resultBean.getSuccess()) { |
||||
|
return rb.setMsg(resultBean.getMsg()); |
||||
|
} |
||||
|
return rb.success().setData(resultBean.getData()); |
||||
|
} |
||||
|
|
||||
|
public ResultBean<String> getFlowOperateTitle(BeCollectionQuery query) { |
||||
|
ResultBean<String> rb = ResultBean.fireFail(); |
||||
|
//0 上一环节 1下一环节
|
||||
|
int next = query.getNext(); |
||||
|
LoanBeCollectionApplyNodeQuery getNodeQuery = new LoanBeCollectionApplyNodeQuery(); |
||||
|
BeanUtil.copyProperties(query, getNodeQuery); |
||||
|
String data = ""; |
||||
|
if (next == 0) { |
||||
|
ResultBean<List<LoanBeCollectionApplyNodeVo>> previousNodesForReject = loanBeCollectionApplyFeign.getPreviousNodesForReject(getNodeQuery); |
||||
|
if (previousNodesForReject.getSuccess()) { |
||||
|
previousNodesForReject.getData().removeAll(Collections.singleton(null)); |
||||
|
data = previousNodesForReject.getData().get(0).getName(); |
||||
|
} else { |
||||
|
return rb.setMsg(previousNodesForReject.getMsg()); |
||||
|
} |
||||
|
} else if (next == 1) { |
||||
|
ResultBean<List<LoanBeCollectionApplyNodeVo>> nextNodesForSubmit = loanBeCollectionApplyFeign.getNextNodesForSubmit(getNodeQuery); |
||||
|
if (nextNodesForSubmit.getSuccess()) { |
||||
|
nextNodesForSubmit.getData().removeAll(Collections.singleton(null)); |
||||
|
data = nextNodesForSubmit.getData().get(0).getName(); |
||||
|
} else { |
||||
|
return rb.setMsg(nextNodesForSubmit.getMsg()); |
||||
|
} |
||||
|
} else { |
||||
|
return rb.setMsg("参数错误:next"); |
||||
|
} |
||||
|
return rb.success().setData(data); |
||||
|
} |
||||
|
|
||||
|
/******************************************************************************************************************************************/ |
||||
|
|
||||
|
public ResultBean agreeCreditInfoPad(CompleteBeCollectionDto dto) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanBePadsincereCompleteDto loanBePadsincereCompleteDto = new LoanBePadsincereCompleteDto(); |
||||
|
BeanUtil.copyProperties(dto, loanBePadsincereCompleteDto); |
||||
|
loanBePadsincereApplyFeign.complete(loanBePadsincereCompleteDto); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
public ResultBean rejectCreditInfoPad(BeCollectionTaskQuery query) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanBePadsincereTaskQuery taskQuery = new LoanBePadsincereTaskQuery(); |
||||
|
BeanUtil.copyProperties(query, taskQuery); |
||||
|
ResultBean resultBean = loanBePadsincereApplyFeign.reject(taskQuery); |
||||
|
if (!resultBean.getSuccess()) { |
||||
|
return rb.setMsg(resultBean.getMsg()); |
||||
|
} |
||||
|
return rb.success().setData(resultBean.getData()); |
||||
|
} |
||||
|
|
||||
|
public ResultBean recallCreditInfoPad(BeCollectionTaskQuery query) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanBePadsincereTaskQuery taskQuery = new LoanBePadsincereTaskQuery(); |
||||
|
BeanUtil.copyProperties(query, taskQuery); |
||||
|
ResultBean resultBean = loanBePadsincereApplyFeign.revokeProcess(taskQuery); |
||||
|
if (!resultBean.getSuccess()) { |
||||
|
return rb.setMsg(resultBean.getMsg()); |
||||
|
} |
||||
|
return rb.success().setData(resultBean.getData()); |
||||
|
} |
||||
|
|
||||
|
public ResultBean stopCreditInfoPad(BeCollectionTaskQuery query) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanBePadsincereTaskQuery taskQuery = new LoanBePadsincereTaskQuery(); |
||||
|
BeanUtil.copyProperties(query, taskQuery); |
||||
|
ResultBean resultBean = loanBePadsincereApplyFeign.breakProcess(taskQuery); |
||||
|
if (!resultBean.getSuccess()) { |
||||
|
return rb.setMsg(resultBean.getMsg()); |
||||
|
} |
||||
|
return rb.success().setData(resultBean.getData()); |
||||
|
} |
||||
|
|
||||
|
public ResultBean<String> getFlowOperateTitlePad(BeCollectionQuery query) { |
||||
|
ResultBean<String> rb = ResultBean.fireFail(); |
||||
|
//0 上一环节 1下一环节
|
||||
|
int next = query.getNext(); |
||||
|
LoanBePadsincereNodeQuery getNodeQuery = new LoanBePadsincereNodeQuery(); |
||||
|
BeanUtil.copyProperties(query, getNodeQuery); |
||||
|
String data = ""; |
||||
|
if (next == 0) { |
||||
|
ResultBean<List<LoanBePadsincereNodeVo>> previousNodesForReject = loanBePadsincereApplyFeign.getPreviousNodesForReject(getNodeQuery); |
||||
|
if (previousNodesForReject.getSuccess()) { |
||||
|
previousNodesForReject.getData().removeAll(Collections.singleton(null)); |
||||
|
data = previousNodesForReject.getData().get(0).getName(); |
||||
|
} else { |
||||
|
return rb.setMsg(previousNodesForReject.getMsg()); |
||||
|
} |
||||
|
} else if (next == 1) { |
||||
|
ResultBean<List<LoanBePadsincereNodeVo>> nextNodesForSubmit = loanBePadsincereApplyFeign.getNextNodesForSubmit(getNodeQuery); |
||||
|
if (nextNodesForSubmit.getSuccess()) { |
||||
|
nextNodesForSubmit.getData().removeAll(Collections.singleton(null)); |
||||
|
data = nextNodesForSubmit.getData().get(0).getName(); |
||||
|
} else { |
||||
|
return rb.setMsg(nextNodesForSubmit.getMsg()); |
||||
|
} |
||||
|
} else { |
||||
|
return rb.setMsg("参数错误:next"); |
||||
|
} |
||||
|
return rb.success().setData(data); |
||||
|
} |
||||
|
|
||||
|
/******************************************************************************************************************************************/ |
||||
|
|
||||
|
public ResultBean<AppBeCollectionApplyDetailsVo> collectionDetail(String sid) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanBeCollectionApplyDetailsVo loanBeCollectionApplyDetailsVo = loanBeCollectionApplyFeign.fetchDetailsBySid(sid).getData(); |
||||
|
AppBeCollectionApplyDetailsVo appBeCollectionApplyDetailsVo = new AppBeCollectionApplyDetailsVo(); |
||||
|
appBeCollectionApplyDetailsVo.setPublishInfo(loanBeCollectionApplyDetailsVo.getDeptName() + "-" + loanBeCollectionApplyDetailsVo.getCreateByName()); |
||||
|
appBeCollectionApplyDetailsVo.setTime(loanBeCollectionApplyDetailsVo.getCreateTime()); |
||||
|
List<String> collMeasures = loanBeCollectionApplyDetailsVo.getCollMeasures(); |
||||
|
String cs = ""; |
||||
|
for (String collMeasure : collMeasures) { |
||||
|
cs = cs + collMeasure + "、"; |
||||
|
} |
||||
|
appBeCollectionApplyDetailsVo.setCollMeasures(cs.substring(0, cs.lastIndexOf("、"))); |
||||
|
appBeCollectionApplyDetailsVo.setRemarks(loanBeCollectionApplyDetailsVo.getRemarks()); |
||||
|
appBeCollectionApplyDetailsVo.setTaskId(loanBeCollectionApplyDetailsVo.getTaskId()); |
||||
|
appBeCollectionApplyDetailsVo.setProcInsId(loanBeCollectionApplyDetailsVo.getProcInstSid()); |
||||
|
List<LoanBeCollectionFileVo> files = loanBeCollectionApplyDetailsVo.getFiles(); |
||||
|
List<String> fj = new ArrayList<>(); |
||||
|
if (files != null && files.size() > 0){ |
||||
|
for (LoanBeCollectionFileVo file : files) { |
||||
|
fj.add(file.getUrl()); |
||||
|
} |
||||
|
} |
||||
|
appBeCollectionApplyDetailsVo.setFiles(fj); |
||||
|
List<LoanBeCollectionVehDetailsVo> loanBeCollectionVehDetails = loanBeCollectionApplyDetailsVo.getLoanBeCollectionVehDetails(); |
||||
|
List<AppBeCollectionVehDetailsVo> appBeCollectionVehDetailsVos = new ArrayList<>(); |
||||
|
for (LoanBeCollectionVehDetailsVo loanBeCollectionVehDetail : loanBeCollectionVehDetails) { |
||||
|
AppBeCollectionVehDetailsVo appBeCollectionVehDetailsVo = new AppBeCollectionVehDetailsVo(); |
||||
|
appBeCollectionVehDetailsVo.setContractId(loanBeCollectionVehDetail.getLoanContractNo()); |
||||
|
appBeCollectionVehDetailsVo.setVin(loanBeCollectionVehDetail.getVinNo()); |
||||
|
appBeCollectionVehDetailsVo.setCarNum(loanBeCollectionVehDetail.getCarNum()); |
||||
|
appBeCollectionVehDetailsVo.setZf(loanBeCollectionVehDetail.getBankName()); |
||||
|
appBeCollectionVehDetailsVo.setZfNo(loanBeCollectionVehDetail.getBankContractNo()); |
||||
|
appBeCollectionVehDetailsVo.setCusName(loanBeCollectionVehDetail.getCustName()); |
||||
|
appBeCollectionVehDetailsVo.setCusPhone(loanBeCollectionVehDetail.getCustPhone()); |
||||
|
appBeCollectionVehDetailsVo.setLoanName(loanBeCollectionVehDetail.getBorrowerName()); |
||||
|
appBeCollectionVehDetailsVo.setFirstBeDate(loanBeCollectionVehDetail.getFirstBeDate()); |
||||
|
appBeCollectionVehDetailsVo.setInstalments(loanBeCollectionVehDetail.getBeOverduePeriod()); |
||||
|
appBeCollectionVehDetailsVo.setBeOverdueMoney(loanBeCollectionVehDetail.getBeOverdueMoney()); |
||||
|
appBeCollectionVehDetailsVo.setBeOverdueMoneyAndPeriod(loanBeCollectionVehDetail.getBeOverdueMoneyAndPeriod()); |
||||
|
List<LoanBeCollectionFileVo> hkxyFiles = loanBeCollectionVehDetail.getHkxyFiles(); |
||||
|
ArrayList<String> appHkxys = new ArrayList<>(); |
||||
|
if (hkxyFiles != null && hkxyFiles.size() > 0){ |
||||
|
for (LoanBeCollectionFileVo hkxyFile : hkxyFiles) { |
||||
|
appHkxys.add(hkxyFile.getUrl()); |
||||
|
} |
||||
|
} |
||||
|
appBeCollectionVehDetailsVo.setAppHkxy(appHkxys); |
||||
|
List<LoanBeCollectionVehFile> sids = loanBeCollectionVehDetail.getSids(); |
||||
|
for (LoanBeCollectionVehFile loanBeCollectionVehFile : sids) { |
||||
|
if ("催收记录".equals(loanBeCollectionVehFile.getName())){ |
||||
|
appBeCollectionVehDetailsVo.setCsjlSid(loanBeCollectionVehFile.getSid()); |
||||
|
} |
||||
|
if ("开票信息".equals(loanBeCollectionVehFile.getName())){ |
||||
|
appBeCollectionVehDetailsVo.setKpglSid(loanBeCollectionVehFile.getSid()); |
||||
|
} |
||||
|
if ("月还明细".equals(loanBeCollectionVehFile.getName())){ |
||||
|
appBeCollectionVehDetailsVo.setYhmxSid(loanBeCollectionVehFile.getSid()); |
||||
|
} |
||||
|
if ("金融方案".equals(loanBeCollectionVehFile.getName())){ |
||||
|
appBeCollectionVehDetailsVo.setJrfaSid(loanBeCollectionVehFile.getSid()); |
||||
|
} |
||||
|
if ("家访考察报告".equals(loanBeCollectionVehFile.getName())){ |
||||
|
appBeCollectionVehDetailsVo.setJfkcSid(loanBeCollectionVehFile.getSid()); |
||||
|
} |
||||
|
} |
||||
|
appBeCollectionVehDetailsVos.add(appBeCollectionVehDetailsVo); |
||||
|
} |
||||
|
appBeCollectionApplyDetailsVo.setRecords(appBeCollectionVehDetailsVos); |
||||
|
return rb.success().setData(appBeCollectionApplyDetailsVo); |
||||
|
} |
||||
|
|
||||
|
public ResultBean<AppBePadsincereApplyDetailsVo> padsincereDetail(String sid) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanBePadsincereApplyDetailsVo loanBePadsincereApplyDetailsVo = loanBePadsincereApplyFeign.fetchDetailsBySid(sid).getData(); |
||||
|
AppBePadsincereApplyDetailsVo appBePadsincereApplyDetailsVo = new AppBePadsincereApplyDetailsVo(); |
||||
|
appBePadsincereApplyDetailsVo.setPublishInfo(loanBePadsincereApplyDetailsVo.getDeptName() + "-" + loanBePadsincereApplyDetailsVo.getCreateByName()); |
||||
|
appBePadsincereApplyDetailsVo.setTime(DateUtil.formatDate(loanBePadsincereApplyDetailsVo.getCreateTime())); |
||||
|
appBePadsincereApplyDetailsVo.setCwfkxs(loanBePadsincereApplyDetailsVo.getFinPaymentFormValue()); |
||||
|
appBePadsincereApplyDetailsVo.setDkbz(loanBePadsincereApplyDetailsVo.getPaymentRemarks()); |
||||
|
appBePadsincereApplyDetailsVo.setRemarks(loanBePadsincereApplyDetailsVo.getRemarks()); |
||||
|
appBePadsincereApplyDetailsVo.setTaskId(loanBePadsincereApplyDetailsVo.getTaskId()); |
||||
|
appBePadsincereApplyDetailsVo.setProcInsId(loanBePadsincereApplyDetailsVo.getProcInstSid()); |
||||
|
List<LoanBePadsincereFile> fileUrlList = loanBePadsincereApplyDetailsVo.getFileUrlList(); |
||||
|
List<String> fj = new ArrayList<>(); |
||||
|
if (fileUrlList != null && fileUrlList.size() > 0){ |
||||
|
for (LoanBePadsincereFile file : fileUrlList) { |
||||
|
fj.add(file.getUrl()); |
||||
|
} |
||||
|
} |
||||
|
appBePadsincereApplyDetailsVo.setFiles(fj); |
||||
|
List<LoanBePadsincereVehDetailsVo> loanBePadsincereVehList = loanBePadsincereApplyDetailsVo.getLoanBePadsincereVehList(); |
||||
|
List<AppBePadsincereVehDetailsVo> appBePadsincereVehDetailsVos = new ArrayList<>(); |
||||
|
for (LoanBePadsincereVehDetailsVo loanBePadsincereVehDetailsVo : loanBePadsincereVehList) { |
||||
|
AppBePadsincereVehDetailsVo appBePadsincereVehDetailsVo = new AppBePadsincereVehDetailsVo(); |
||||
|
appBePadsincereVehDetailsVo.setContractId(loanBePadsincereVehDetailsVo.getLoanContractNo()); |
||||
|
appBePadsincereVehDetailsVo.setVin("车架号:" + loanBePadsincereVehDetailsVo.getVinNo()); |
||||
|
appBePadsincereVehDetailsVo.setZf(loanBePadsincereVehDetailsVo.getBankName()); |
||||
|
appBePadsincereVehDetailsVo.setZfNo(loanBePadsincereVehDetailsVo.getBankContractNo()); |
||||
|
appBePadsincereVehDetailsVo.setCusName(loanBePadsincereVehDetailsVo.getCustomerName()); |
||||
|
appBePadsincereVehDetailsVo.setLoanName(loanBePadsincereVehDetailsVo.getBorrowerName()); |
||||
|
appBePadsincereVehDetailsVo.setInstalments("期數:" + loanBePadsincereVehDetailsVo.getPeriod()); |
||||
|
appBePadsincereVehDetailsVo.setSysBeMoney(loanBePadsincereVehDetailsVo.getSysBeMoney()); |
||||
|
appBePadsincereVehDetailsVo.setBankBeMoney(loanBePadsincereVehDetailsVo.getBankBeMoney()); |
||||
|
appBePadsincereVehDetailsVo.setBankBeInter(loanBePadsincereVehDetailsVo.getBankBeInter()); |
||||
|
appBePadsincereVehDetailsVo.setPadMoney(loanBePadsincereVehDetailsVo.getPadMoney()); |
||||
|
appBePadsincereVehDetailsVo.setPaymentAccount(loanBePadsincereVehDetailsVo.getPaymentAccount()); |
||||
|
appBePadsincereVehDetailsVo.setPaymentNum(loanBePadsincereVehDetailsVo.getPaymentNum()); |
||||
|
appBePadsincereVehDetailsVo.setBankCollectionAcc(loanBePadsincereVehDetailsVo.getBankCollectionAcc()); |
||||
|
appBePadsincereVehDetailsVo.setBankCollectionNum(loanBePadsincereVehDetailsVo.getBankCollectionNum()); |
||||
|
appBePadsincereVehDetailsVo.setRemarks(loanBePadsincereVehDetailsVo.getRemarks()); |
||||
|
appBePadsincereVehDetailsVos.add(appBePadsincereVehDetailsVo); |
||||
|
} |
||||
|
appBePadsincereApplyDetailsVo.setRecords(appBePadsincereVehDetailsVos); |
||||
|
return rb.success().setData(appBePadsincereApplyDetailsVo); |
||||
|
} |
||||
|
|
||||
|
public ResultBean<PagerVo<AppBeOverdueVehVo>> beVehListPage(PagerQuery<AppBeOverdueVehQuery> pagerQuery) { |
||||
|
ResultBean<PagerVo<AppBeOverdueVehVo>> rb = ResultBean.fireFail(); |
||||
|
PagerQuery<LoanBeOverdueVehQuery> pq = new PagerQuery<>(); |
||||
|
AppBeOverdueVehQuery params = pagerQuery.getParams(); |
||||
|
LoanBeOverdueVehQuery params1 = new LoanBeOverdueVehQuery(); |
||||
|
params1.setOrgPath(params.getOrgPath()); |
||||
|
params1.setUserSid(params.getUserSid()); |
||||
|
params1.setNames(params.getNames()); |
||||
|
params1.setType(params.getType()); |
||||
|
params1.setMenuSid(params.getMenuSid()); |
||||
|
pq.setParams(params1); |
||||
|
ResultBean<PagerVo<LoanBeOverdueVehVo>> resultBean = loanBeOverdueVehFegin.riskListPage(pq); |
||||
|
List<AppBeOverdueVehVo> appBeOverdueVehVoList = new ArrayList<>(); |
||||
|
PagerVo<AppBeOverdueVehVo> v = new PagerVo<>(); |
||||
|
List<LoanBeOverdueVehVo> records = resultBean.getData().getRecords(); |
||||
|
for (LoanBeOverdueVehVo record : records) { |
||||
|
AppBeOverdueVehVo appBeOverdueVehVo = new AppBeOverdueVehVo(); |
||||
|
appBeOverdueVehVo.setSaleVehSid(record.getSaleVehSid()); |
||||
|
appBeOverdueVehVo.setUseOrgName(record.getUseOrgName()); |
||||
|
appBeOverdueVehVo.setDept(record.getDept()); |
||||
|
appBeOverdueVehVo.setLoanContractNo(record.getLoanContractNo()); |
||||
|
appBeOverdueVehVo.setVinNo(record.getVinNo()); |
||||
|
appBeOverdueVehVo.setCarNum(record.getCarNum()); |
||||
|
appBeOverdueVehVo.setBorrowerName(record.getBorrowerName()); |
||||
|
appBeOverdueVehVo.setRepaymentName(record.getRepaymentName()); |
||||
|
appBeOverdueVehVo.setBeOverduePeriod(record.getBeOverduePeriod()); |
||||
|
appBeOverdueVehVo.setBeOverdueMoney(record.getBeOverdueMoney()); |
||||
|
appBeOverdueVehVo.setBeOverdueMoneyAndPeriod(record.getBeOverdueMoneyAndPeriod()); |
||||
|
appBeOverdueVehVo.setCreateTime(record.getCreateTime()); |
||||
|
appBeOverdueVehVo.setRiskStaffUserName(record.getRiskStaffUserName()); |
||||
|
appBeOverdueVehVo.setLockCarState(record.getLockCarState()); |
||||
|
appBeOverdueVehVoList.add(appBeOverdueVehVo); |
||||
|
} |
||||
|
v.setRecords(appBeOverdueVehVoList); |
||||
|
return rb.success().setData(v); |
||||
|
} |
||||
|
|
||||
|
public ResultBean<AppReaRepaymentVo> initReaRepayment(String saleVehSid) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
ReaRepaymentVo reaRepaymentVo = loanBeOverdueVehFegin.initReaRepayment(saleVehSid).getData(); |
||||
|
AppReaRepaymentVo appReaRepaymentVo = new AppReaRepaymentVo(); |
||||
|
BeanUtil.copyProperties(reaRepaymentVo,appReaRepaymentVo); |
||||
|
return rb.success().setData(appReaRepaymentVo); |
||||
|
} |
||||
|
|
||||
|
public ResultBean maintReaRepayment(AppReaRepaymentDto appReaRepaymentDto) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
ReaRepaymentDto reaRepaymentDto = new ReaRepaymentDto(); |
||||
|
BeanUtil.copyProperties(appReaRepaymentDto,reaRepaymentDto); |
||||
|
busSalesOrderVehicleFeign.maintReaRepayment(reaRepaymentDto); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
public ResultBean<AppBeCollectionRecordInit> initCollectionEnter(String saleVehSid) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanBeCollectionRecordInit loanBeCollectionRecordInit = loanBeCollectionRecordFeign.init(saleVehSid).getData(); |
||||
|
AppBeCollectionRecordInit appBeCollectionRecordInit = new AppBeCollectionRecordInit(); |
||||
|
BeanUtil.copyProperties(loanBeCollectionRecordInit,appBeCollectionRecordInit); |
||||
|
List<LoanBeCollectionRecordVehInit> loanBeCollectionRecordVehInitList = loanBeCollectionRecordInit.getLoanBeCollectionRecordVehInitList(); |
||||
|
List<AppBeCollectionRecordVehInit> appBeCollectionRecordVehInits = new ArrayList<>(); |
||||
|
for (LoanBeCollectionRecordVehInit loanBeCollectionRecordVehInit : loanBeCollectionRecordVehInitList) { |
||||
|
AppBeCollectionRecordVehInit appBeCollectionRecordVehInit = new AppBeCollectionRecordVehInit(); |
||||
|
appBeCollectionRecordVehInit.setVinNo(loanBeCollectionRecordVehInit.getVinNo()); |
||||
|
appBeCollectionRecordVehInit.setCarNum(loanBeCollectionRecordVehInit.getCarNum()); |
||||
|
appBeCollectionRecordVehInit.setCustNameAndPhone(loanBeCollectionRecordVehInit.getCustNameAndPhone()); |
||||
|
appBeCollectionRecordVehInit.setReaRepaymentNameAndPhone(loanBeCollectionRecordVehInit.getReaRepaymentNameAndPhone()); |
||||
|
appBeCollectionRecordVehInit.setLoanContractNo(loanBeCollectionRecordVehInit.getLoanContractNo()); |
||||
|
appBeCollectionRecordVehInit.setBankName(loanBeCollectionRecordVehInit.getBankName()); |
||||
|
appBeCollectionRecordVehInit.setFirstBeDate(loanBeCollectionRecordVehInit.getFirstBeDate()); |
||||
|
appBeCollectionRecordVehInit.setBeOverduePeriod(loanBeCollectionRecordVehInit.getBeOverduePeriod()); |
||||
|
appBeCollectionRecordVehInit.setBeOverdueMoney(loanBeCollectionRecordVehInit.getBeOverdueMoney()); |
||||
|
appBeCollectionRecordVehInit.setBeOverdueMoneyAndPeriod(loanBeCollectionRecordVehInit.getBeOverdueMoneyAndPeriod()); |
||||
|
appBeCollectionRecordVehInit.setCsjlSid(loanBeCollectionRecordVehInit.getSaleVehSid()); |
||||
|
appBeCollectionRecordVehInit.setKpglSid(loanBeCollectionRecordVehInit.getKpglSid()); |
||||
|
appBeCollectionRecordVehInit.setYhmxSid(loanBeCollectionRecordVehInit.getYhmxSid()); |
||||
|
appBeCollectionRecordVehInit.setJrfaSid(loanBeCollectionRecordVehInit.getJrfaSid()); |
||||
|
appBeCollectionRecordVehInit.setJfkcSid(loanBeCollectionRecordVehInit.getKcbgSid()); |
||||
|
appBeCollectionRecordVehInits.add(appBeCollectionRecordVehInit); |
||||
|
} |
||||
|
appBeCollectionRecordInit.setAppBeCollectionRecordVehInitList(appBeCollectionRecordVehInits); |
||||
|
return rb.success().setData(appBeCollectionRecordInit); |
||||
|
} |
||||
|
|
||||
|
public ResultBean saveCollectionEnter(AppBeCollectionRecordDto dto) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue