93 changed files with 4352 additions and 221 deletions
@ -0,0 +1,34 @@ |
|||||
|
package com.yxt.anrui.riskcenter.api.loancaseprogress; |
||||
|
|
||||
|
import com.yxt.anrui.riskcenter.api.loanoverduefin.UrlQuery; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author Fan |
||||
|
* @description |
||||
|
* @date 2024/2/28 10:14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class DetailsFees { |
||||
|
@ApiModelProperty("缴费项目") |
||||
|
private String paymentItems; |
||||
|
@ApiModelProperty("缴费时间") |
||||
|
private String paymentTime; |
||||
|
@ApiModelProperty("缴费金额") |
||||
|
private String paymentMoney; |
||||
|
@ApiModelProperty("操作时间") |
||||
|
private String operatingTime; |
||||
|
@ApiModelProperty("备注") |
||||
|
private String remarks; |
||||
|
@ApiModelProperty("操作人") |
||||
|
private String operator; |
||||
|
@ApiModelProperty("操作人Sid") |
||||
|
private String operatorSid; |
||||
|
private List<UrlQuery> feesfile = new ArrayList<>(); |
||||
|
} |
@ -0,0 +1,24 @@ |
|||||
|
package com.yxt.anrui.riskcenter.api.loancaseprogress; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author Fan |
||||
|
* @description |
||||
|
* @date 2024/2/28 10:14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class DetailsGuarantor { |
||||
|
@ApiModelProperty("姓名") |
||||
|
private String name; |
||||
|
@ApiModelProperty("身份证号") |
||||
|
private String idCardNo; |
||||
|
@ApiModelProperty("户籍地址") |
||||
|
private String registerAddress; |
||||
|
@ApiModelProperty("现住址") |
||||
|
private String currentAddress; |
||||
|
@ApiModelProperty("联系电话") |
||||
|
private String mobile; |
||||
|
private String remarks; |
||||
|
} |
@ -0,0 +1,41 @@ |
|||||
|
package com.yxt.anrui.riskcenter.api.loancaseprogress; |
||||
|
|
||||
|
import com.yxt.anrui.riskcenter.api.loanoverduefin.UrlQuery; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author Fan |
||||
|
* @description |
||||
|
* @date 2024/2/28 10:15 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class DetailsPreserve { |
||||
|
@ApiModelProperty("保全类型key") |
||||
|
private String preserveTypeKey; |
||||
|
@ApiModelProperty("保全类型") |
||||
|
private String preserveType; |
||||
|
@ApiModelProperty("保全项目") |
||||
|
private String preserveItems; |
||||
|
@ApiModelProperty("保全日期") |
||||
|
private String preserveTime; |
||||
|
@ApiModelProperty("保全金额") |
||||
|
private String preserveMoney; |
||||
|
@ApiModelProperty("有效期至") |
||||
|
private String dateTo; |
||||
|
@ApiModelProperty("操作时间") |
||||
|
private String operatingTime; |
||||
|
// @ApiModelProperty("附件")
|
||||
|
// private String filePath;
|
||||
|
@ApiModelProperty("操作人") |
||||
|
private String operator; |
||||
|
@ApiModelProperty("操作人Sid") |
||||
|
private String operatorSid; |
||||
|
private String remarks; |
||||
|
private List<UrlQuery> preservefile = new ArrayList<>(); |
||||
|
} |
@ -0,0 +1,22 @@ |
|||||
|
package com.yxt.anrui.riskcenter.api.loancaseprogress; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author Fan |
||||
|
* @description |
||||
|
* @date 2024/2/28 10:13 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class DetailsVeh { |
||||
|
private String busVinSid; |
||||
|
private String vinNo; |
||||
|
private String vehMark; |
||||
|
@ApiModelProperty("车辆状态(已控制、已收回、已处置)") |
||||
|
private String vehStatus; |
||||
|
@ApiModelProperty("挂靠公司") |
||||
|
private String affiliatedCompany; |
||||
|
@ApiModelProperty("挂车情况") |
||||
|
private String trailerInfo; |
||||
|
} |
@ -0,0 +1,31 @@ |
|||||
|
package com.yxt.anrui.riskcenter.api.loancaseprogress.tingshen; |
||||
|
|
||||
|
import com.yxt.anrui.riskcenter.api.loanoverduefin.UrlQuery; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author Fan |
||||
|
* @description |
||||
|
* @date 2024/2/28 15:11 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class DaiKaiTingInfo { |
||||
|
//待开庭
|
||||
|
@ApiModelProperty("待开庭-开庭所需天数") |
||||
|
private String trialNeedDays; |
||||
|
@ApiModelProperty("待开庭-开庭传票日期") |
||||
|
private String trialTime; |
||||
|
@ApiModelProperty("待开庭-预计开庭日期") |
||||
|
private String trialPreTime; |
||||
|
@ApiModelProperty("待开庭-备注") |
||||
|
private String trialRemarks; |
||||
|
@ApiModelProperty("待开庭-附件") |
||||
|
private List<UrlQuery> file = new ArrayList<>(); |
||||
|
@ApiModelProperty("待开庭-开庭时效要求天数") |
||||
|
private String trialDays; |
||||
|
} |
@ -0,0 +1,29 @@ |
|||||
|
package com.yxt.anrui.riskcenter.api.loancaseprogress.tingshen; |
||||
|
|
||||
|
import com.yxt.anrui.riskcenter.api.loanoverduefin.UrlQuery; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author Fan |
||||
|
* @description |
||||
|
* @date 2024/2/28 15:08 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class DaiLiAnInfo { |
||||
|
//待立案
|
||||
|
@ApiModelProperty("待立案-材料提交法院日期") |
||||
|
private String submitTime; |
||||
|
@ApiModelProperty("待立案-立案所需天数") |
||||
|
private String caseNeedDays; |
||||
|
@ApiModelProperty("待立案-备注") |
||||
|
private String pendingRemarks; |
||||
|
@ApiModelProperty("待立案-立案时效要求天数") |
||||
|
private String pendingDays; |
||||
|
@ApiModelProperty("待立案-附件") |
||||
|
private List<UrlQuery> file = new ArrayList<>(); |
||||
|
} |
@ -0,0 +1,28 @@ |
|||||
|
package com.yxt.anrui.riskcenter.api.loancaseprogress.tingshen; |
||||
|
|
||||
|
import com.yxt.anrui.riskcenter.api.loanoverduefin.UrlQuery; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author Fan |
||||
|
* @description |
||||
|
* @date 2024/2/28 15:07 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class DelegateInfo { |
||||
|
|
||||
|
@ApiModelProperty("律师事务所") |
||||
|
private String lawFirms; |
||||
|
@ApiModelProperty("承办律师") |
||||
|
private String lawer; |
||||
|
@ApiModelProperty("律师联系电话") |
||||
|
private String lawerPhone; |
||||
|
|
||||
|
private List<UrlQuery> file = new ArrayList<>(); |
||||
|
|
||||
|
private String lawyerSid; |
||||
|
} |
@ -0,0 +1,26 @@ |
|||||
|
package com.yxt.anrui.riskcenter.api.loancaseprogress.tingshen; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author Fan |
||||
|
* @description |
||||
|
* @date 2024/2/28 15:04 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class JudgeInfo { |
||||
|
|
||||
|
//法官信息
|
||||
|
@ApiModelProperty("管辖法院") |
||||
|
private String court; |
||||
|
@ApiModelProperty("法院地址") |
||||
|
private String courtAddress; |
||||
|
@ApiModelProperty("法官") |
||||
|
private String judge; |
||||
|
@ApiModelProperty("法官联系电话") |
||||
|
private String judgePhone; |
||||
|
@ApiModelProperty("案号") |
||||
|
private String caseNumber; |
||||
|
|
||||
|
} |
@ -0,0 +1,34 @@ |
|||||
|
package com.yxt.anrui.riskcenter.api.loancaseprogress.tingshen; |
||||
|
|
||||
|
import com.yxt.anrui.riskcenter.api.loanoverduefin.UrlQuery; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author Fan |
||||
|
* @description |
||||
|
* @date 2024/2/28 15:14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class PanJueInfo { |
||||
|
//已判决/调解
|
||||
|
@ApiModelProperty("已判决/调解-判决/调解日期") |
||||
|
private String verdictTime; |
||||
|
@ApiModelProperty("已判决/调解-结果") |
||||
|
private String verdictResult; |
||||
|
@ApiModelProperty("已判决/调解-金额") |
||||
|
private String verdictAmount; |
||||
|
@ApiModelProperty("已判决/调解-领取日期") |
||||
|
private String receiveTime; |
||||
|
@ApiModelProperty("已判决/调解-出判实际天数") |
||||
|
private String verdictDays; |
||||
|
@ApiModelProperty("已判决/调解-备注") |
||||
|
private String verdictRemarks; |
||||
|
@ApiModelProperty("已判决/调解-附件") |
||||
|
private List<UrlQuery> file = new ArrayList<>(); |
||||
|
} |
@ -0,0 +1,24 @@ |
|||||
|
package com.yxt.anrui.riskcenter.api.loancaseprogress.tingshen; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author Fan |
||||
|
* @description |
||||
|
* @date 2024/2/28 14:49 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ReviewVo { |
||||
|
|
||||
|
private String sid; |
||||
|
private JudgeInfo judgeInfo = new JudgeInfo();//法官信息
|
||||
|
private DelegateInfo delegateInfo = new DelegateInfo();//委派情况
|
||||
|
private DaiLiAnInfo daiLiAnInfo = new DaiLiAnInfo();//待立案
|
||||
|
private YiLiAnInfo yiLiAnInfo = new YiLiAnInfo();//已立案
|
||||
|
private DaiKaiTingInfo daiKaiTingInfo = new DaiKaiTingInfo();//待开庭
|
||||
|
private YiKaiTingInfo yiKaiTingInfo = new YiKaiTingInfo();//已开庭
|
||||
|
private PanJueInfo panJueInfo = new PanJueInfo();//已判决、调解
|
||||
|
private ShengXiaoInfo shengXiaoInfo = new ShengXiaoInfo();//已生效
|
||||
|
private ShangSuInfo shangSuInfo = new ShangSuInfo();//上诉
|
||||
|
|
||||
|
} |
@ -0,0 +1,31 @@ |
|||||
|
package com.yxt.anrui.riskcenter.api.loancaseprogress.tingshen; |
||||
|
|
||||
|
import com.yxt.anrui.riskcenter.api.loanoverduefin.UrlQuery; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author Fan |
||||
|
* @description |
||||
|
* @date 2024/2/28 16:21 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ShangSuInfo { |
||||
|
//上诉/应诉
|
||||
|
@ApiModelProperty("上诉/应诉-上诉日期") |
||||
|
private String appealTime; |
||||
|
@ApiModelProperty("上诉/应诉-材料递交日期") |
||||
|
private String infoTransferTime; |
||||
|
@ApiModelProperty("上诉/应诉-上诉实际天数") |
||||
|
private String appealNeedDays; |
||||
|
@ApiModelProperty("上诉/应诉-备注") |
||||
|
private String appealRemarks; |
||||
|
@ApiModelProperty("上诉/应诉-时效要求天数") |
||||
|
private String appealDays; |
||||
|
@ApiModelProperty("上诉/应诉-附件") |
||||
|
private List<UrlQuery> file = new ArrayList<>(); |
||||
|
} |
@ -0,0 +1,25 @@ |
|||||
|
package com.yxt.anrui.riskcenter.api.loancaseprogress.tingshen; |
||||
|
|
||||
|
import com.yxt.anrui.riskcenter.api.loanoverduefin.UrlQuery; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author Fan |
||||
|
* @description |
||||
|
* @date 2024/2/28 15:15 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ShengXiaoInfo { |
||||
|
//已生效
|
||||
|
@ApiModelProperty("已生效-生效日期") |
||||
|
private String effectTime; |
||||
|
@ApiModelProperty("已生效-备注") |
||||
|
private String effectRemarks; |
||||
|
@ApiModelProperty("已生效-附件") |
||||
|
private List<UrlQuery> file = new ArrayList<>(); |
||||
|
} |
@ -0,0 +1,31 @@ |
|||||
|
package com.yxt.anrui.riskcenter.api.loancaseprogress.tingshen; |
||||
|
|
||||
|
import com.yxt.anrui.riskcenter.api.loanoverduefin.UrlQuery; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author Fan |
||||
|
* @description |
||||
|
* @date 2024/2/28 15:12 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class YiKaiTingInfo { |
||||
|
//已开庭
|
||||
|
@ApiModelProperty("已开庭-一次开庭日期") |
||||
|
private String alreadyTime; |
||||
|
@ApiModelProperty("已开庭-开庭实际天数") |
||||
|
private String actualDays; |
||||
|
@ApiModelProperty("已开庭-二次开庭日期") |
||||
|
private String secondTime; |
||||
|
@ApiModelProperty("已开庭-庭审总结") |
||||
|
private String summary; |
||||
|
@ApiModelProperty("已开庭-出判时效要求天数") |
||||
|
private String alreadyDays; |
||||
|
@ApiModelProperty("已开庭-附件") |
||||
|
private List<UrlQuery> file = new ArrayList<>(); |
||||
|
} |
@ -0,0 +1,27 @@ |
|||||
|
package com.yxt.anrui.riskcenter.api.loancaseprogress.tingshen; |
||||
|
|
||||
|
import com.yxt.anrui.riskcenter.api.loanoverduefin.UrlQuery; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author Fan |
||||
|
* @description |
||||
|
* @date 2024/2/28 15:09 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class YiLiAnInfo { |
||||
|
//已立案
|
||||
|
@ApiModelProperty("已立案-立案日期") |
||||
|
private String filedTime; |
||||
|
@ApiModelProperty("已立案-立案实际天数") |
||||
|
private String filedDays; |
||||
|
@ApiModelProperty("已立案-备注") |
||||
|
private String filedRemarks; |
||||
|
@ApiModelProperty("已立案-附件") |
||||
|
private List<UrlQuery> file = new ArrayList<>(); |
||||
|
} |
File diff suppressed because it is too large
@ -0,0 +1,35 @@ |
|||||
|
package com.yxt.anrui.terminal.api.risk.caseclose; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||
|
import com.yxt.common.core.domain.BaseEntity; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author Administrator |
||||
|
* @description |
||||
|
* @date 2023/8/16 14:34 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class AppCaseProgressExecuteMeasureDetailsVo { |
||||
|
|
||||
|
@ApiModelProperty("执行措施") |
||||
|
private String measure; |
||||
|
@ApiModelProperty("执行日期") |
||||
|
private String measureTime; |
||||
|
@ApiModelProperty("执行回款金额") |
||||
|
private String measureMoney; |
||||
|
@ApiModelProperty("执行说明") |
||||
|
private String measureShows; |
||||
|
@ApiModelProperty("操作时间") |
||||
|
private String operatorTime; |
||||
|
@ApiModelProperty("操作人") |
||||
|
private String operator; |
||||
|
@ApiModelProperty("附件") |
||||
|
private List<String> appMeasureFiles; |
||||
|
} |
@ -0,0 +1,108 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.terminal.api.risk.caseentrustlawyer; |
||||
|
|
||||
|
|
||||
|
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.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(案件委托律师申请) <br/> |
||||
|
* File: LoanCaseEntrustLawyerApplyVo.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.api.loancaseentrustlawyerapply.LoanCaseEntrustLawyerApplyVo <br/> |
||||
|
* Description: 案件委托律师申请 视图数据对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2024-02-23 14:26:20 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "案件委托律师申请 视图数据详情", description = "案件委托律师申请 视图数据详情") |
||||
|
public class AppCaseEntrustLawyerApplyDetailsVo implements Vo { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("申请部门-申请人") |
||||
|
private String publishInfo; |
||||
|
@ApiModelProperty("申请日期") |
||||
|
private String time; |
||||
|
@ApiModelProperty("贷款合同编号") |
||||
|
private String loanContract; |
||||
|
@ApiModelProperty("贷款人") |
||||
|
private String lenderName; |
||||
|
@ApiModelProperty("客户") |
||||
|
private String customName; |
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vinNo; // 车架号
|
||||
|
@ApiModelProperty("欠款合计") |
||||
|
private String arrearsTotal; |
||||
|
@ApiModelProperty("律师事务所") |
||||
|
private String lawyerFirm; // 律师事务所
|
||||
|
@ApiModelProperty("承办律师") |
||||
|
private String lawyerName; // 承办律师
|
||||
|
@ApiModelProperty("律师联系电话") |
||||
|
private String lawyerPhone; // 律师联系电话
|
||||
|
@ApiModelProperty("诉讼方案") |
||||
|
private String proceedProgramme; // 诉讼方案
|
||||
|
@ApiModelProperty("车辆欠款金额") |
||||
|
private String carBeMoney; // 车辆欠款金额
|
||||
|
@ApiModelProperty("资金占用费") |
||||
|
private String fundPossCostMoney; // 资金占用费
|
||||
|
@ApiModelProperty("诉讼费用") |
||||
|
private String proceedMoney; // 诉讼费用
|
||||
|
@ApiModelProperty("律师费") |
||||
|
private String lawyerMoney; // 律师费
|
||||
|
@ApiModelProperty("保全费") |
||||
|
private String defendMoney; // 保全费
|
||||
|
@ApiModelProperty("其他费用") |
||||
|
private String otherMoney; // 其他费用
|
||||
|
@ApiModelProperty("其他费用说明") |
||||
|
private String otherMoneyRemarks; // 其他费用说明
|
||||
|
@ApiModelProperty("起诉金额合计") |
||||
|
private String sueMoneyTotal; // 起诉金额合计
|
||||
|
@ApiModelProperty("是否全额诉讼") |
||||
|
private String isFullProceed; // 是否全额诉讼
|
||||
|
@ApiModelProperty("部分诉讼说明") |
||||
|
private String partProceedRemarks; // 部分诉讼说明
|
||||
|
@ApiModelProperty("备注") |
||||
|
private String remarks; |
||||
|
@ApiModelProperty("流程实例的sid") |
||||
|
private String procInsId; |
||||
|
@ApiModelProperty("任务id") |
||||
|
private String taskId; |
||||
|
|
||||
|
@ApiModelProperty |
||||
|
private List<String> appWtxyFiles; |
||||
|
} |
@ -0,0 +1,66 @@ |
|||||
|
package com.yxt.anrui.terminal.api.risk.caseentrustlawyer; |
||||
|
|
||||
|
import com.yxt.anrui.terminal.api.risk.caseentrustlawyer.flowable.AppCaseEntrustLawyerDelegateQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseentrustlawyer.flowable.CaseEntrustLawyerQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseentrustlawyer.flowable.CaseEntrustLawyerTaskQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseentrustlawyer.flowable.CompleteCaseEntrustLawyerDto; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseexecute.AppCaseExecuteApplyDetailsVo; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseexecute.flowable.AppCaseExecuteDelegateQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseexecute.flowable.CaseExecuteQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseexecute.flowable.CaseExecuteTaskQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseexecute.flowable.CompleteCaseExecuteDto; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
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-CaseEntrustLawyer", |
||||
|
name = "anrui-terminal", |
||||
|
path = "riskcenter/v1/caseentrustlawyer", |
||||
|
fallback = CaseEntrustLawyerFeignFallback.class) |
||||
|
public interface CaseEntrustLawyerFeign { |
||||
|
|
||||
|
@ApiOperation("办理") |
||||
|
@PutMapping("/agreeCreditInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean agreeCreditInfo(@RequestBody CompleteCaseEntrustLawyerDto dto); |
||||
|
|
||||
|
@ApiOperation("驳回") |
||||
|
@PutMapping("/rejectCreditInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean rejectCreditInfo(@RequestBody CaseEntrustLawyerTaskQuery query); |
||||
|
|
||||
|
@ApiOperation("撤回") |
||||
|
@PutMapping("/recallCreditInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean recallCreditInfo(@RequestBody CaseEntrustLawyerTaskQuery query); |
||||
|
|
||||
|
@ApiOperation("终止") |
||||
|
@PutMapping("/stopCreditInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean stopCreditInfo(@RequestBody CaseEntrustLawyerTaskQuery query); |
||||
|
|
||||
|
@ApiOperation("获取流程操作标题") |
||||
|
@GetMapping("/getFlowOperateTitle") |
||||
|
@ResponseBody |
||||
|
ResultBean<String> getFlowOperateTitle(@SpringQueryMap CaseEntrustLawyerQuery query); |
||||
|
|
||||
|
@ApiOperation(value = "加签") |
||||
|
@PutMapping(value = "/delegate") |
||||
|
@ResponseBody |
||||
|
public ResultBean delegate(@RequestBody AppCaseEntrustLawyerDelegateQuery delegateQuery); |
||||
|
|
||||
|
@ApiOperation("案件委托律师详情") |
||||
|
@GetMapping("/details/{sid}") |
||||
|
@ResponseBody |
||||
|
public ResultBean<AppCaseEntrustLawyerApplyDetailsVo> collectionDetail(@PathVariable("sid") String sid); |
||||
|
} |
@ -0,0 +1,12 @@ |
|||||
|
package com.yxt.anrui.terminal.api.risk.caseentrustlawyer; |
||||
|
|
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2023/8/8 |
||||
|
**/ |
||||
|
@Component |
||||
|
public class CaseEntrustLawyerFeignFallback { |
||||
|
} |
@ -0,0 +1,25 @@ |
|||||
|
package com.yxt.anrui.terminal.api.risk.caseentrustlawyer.flowable; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonProperty; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author Administrator |
||||
|
* @description |
||||
|
* @date 2023/9/28 10:16 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class AppCaseEntrustLawyerDelegateQuery { |
||||
|
@ApiModelProperty |
||||
|
private String userSid; |
||||
|
@ApiModelProperty("流程实例id") |
||||
|
@JsonProperty("procInsId") |
||||
|
private String instanceId; |
||||
|
@ApiModelProperty("任务Id") |
||||
|
private String taskId; |
||||
|
@ApiModelProperty("审批人sid") |
||||
|
private String assignee; |
||||
|
@ApiModelProperty("填写意见") |
||||
|
private String views; |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
package com.yxt.anrui.terminal.api.risk.caseentrustlawyer.flowable; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class CaseEntrustLawyerQuery 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.caseentrustlawyer.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 CaseEntrustLawyerTaskQuery 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.caseentrustlawyer.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 CompleteCaseEntrustLawyerDto 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,86 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.terminal.biz.risk.caseentrustlawyer; |
||||
|
|
||||
|
import com.yxt.anrui.terminal.api.risk.caseentrustlawyer.AppCaseEntrustLawyerApplyDetailsVo; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseentrustlawyer.CaseEntrustLawyerFeign; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseentrustlawyer.flowable.AppCaseEntrustLawyerDelegateQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseentrustlawyer.flowable.CaseEntrustLawyerQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseentrustlawyer.flowable.CaseEntrustLawyerTaskQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseentrustlawyer.flowable.CompleteCaseEntrustLawyerDto; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseexecute.AppCaseExecuteApplyDetailsVo; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseexecute.CaseExecuteFeign; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseexecute.flowable.AppCaseExecuteDelegateQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseexecute.flowable.CaseExecuteQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseexecute.flowable.CaseExecuteTaskQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseexecute.flowable.CompleteCaseExecuteDto; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
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/caseentrustlawyer") |
||||
|
public class CaseEntrustLawyerRest implements CaseEntrustLawyerFeign { |
||||
|
|
||||
|
@Autowired |
||||
|
private CaseEntrustLawyerService caseEntrustLawyerService; |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean agreeCreditInfo(CompleteCaseEntrustLawyerDto dto) { |
||||
|
return caseEntrustLawyerService.agreeCreditInfo(dto); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean rejectCreditInfo(CaseEntrustLawyerTaskQuery query) { |
||||
|
return caseEntrustLawyerService.rejectCreditInfo(query); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean recallCreditInfo(CaseEntrustLawyerTaskQuery query) { |
||||
|
return caseEntrustLawyerService.recallCreditInfo(query); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean stopCreditInfo(CaseEntrustLawyerTaskQuery query) { |
||||
|
return caseEntrustLawyerService.stopCreditInfo(query); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<String> getFlowOperateTitle(CaseEntrustLawyerQuery query) { |
||||
|
return caseEntrustLawyerService.getFlowOperateTitle(query); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean delegate(AppCaseEntrustLawyerDelegateQuery delegateQuery) { |
||||
|
return caseEntrustLawyerService.delegate(delegateQuery); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppCaseEntrustLawyerApplyDetailsVo> collectionDetail(String sid) { |
||||
|
return caseEntrustLawyerService.collectionDetail(sid); |
||||
|
} |
||||
|
} |
@ -0,0 +1,165 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.terminal.biz.risk.caseentrustlawyer; |
||||
|
|
||||
|
|
||||
|
import cn.hutool.core.bean.BeanUtil; |
||||
|
import cn.hutool.core.date.DateUtil; |
||||
|
import com.yxt.anrui.riskcenter.api.loancaseentrustlawyerapply.LoanCaseEntrustLawyerApplyDetailsVo; |
||||
|
import com.yxt.anrui.riskcenter.api.loancaseentrustlawyerapply.LoanCaseEntrustLawyerApplyFeign; |
||||
|
import com.yxt.anrui.riskcenter.api.loancaseentrustlawyerapply.LoanCaseEntrustLawyerFile; |
||||
|
import com.yxt.anrui.riskcenter.api.loancaseentrustlawyerapply.flowable.LoanCaseEntrustLawyerApplyCompleteDto; |
||||
|
import com.yxt.anrui.riskcenter.api.loancaseentrustlawyerapply.flowable.LoanCaseEntrustLawyerApplyNodeQuery; |
||||
|
import com.yxt.anrui.riskcenter.api.loancaseentrustlawyerapply.flowable.LoanCaseEntrustLawyerApplyNodeVo; |
||||
|
import com.yxt.anrui.riskcenter.api.loancaseentrustlawyerapply.flowable.LoanCaseEntrustLawyerApplyTaskQuery; |
||||
|
import com.yxt.anrui.riskcenter.api.loancaseexecuteapply.LoanCaseExecuteApplyDetailsVo; |
||||
|
import com.yxt.anrui.riskcenter.api.loancaseexecuteapply.LoanCaseExecuteApplyFeign; |
||||
|
import com.yxt.anrui.riskcenter.api.loancaseexecuteapply.LoanCaseExecuteFile; |
||||
|
import com.yxt.anrui.riskcenter.api.loancaseexecuteapply.flowable.*; |
||||
|
import com.yxt.anrui.riskcenter.api.loancaseexecuteveh.LoanCaseExecuteVehDetailsVo; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseentrustlawyer.AppCaseEntrustLawyerApplyDetailsVo; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseentrustlawyer.flowable.AppCaseEntrustLawyerDelegateQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseentrustlawyer.flowable.CaseEntrustLawyerQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseentrustlawyer.flowable.CaseEntrustLawyerTaskQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseentrustlawyer.flowable.CompleteCaseEntrustLawyerDto; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseexecute.AppCaseExecuteApplyDetailsVo; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseexecute.AppCaseExecuteVehDetailsVo; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseexecute.flowable.AppCaseExecuteDelegateQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseexecute.flowable.CaseExecuteQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseexecute.flowable.CaseExecuteTaskQuery; |
||||
|
import com.yxt.anrui.terminal.api.risk.caseexecute.flowable.CompleteCaseExecuteDto; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
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 CaseEntrustLawyerService { |
||||
|
|
||||
|
@Autowired |
||||
|
private LoanCaseEntrustLawyerApplyFeign loanCaseEntrustLawyerApplyFeign; |
||||
|
|
||||
|
public ResultBean agreeCreditInfo(CompleteCaseEntrustLawyerDto dto) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanCaseEntrustLawyerApplyCompleteDto loanCaseEntrustLawyerApplyCompleteDto = new LoanCaseEntrustLawyerApplyCompleteDto(); |
||||
|
BeanUtil.copyProperties(dto, loanCaseEntrustLawyerApplyCompleteDto); |
||||
|
loanCaseEntrustLawyerApplyFeign.complete(loanCaseEntrustLawyerApplyCompleteDto); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
public ResultBean rejectCreditInfo(CaseEntrustLawyerTaskQuery query) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanCaseEntrustLawyerApplyTaskQuery taskQuery = new LoanCaseEntrustLawyerApplyTaskQuery(); |
||||
|
BeanUtil.copyProperties(query, taskQuery); |
||||
|
ResultBean resultBean = loanCaseEntrustLawyerApplyFeign.reject(taskQuery); |
||||
|
if (!resultBean.getSuccess()) { |
||||
|
return rb.setMsg(resultBean.getMsg()); |
||||
|
} |
||||
|
return rb.success().setData(resultBean.getData()); |
||||
|
} |
||||
|
|
||||
|
public ResultBean recallCreditInfo(CaseEntrustLawyerTaskQuery query) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanCaseEntrustLawyerApplyTaskQuery taskQuery = new LoanCaseEntrustLawyerApplyTaskQuery(); |
||||
|
BeanUtil.copyProperties(query, taskQuery); |
||||
|
ResultBean resultBean = loanCaseEntrustLawyerApplyFeign.revokeProcess(taskQuery); |
||||
|
if (!resultBean.getSuccess()) { |
||||
|
return rb.setMsg(resultBean.getMsg()); |
||||
|
} |
||||
|
return rb.success().setData(resultBean.getData()); |
||||
|
} |
||||
|
|
||||
|
public ResultBean stopCreditInfo(CaseEntrustLawyerTaskQuery query) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanCaseEntrustLawyerApplyTaskQuery taskQuery = new LoanCaseEntrustLawyerApplyTaskQuery(); |
||||
|
BeanUtil.copyProperties(query, taskQuery); |
||||
|
ResultBean resultBean = loanCaseEntrustLawyerApplyFeign.breakProcess(taskQuery); |
||||
|
if (!resultBean.getSuccess()) { |
||||
|
return rb.setMsg(resultBean.getMsg()); |
||||
|
} |
||||
|
return rb.success().setData(resultBean.getData()); |
||||
|
} |
||||
|
|
||||
|
public ResultBean<String> getFlowOperateTitle(CaseEntrustLawyerQuery query) { |
||||
|
ResultBean<String> rb = ResultBean.fireFail(); |
||||
|
//0 上一环节 1下一环节
|
||||
|
int next = query.getNext(); |
||||
|
LoanCaseEntrustLawyerApplyNodeQuery getNodeQuery = new LoanCaseEntrustLawyerApplyNodeQuery(); |
||||
|
BeanUtil.copyProperties(query, getNodeQuery); |
||||
|
String data = ""; |
||||
|
if (next == 0) { |
||||
|
ResultBean<List<LoanCaseEntrustLawyerApplyNodeVo>> previousNodesForReject = loanCaseEntrustLawyerApplyFeign.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<LoanCaseEntrustLawyerApplyNodeVo>> nextNodesForSubmit = loanCaseEntrustLawyerApplyFeign.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 delegate(AppCaseEntrustLawyerDelegateQuery delegateQuery) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanCaseEntrustLawyerApplyNodeQuery delegateQuery1 = new |
||||
|
LoanCaseEntrustLawyerApplyNodeQuery(); |
||||
|
BeanUtil.copyProperties(delegateQuery, delegateQuery1); |
||||
|
loanCaseEntrustLawyerApplyFeign.delegate(delegateQuery1); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
public ResultBean<AppCaseEntrustLawyerApplyDetailsVo> collectionDetail(String sid) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanCaseEntrustLawyerApplyDetailsVo loanCaseEntrustLawyerApplyDetailsVo = loanCaseEntrustLawyerApplyFeign.fetchDetailsBySid(sid).getData(); |
||||
|
AppCaseEntrustLawyerApplyDetailsVo appCaseEntrustLawyerApplyDetailsVo = new AppCaseEntrustLawyerApplyDetailsVo(); |
||||
|
BeanUtil.copyProperties(loanCaseEntrustLawyerApplyDetailsVo,appCaseEntrustLawyerApplyDetailsVo); |
||||
|
appCaseEntrustLawyerApplyDetailsVo.setPublishInfo(loanCaseEntrustLawyerApplyDetailsVo.getDeptName() + "-" + loanCaseEntrustLawyerApplyDetailsVo.getCreateByName()); |
||||
|
appCaseEntrustLawyerApplyDetailsVo.setTime(DateUtil.formatDate(loanCaseEntrustLawyerApplyDetailsVo.getCreateTime())); |
||||
|
appCaseEntrustLawyerApplyDetailsVo.setProcInsId(loanCaseEntrustLawyerApplyDetailsVo.getProcInstSid()); |
||||
|
List<LoanCaseEntrustLawyerFile> wtxyFiles = loanCaseEntrustLawyerApplyDetailsVo.getWtxyFiles(); |
||||
|
List<String> appWtxy = new ArrayList<>(); |
||||
|
if (wtxyFiles != null && wtxyFiles.size() > 0){ |
||||
|
for (LoanCaseEntrustLawyerFile file : wtxyFiles) { |
||||
|
appWtxy.add(file.getUrl()); |
||||
|
} |
||||
|
} |
||||
|
appCaseEntrustLawyerApplyDetailsVo.setAppWtxyFiles(appWtxy); |
||||
|
return rb.success().setData(appCaseEntrustLawyerApplyDetailsVo); |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue