
17 changed files with 1009 additions and 23 deletions
@ -0,0 +1,62 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanfileexamine; |
|||
|
|||
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; |
|||
|
|||
/** |
|||
* Project: anrui-riskcenter(放款资料审核) <br/> |
|||
* File: LoanFileexamine.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamine <br/> |
|||
* Description: 放款资料审核. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-09-08 09:43:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "放款资料审核", description = "放款资料审核") |
|||
@TableName("loan_fileexamine") |
|||
public class LoanFileexamine extends BaseEntity { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty("销售订单sid") |
|||
private String saleOrderSid; // 销售订单sid
|
|||
@ApiModelProperty("销售订单消贷合同sid") |
|||
private String loanContractSid; // 销售订单消贷合同sid
|
|||
@ApiModelProperty("资方状态") |
|||
private String bankState; // 资方状态
|
|||
@ApiModelProperty("资料状态") |
|||
private String fileState; // 资料状态
|
|||
|
|||
} |
@ -0,0 +1,82 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanfileexamine; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-riskcenter(放款资料审核) <br/> |
|||
* File: LoanFileexamineVo.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineVo <br/> |
|||
* Description: 放款资料审核 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-09-08 09:43:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "放款资料审核 视图数据详情", description = "放款资料审核 视图数据详情") |
|||
public class LoanFileexamineDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("消贷合同编号") |
|||
private String loanContractNo; |
|||
@ApiModelProperty("贷款人名称") |
|||
private String borrowerName; |
|||
@ApiModelProperty("台数") |
|||
private Integer num; |
|||
@ApiModelProperty("销售专员名称") |
|||
private String staffName; |
|||
@ApiModelProperty("车架号拼接") |
|||
private String vinNo; |
|||
@ApiModelProperty("银行卡") |
|||
private List<String> yhkImages; |
|||
@ApiModelProperty("购置税发票") |
|||
private List<String> gzsfpImages; |
|||
@ApiModelProperty("保险发票") |
|||
private List<String> bxfpImages; |
|||
@ApiModelProperty("保单") |
|||
private List<String> bdImages; |
|||
@ApiModelProperty("融资合同") |
|||
private List<String> rzhtImages; |
|||
@ApiModelProperty("资方状态") |
|||
private String bankState; |
|||
@ApiModelProperty("证明附件") |
|||
private List<String> zmfjImages; |
|||
@ApiModelProperty("备注") |
|||
private String remarks; |
|||
} |
@ -0,0 +1,63 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanfileexamine; |
|||
|
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-riskcenter(放款资料审核) <br/> |
|||
* File: LoanFileexamineDto.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineDto <br/> |
|||
* Description: 放款资料审核 数据传输对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-09-08 09:43:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "放款资料审核 数据传输对象", description = "放款资料审核 数据传输对象") |
|||
public class LoanFileexamineDto implements Dto { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("销售订单sid") |
|||
private String saleOrderSid; // 销售订单sid
|
|||
@ApiModelProperty("销售订单消贷合同sid") |
|||
private String loanContractSid; // 销售订单消贷合同sid
|
|||
@ApiModelProperty("资方状态") |
|||
private String bankState; // 资方状态
|
|||
@ApiModelProperty("资料状态") |
|||
private String fileState; // 资料状态
|
|||
|
|||
} |
@ -0,0 +1,78 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanfileexamine; |
|||
|
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-riskcenter(放款资料审核) <br/> |
|||
* File: LoanFileexamineFeign.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineFeign <br/> |
|||
* Description: 放款资料审核. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-09-08 09:43:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "放款资料审核") |
|||
@FeignClient( |
|||
contextId = "anrui-riskcenter-LoanFileexamine", |
|||
name = "anrui-riskcenter", |
|||
path = "v1/loanfileexamine", |
|||
fallback = LoanFileexamineFeignFallback.class) |
|||
public interface LoanFileexamineFeign { |
|||
|
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
@ResponseBody |
|||
public ResultBean<PagerVo<LoanFileexamineVo>> listPage(@RequestBody PagerQuery<LoanFileexamineQuery> pq); |
|||
|
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
@ResponseBody |
|||
public ResultBean save(@RequestBody LoanFileexamineDto dto); |
|||
|
|||
@ApiOperation("根据sid删除记录") |
|||
@DeleteMapping("/delBySids") |
|||
@ResponseBody |
|||
public ResultBean delBySids(@RequestBody String[] sids); |
|||
|
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
@ResponseBody |
|||
public ResultBean<LoanFileexamineDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
|||
} |
@ -0,0 +1,72 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanfileexamine; |
|||
|
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-riskcenter(放款资料审核) <br/> |
|||
* File: LoanFileexamineFeignFallback.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineFeignFallback <br/> |
|||
* Description: 放款资料审核. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-09-08 09:43:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Component |
|||
public class LoanFileexamineFeignFallback implements LoanFileexamineFeign { |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<LoanFileexamineVo>> listPage(PagerQuery<LoanFileexamineQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-riskcenter/loanfileexamine/listPage无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean save(LoanFileexamineDto dto){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loanfileexamine/save无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean delBySids( String[] sids){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loanfileexamine/delBySids无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<LoanFileexamineDetailsVo> fetchDetailsBySid(String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-riskcenter/loanfileexamine/fetchDetailsBySid无法访问"); |
|||
} |
|||
} |
@ -0,0 +1,79 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanfileexamine; |
|||
|
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-riskcenter(放款资料审核) <br/> |
|||
* File: LoanFileexamineQuery.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineQuery <br/> |
|||
* Description: 放款资料审核 查询条件. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-09-08 09:43:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "放款资料审核 查询条件", description = "放款资料审核 查询条件") |
|||
public class LoanFileexamineQuery implements Query { |
|||
|
|||
@ApiModelProperty("用户sid") |
|||
private String userSid; |
|||
@ApiModelProperty("分公司名称") |
|||
private String useOrgName; |
|||
@ApiModelProperty("销售部门名称") |
|||
private String saleDeptName; |
|||
@ApiModelProperty("销售专员名称") |
|||
private String staffName; |
|||
@ApiModelProperty("消贷合同编号") |
|||
private String loanContractNo; |
|||
@ApiModelProperty("贷款人名称") |
|||
private String loanPeoName; |
|||
@ApiModelProperty("资方") |
|||
private String bankName; |
|||
@ApiModelProperty("金融产品名称") |
|||
private String policyName; |
|||
@ApiModelProperty("资方合同号") |
|||
private String bankContractNo; |
|||
@ApiModelProperty("资方状态") |
|||
private String bankState; |
|||
@ApiModelProperty("资料状态") |
|||
private String fileState; |
|||
@ApiModelProperty("组织全路径") |
|||
private String orgSidPath; |
|||
private String menuUrl; |
|||
private String type; |
|||
private String names; |
|||
} |
@ -0,0 +1,76 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanfileexamine; |
|||
|
|||
|
|||
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: LoanFileexamineVo.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineVo <br/> |
|||
* Description: 放款资料审核 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-09-08 09:43:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "放款资料审核 视图数据对象", description = "放款资料审核 视图数据对象") |
|||
public class LoanFileexamineVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("分公司名称") |
|||
private String useOrgName; |
|||
@ApiModelProperty("销售部门名称") |
|||
private String orgName; |
|||
@ApiModelProperty("销售专员名称") |
|||
private String staffName; |
|||
@ApiModelProperty("资方状态") |
|||
private String bankState; |
|||
@ApiModelProperty("资料状态") |
|||
private String fileState; |
|||
@ApiModelProperty("消贷合同编号") |
|||
private String loanContractNo; |
|||
@ApiModelProperty("台数") |
|||
private String num; |
|||
@ApiModelProperty("贷款人名称") |
|||
private String borrowerName; |
|||
@ApiModelProperty("资方") |
|||
private String bankName; |
|||
@ApiModelProperty("金融产品名称") |
|||
private String policyName; |
|||
@ApiModelProperty("资方合同号") |
|||
private String bankContractNo; |
|||
} |
@ -0,0 +1,65 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.biz.loanfileexamine; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.Wrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.toolkit.Constants; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
import org.apache.ibatis.annotations.Select; |
|||
import com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamine; |
|||
import com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineVo; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-riskcenter(放款资料审核) <br/> |
|||
* File: LoanFileexamineMapper.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.biz.loanfileexamine.LoanFileexamineMapper <br/> |
|||
* Description: 放款资料审核. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-09-08 09:43:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Mapper |
|||
public interface LoanFileexamineMapper extends BaseMapper<LoanFileexamine> { |
|||
|
|||
//@Update("update loan_fileexamine set name=#{msg} where id=#{id}")
|
|||
//IPage<LoanFileexamineVo> voPage(IPage<LoanFileexamine> page, @Param(Constants.WRAPPER) QueryWrapper<LoanFileexamine> qw);
|
|||
|
|||
IPage<LoanFileexamineVo> selectPageVo(IPage<LoanFileexamine> page, @Param(Constants.WRAPPER) Wrapper<LoanFileexamine> qw); |
|||
|
|||
List<LoanFileexamineVo> selectListAllVo(@Param(Constants.WRAPPER) Wrapper<LoanFileexamine> qw); |
|||
|
|||
@Select("select * from loan_fileexamine") |
|||
List<LoanFileexamineVo> selectListVo(); |
|||
} |
@ -0,0 +1,37 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.yxt.anrui.riskcenter.biz.loanfileexamine.LoanFileexamineMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineVo"> |
|||
SELECT |
|||
lf.`sid`, |
|||
bo.`useOrgName`, |
|||
bo.`orgName`, |
|||
bo.`staffName`, |
|||
lf.`bankState`, |
|||
lf.`fileState`, |
|||
bl.`loanContractNo`, |
|||
bl.`vehCount` AS num, |
|||
bl.`borrowerName`, |
|||
bl.`bankName`, |
|||
bl.`policyName`, |
|||
bl.`bankContractNo` |
|||
FROM |
|||
loan_fileexamine lf |
|||
LEFT JOIN anrui_buscenter.`bus_sales_order` bo |
|||
ON lf.`saleOrderSid` = bo.`sid` |
|||
LEFT JOIN anrui_buscenter.`bus_sales_order_loancontract` bl |
|||
ON lf.`loanContractSid` = bl.`sid` |
|||
<where> |
|||
${ew.sqlSegment} |
|||
</where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" resultType="com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineVo"> |
|||
SELECT * FROM loan_fileexamine |
|||
<where> |
|||
${ew.sqlSegment} |
|||
</where> |
|||
</select> |
|||
</mapper> |
@ -0,0 +1,100 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.biz.loanfileexamine; |
|||
|
|||
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.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import java.util.List; |
|||
import com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamine; |
|||
import com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineQuery; |
|||
import com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineVo; |
|||
import com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineDetailsVo; |
|||
import com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineDto; |
|||
import com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineFeign; |
|||
|
|||
/** |
|||
* Project: anrui-riskcenter(放款资料审核) <br/> |
|||
* File: LoanFileexamineFeignFallback.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.biz.loanfileexamine.LoanFileexamineRest <br/> |
|||
* Description: 放款资料审核. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-09-08 09:43:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "放款资料审核") |
|||
@RestController("com.yxt.anrui.riskcenter.biz.loanfileexamine.LoanFileexamineRest") |
|||
@RequestMapping("v1/loanfileexamine") |
|||
public class LoanFileexamineRest implements LoanFileexamineFeign { |
|||
|
|||
@Autowired |
|||
private LoanFileexamineService loanFileexamineService; |
|||
|
|||
@Override |
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
public ResultBean<PagerVo<LoanFileexamineVo>> listPage(@RequestBody PagerQuery<LoanFileexamineQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
PagerVo<LoanFileexamineVo> pv = loanFileexamineService.listPageVo(pq); |
|||
return rb.success().setData(pv); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
public ResultBean save(@RequestBody LoanFileexamineDto dto){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
loanFileexamineService.saveOrUpdateDto(dto); |
|||
return rb.success(); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("根据sid批量删除") |
|||
@PostMapping("/delBySids") |
|||
public ResultBean delBySids(@RequestBody String[] sids){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
loanFileexamineService.delBySids(sids); |
|||
return rb.success(); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
public ResultBean<LoanFileexamineDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
LoanFileexamineDetailsVo vo = loanFileexamineService.fetchDetailsVoBySid(sid); |
|||
return rb.success().setData(vo); |
|||
} |
|||
} |
@ -0,0 +1,240 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.biz.loanfileexamine; |
|||
|
|||
import cn.hutool.core.bean.BeanUtil; |
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.yxt.anrui.buscenter.api.bussalesorder.BusSalesOrder; |
|||
import com.yxt.anrui.buscenter.api.bussalesorder.BusSalesOrderFeign; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractDetailsVo; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractFeign; |
|||
import com.yxt.anrui.buscenter.api.bussalesordervehicle.BusSalesOrderVehicle; |
|||
import com.yxt.anrui.buscenter.api.bussalesordervehicle.BusSalesOrderVehicleFeign; |
|||
import com.yxt.anrui.buscenter.api.bussalesvehicleorder.BusSalesVehicleOrderFeign; |
|||
import com.yxt.anrui.portal.api.sysuser.PrivilegeQuery; |
|||
import com.yxt.anrui.portal.api.sysuser.SysUserFeign; |
|||
import com.yxt.anrui.riskcenter.api.loanfile.LoanFileEnum; |
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitfileexamine.LoanHomevisitFileexamineVo; |
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatefile.LoanAttachTypeEnum; |
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatefile.LoanHomevisitInvestigateFileDetailsVo; |
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatefile.LoanHomevisitInvestigateFileFeign; |
|||
import com.yxt.anrui.riskcenter.biz.loanhomevisitinvestigatefile.LoanHomevisitInvestigateFileService; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import org.apache.commons.lang3.StringUtils; |
|||
import com.yxt.common.base.service.MybatisBaseService; |
|||
import com.yxt.common.base.utils.PagerUtil; |
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamine; |
|||
import com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineQuery; |
|||
import com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineVo; |
|||
import com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineDetailsVo; |
|||
import com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineDto; |
|||
|
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-riskcenter(放款资料审核) <br/> |
|||
* File: LoanFileexamineService.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.biz.loanfileexamine.LoanFileexamineService <br/> |
|||
* Description: 放款资料审核 业务逻辑. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-09-08 09:43:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Service |
|||
public class LoanFileexamineService extends MybatisBaseService<LoanFileexamineMapper, LoanFileexamine> { |
|||
|
|||
@Autowired |
|||
private SysUserFeign sysUserFeign; |
|||
@Autowired |
|||
private BusSalesOrderLoancontractFeign busSalesOrderLoancontractFeign; |
|||
@Autowired |
|||
private BusSalesOrderFeign busSalesOrderFeign; |
|||
@Autowired |
|||
private BusSalesOrderVehicleFeign busSalesOrderVehicleFeign; |
|||
@Autowired |
|||
private LoanHomevisitInvestigateFileService loanHomevisitInvestigateFileService; |
|||
|
|||
public PagerVo<LoanFileexamineVo> listPageVo(PagerQuery<LoanFileexamineQuery> pq) { |
|||
LoanFileexamineQuery query = pq.getParams(); |
|||
QueryWrapper<LoanFileexamine> qw = new QueryWrapper<>(); |
|||
qw.eq("bl.busNo",305); |
|||
if (StringUtils.isNotBlank(query.getMenuUrl())) { |
|||
//=======================
|
|||
PrivilegeQuery privilegeQuery = new PrivilegeQuery(); |
|||
privilegeQuery.setOrgPath(query.getOrgSidPath()); |
|||
privilegeQuery.setMenuUrl(query.getMenuUrl()); |
|||
privilegeQuery.setUserSid(query.getUserSid()); |
|||
ResultBean<String> defaultIdReltBean = sysUserFeign.selectPrivilegeLevel(privilegeQuery); |
|||
if (StringUtils.isNotBlank(defaultIdReltBean.getData())) { |
|||
//数据权限ID(1集团、2事业部、3分公司、4部门、5个人)
|
|||
String orgSidPath = query.getOrgSidPath(); |
|||
orgSidPath = orgSidPath + "/"; |
|||
int i1 = orgSidPath.indexOf("/"); |
|||
int i2 = orgSidPath.indexOf("/", i1 + 1); |
|||
int i3 = orgSidPath.indexOf("/", i2 + 1); |
|||
int i4 = orgSidPath.indexOf("/", i3 + 1); |
|||
String orgLevelKey = defaultIdReltBean.getData(); |
|||
if ("1".equals(orgLevelKey)) { |
|||
orgSidPath = orgSidPath.substring(0, i1); |
|||
qw.like("bo.orgSidPath", orgSidPath); |
|||
} else if ("2".equals(orgLevelKey)) { |
|||
orgSidPath = orgSidPath.substring(0, i2); |
|||
qw.like("bo.orgSidPath", orgSidPath); |
|||
} else if ("3".equals(orgLevelKey)) { |
|||
orgSidPath = orgSidPath.substring(0, i3); |
|||
qw.like("bo.orgSidPath", orgSidPath); |
|||
} else if ("4".equals(orgLevelKey)) { |
|||
orgSidPath = orgSidPath.substring(0, i4); |
|||
qw.like("bo.orgSidPath", orgSidPath); |
|||
} else if ("5".equals(orgLevelKey)) { |
|||
qw.eq("bo.createBySid", query.getUserSid()); |
|||
} else { |
|||
PagerVo<LoanFileexamineVo> p = new PagerVo<>(); |
|||
return p; |
|||
} |
|||
} else { |
|||
PagerVo<LoanFileexamineVo> p = new PagerVo<>(); |
|||
return p; |
|||
} |
|||
} |
|||
if (StringUtils.isNotBlank(query.getUseOrgName())) { |
|||
qw.like("bo.useOrgName", query.getUseOrgName()); |
|||
} |
|||
if (StringUtils.isNotBlank(query.getSaleDeptName())) { |
|||
qw.like("bo.orgName", query.getSaleDeptName()); |
|||
} |
|||
if (StringUtils.isNotBlank(query.getStaffName())) { |
|||
qw.like("bo.staffName", query.getStaffName()); |
|||
} |
|||
if (StringUtils.isNotBlank(query.getLoanContractNo())) { |
|||
qw.like("bl.loanContractNo", query.getLoanContractNo()); |
|||
} |
|||
if (StringUtils.isNotBlank(query.getLoanPeoName())) { |
|||
qw.like("bl.borrowerName", query.getLoanPeoName()); |
|||
} |
|||
if (StringUtils.isNotBlank(query.getBankName())) { |
|||
qw.like("bl.bankName", query.getBankName()); |
|||
} |
|||
if (StringUtils.isNotBlank(query.getPolicyName())) { |
|||
qw.like("bl.policyName", query.getPolicyName()); |
|||
} |
|||
if (StringUtils.isNotBlank(query.getBankContractNo())) { |
|||
qw.like("bl.bankContractNo", query.getBankContractNo()); |
|||
} |
|||
if (StringUtils.isNotBlank(query.getBankState())) { |
|||
qw.like("lf.bankState", query.getBankState()); |
|||
} |
|||
if (StringUtils.isNotBlank(query.getFileState())) { |
|||
qw.like("lf.fileState", query.getFileState()); |
|||
} |
|||
IPage<LoanFileexamine> page = PagerUtil.queryToPage(pq); |
|||
IPage<LoanFileexamineVo> pagging = baseMapper.selectPageVo(page, qw); |
|||
PagerVo<LoanFileexamineVo> p = PagerUtil.pageToVo(pagging, null); |
|||
return p; |
|||
} |
|||
|
|||
public void saveOrUpdateDto(LoanFileexamineDto dto){ |
|||
String dtoSid = dto.getSid(); |
|||
if (StringUtils.isBlank(dtoSid)) { |
|||
this.insertByDto(dto); |
|||
return; |
|||
} |
|||
this.updateByDto(dto); |
|||
} |
|||
|
|||
public void insertByDto(LoanFileexamineDto dto){ |
|||
LoanFileexamine entity = new LoanFileexamine(); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.insert(entity); |
|||
} |
|||
|
|||
public void updateByDto(LoanFileexamineDto dto){ |
|||
String dtoSid = dto.getSid(); |
|||
if (StringUtils.isBlank(dtoSid)) { |
|||
return; |
|||
} |
|||
LoanFileexamine entity = fetchBySid(dtoSid); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.updateById(entity); |
|||
} |
|||
|
|||
public LoanFileexamineDetailsVo fetchDetailsVoBySid(String sid){ |
|||
LoanFileexamine entity = fetchBySid(sid); |
|||
LoanFileexamineDetailsVo vo = new LoanFileexamineDetailsVo(); |
|||
BeanUtil.copyProperties(entity, vo); |
|||
BusSalesOrderLoancontractDetailsVo busSalesOrderLoancontractDetailsVo = busSalesOrderLoancontractFeign.fetchDetailsBySid(entity.getLoanContractSid()).getData(); |
|||
vo.setLoanContractNo(busSalesOrderLoancontractDetailsVo.getLoanCotractNo()); |
|||
vo.setBorrowerName(busSalesOrderLoancontractDetailsVo.getBorrowerName()); |
|||
vo.setNum(busSalesOrderLoancontractDetailsVo.getVehCount()); |
|||
BusSalesOrder busSalesOrder = busSalesOrderFeign.fetchBySid(entity.getSaleOrderSid()).getData(); |
|||
vo.setStaffName(busSalesOrder.getStaffName()); |
|||
List<BusSalesOrderVehicle> busSalesOrderVehicles = busSalesOrderVehicleFeign.selectListByOrderSid(entity.getSaleOrderSid()).getData(); |
|||
String vinNos = ""; |
|||
for (BusSalesOrderVehicle busSalesOrderVehicle : busSalesOrderVehicles) { |
|||
vinNos = vinNos + busSalesOrderVehicle.getLinkNo() + ","; |
|||
} |
|||
vo.setVinNo(vinNos.substring(0,vinNos.lastIndexOf(","))); |
|||
//银行卡
|
|||
List<LoanHomevisitInvestigateFileDetailsVo> yhkVos = loanHomevisitInvestigateFileService.selByMainSidAndTypeKey(sid, LoanAttachTypeEnum.YHK.getAttachType()); |
|||
List<String> yhkImages = new ArrayList<>(); |
|||
if (yhkVos != null && yhkVos.size() > 0){ |
|||
for (LoanHomevisitInvestigateFileDetailsVo loanHomevisitInvestigateFileDetailsVo : yhkVos) { |
|||
yhkImages.add(loanHomevisitInvestigateFileDetailsVo.getFileUrl()); |
|||
} |
|||
} |
|||
vo.setYhkImages(yhkImages); |
|||
//购置税发票
|
|||
List<LoanHomevisitInvestigateFileDetailsVo> gzsfpVos = loanHomevisitInvestigateFileService.selByMainSidAndTypeKey(sid, LoanAttachTypeEnum.GZSFP.getAttachType()); |
|||
List<String> gzsfpImages = new ArrayList<>(); |
|||
if (gzsfpVos != null && gzsfpVos.size() > 0){ |
|||
for (LoanHomevisitInvestigateFileDetailsVo loanHomevisitInvestigateFileDetailsVo : gzsfpVos) { |
|||
gzsfpImages.add(loanHomevisitInvestigateFileDetailsVo.getFileUrl()); |
|||
} |
|||
} |
|||
vo.setGzsfpImages(gzsfpImages); |
|||
//保险发票
|
|||
List<LoanHomevisitInvestigateFileDetailsVo> bxfpVos = loanHomevisitInvestigateFileService.selByMainSidAndTypeKey(sid, LoanAttachTypeEnum.BXFP.getAttachType()); |
|||
List<String> bxfpImages = new ArrayList<>(); |
|||
if (bxfpVos != null && bxfpVos.size() > 0){ |
|||
for (LoanHomevisitInvestigateFileDetailsVo loanHomevisitInvestigateFileDetailsVo : bxfpVos) { |
|||
bxfpImages.add(loanHomevisitInvestigateFileDetailsVo.getFileUrl()); |
|||
} |
|||
} |
|||
vo.setBxfpImages(bxfpImages); |
|||
return vo; |
|||
} |
|||
} |
Loading…
Reference in new issue