130 changed files with 7947 additions and 288 deletions
@ -0,0 +1,72 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.api.bussalesorderborrower; |
|||
|
|||
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-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderBorrower.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrower <br/> |
|||
* Description: 销售订单-贷款人. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:47 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "销售订单-贷款人", description = "销售订单-贷款人") |
|||
@TableName("bus_sales_order_borrower") |
|||
public class BusSalesOrderBorrower extends BaseEntity { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty("销售订单sid") |
|||
private String salesOrderSid; // 销售订单sid
|
|||
@ApiModelProperty("借款人sid(客户sid)") |
|||
private String borrowerSid; // 借款人sid(客户sid)
|
|||
@ApiModelProperty("借款人名称") |
|||
private String borrowerName; // 借款人名称
|
|||
@ApiModelProperty("手机号码") |
|||
private String mobile; // 手机号码
|
|||
@ApiModelProperty("台数") |
|||
private Integer vehCount; // 台数
|
|||
@ApiModelProperty("金融产品名称") |
|||
private String policyName; // 金融产品名称
|
|||
@ApiModelProperty("业务阶段编码") |
|||
private String busNo; // 业务阶段编码
|
|||
@ApiModelProperty("业务阶段名称") |
|||
private String busName; // 业务阶段名称
|
|||
@ApiModelProperty("业务状态码") |
|||
private String busState; // 业务状态码
|
|||
|
|||
} |
@ -0,0 +1,73 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.api.bussalesorderborrower; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderBorrowerVo.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerVo <br/> |
|||
* Description: 销售订单-贷款人 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:48 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "销售订单-贷款人 视图数据详情", description = "销售订单-贷款人 视图数据详情") |
|||
public class BusSalesOrderBorrowerDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("销售订单sid") |
|||
private String salesOrderSid; // 销售订单sid
|
|||
@ApiModelProperty("借款人sid(客户sid)") |
|||
private String borrowerSid; // 借款人sid(客户sid)
|
|||
@ApiModelProperty("借款人名称") |
|||
private String borrowerName; // 借款人名称
|
|||
@ApiModelProperty("手机号码") |
|||
private String mobile; // 手机号码
|
|||
@ApiModelProperty("台数") |
|||
private Integer vehCount; // 台数
|
|||
@ApiModelProperty("金融产品名称") |
|||
private String policyName; // 金融产品名称
|
|||
@ApiModelProperty("业务阶段编码") |
|||
private String busNo; // 业务阶段编码
|
|||
@ApiModelProperty("业务阶段名称") |
|||
private String busName; // 业务阶段名称
|
|||
@ApiModelProperty("业务状态码") |
|||
private String busState; // 业务状态码
|
|||
|
|||
} |
@ -0,0 +1,73 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.api.bussalesorderborrower; |
|||
|
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderBorrowerDto.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerDto <br/> |
|||
* Description: 销售订单-贷款人 数据传输对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:47 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "销售订单-贷款人 数据传输对象", description = "销售订单-贷款人 数据传输对象") |
|||
public class BusSalesOrderBorrowerDto implements Dto { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("销售订单sid") |
|||
private String salesOrderSid; // 销售订单sid
|
|||
@ApiModelProperty("借款人sid(客户sid)") |
|||
private String borrowerSid; // 借款人sid(客户sid)
|
|||
@ApiModelProperty("借款人名称") |
|||
private String borrowerName; // 借款人名称
|
|||
@ApiModelProperty("手机号码") |
|||
private String mobile; // 手机号码
|
|||
@ApiModelProperty("台数") |
|||
private Integer vehCount; // 台数
|
|||
@ApiModelProperty("金融产品名称") |
|||
private String policyName; // 金融产品名称
|
|||
@ApiModelProperty("业务阶段编码") |
|||
private String busNo; // 业务阶段编码
|
|||
@ApiModelProperty("业务阶段名称") |
|||
private String busName; // 业务阶段名称
|
|||
@ApiModelProperty("业务状态码") |
|||
private String busState; // 业务状态码
|
|||
|
|||
} |
@ -0,0 +1,78 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.api.bussalesorderborrower; |
|||
|
|||
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-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderBorrowerFeign.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerFeign <br/> |
|||
* Description: 销售订单-贷款人. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:48 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "销售订单-贷款人") |
|||
@FeignClient( |
|||
contextId = "anrui-buscenter-BusSalesOrderBorrower", |
|||
name = "anrui-buscenter", |
|||
path = "v1/bussalesorderborrower", |
|||
fallback = BusSalesOrderBorrowerFeignFallback.class) |
|||
public interface BusSalesOrderBorrowerFeign { |
|||
|
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
@ResponseBody |
|||
public ResultBean<PagerVo<BusSalesOrderBorrowerVo>> listPage(@RequestBody PagerQuery<BusSalesOrderBorrowerQuery> pq); |
|||
|
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
@ResponseBody |
|||
public ResultBean save(@RequestBody BusSalesOrderBorrowerDto dto); |
|||
|
|||
@ApiOperation("根据sid删除记录") |
|||
@DeleteMapping("/delBySids") |
|||
@ResponseBody |
|||
public ResultBean delBySids(@RequestBody String[] sids); |
|||
|
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
@ResponseBody |
|||
public ResultBean<BusSalesOrderBorrowerDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
|||
} |
@ -0,0 +1,72 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.api.bussalesorderborrower; |
|||
|
|||
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-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderBorrowerFeignFallback.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerFeignFallback <br/> |
|||
* Description: 销售订单-贷款人. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:48 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Component |
|||
public class BusSalesOrderBorrowerFeignFallback implements BusSalesOrderBorrowerFeign { |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<BusSalesOrderBorrowerVo>> listPage(PagerQuery<BusSalesOrderBorrowerQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-buscenter/bussalesorderborrower/listPage无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean save(BusSalesOrderBorrowerDto dto){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-buscenter/bussalesorderborrower/save无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean delBySids( String[] sids){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-buscenter/bussalesorderborrower/delBySids无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<BusSalesOrderBorrowerDetailsVo> fetchDetailsBySid(String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-buscenter/bussalesorderborrower/fetchDetailsBySid无法访问"); |
|||
} |
|||
} |
@ -0,0 +1,71 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.api.bussalesorderborrower; |
|||
|
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderBorrowerQuery.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerQuery <br/> |
|||
* Description: 销售订单-贷款人 查询条件. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:47 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "销售订单-贷款人 查询条件", description = "销售订单-贷款人 查询条件") |
|||
public class BusSalesOrderBorrowerQuery implements Query { |
|||
|
|||
@ApiModelProperty("销售订单sid") |
|||
private String salesOrderSid; // 销售订单sid
|
|||
@ApiModelProperty("借款人sid(客户sid)") |
|||
private String borrowerSid; // 借款人sid(客户sid)
|
|||
@ApiModelProperty("借款人名称") |
|||
private String borrowerName; // 借款人名称
|
|||
@ApiModelProperty("手机号码") |
|||
private String mobile; // 手机号码
|
|||
@ApiModelProperty("台数") |
|||
private Integer vehCount; // 台数
|
|||
@ApiModelProperty("金融产品名称") |
|||
private String policyName; // 金融产品名称
|
|||
@ApiModelProperty("业务阶段编码") |
|||
private String busNo; // 业务阶段编码
|
|||
@ApiModelProperty("业务阶段名称") |
|||
private String busName; // 业务阶段名称
|
|||
@ApiModelProperty("业务状态码") |
|||
private String busState; // 业务状态码
|
|||
|
|||
} |
@ -0,0 +1,73 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.api.bussalesorderborrower; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderBorrowerVo.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerVo <br/> |
|||
* Description: 销售订单-贷款人 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:48 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "销售订单-贷款人 视图数据对象", description = "销售订单-贷款人 视图数据对象") |
|||
public class BusSalesOrderBorrowerVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("销售订单sid") |
|||
private String salesOrderSid; // 销售订单sid
|
|||
@ApiModelProperty("借款人sid(客户sid)") |
|||
private String borrowerSid; // 借款人sid(客户sid)
|
|||
@ApiModelProperty("借款人名称") |
|||
private String borrowerName; // 借款人名称
|
|||
@ApiModelProperty("手机号码") |
|||
private String mobile; // 手机号码
|
|||
@ApiModelProperty("台数") |
|||
private Integer vehCount; // 台数
|
|||
@ApiModelProperty("金融产品名称") |
|||
private String policyName; // 金融产品名称
|
|||
@ApiModelProperty("业务阶段编码") |
|||
private String busNo; // 业务阶段编码
|
|||
@ApiModelProperty("业务阶段名称") |
|||
private String busName; // 业务阶段名称
|
|||
@ApiModelProperty("业务状态码") |
|||
private String busState; // 业务状态码
|
|||
|
|||
} |
@ -0,0 +1,74 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.api.bussalesorderloancontract; |
|||
|
|||
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-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderLoancontract.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontract <br/> |
|||
* Description: 销售订单-消贷合同. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:48 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "销售订单-消贷合同", description = "销售订单-消贷合同") |
|||
@TableName("bus_sales_order_loancontract") |
|||
public class BusSalesOrderLoancontract extends BaseEntity { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty("销售订单sid") |
|||
private String salesOrderSid; // 销售订单sid
|
|||
@ApiModelProperty("借款人sid(客户sid)") |
|||
private String borrowerSid; // 借款人sid(客户sid)
|
|||
@ApiModelProperty("借款人名称") |
|||
private String borrowerName; // 借款人名称
|
|||
@ApiModelProperty("台数") |
|||
private Integer vehCount; // 台数
|
|||
@ApiModelProperty("消贷合同编号") |
|||
private String loanCotractNo; // 消贷合同编号
|
|||
@ApiModelProperty("资方合同号") |
|||
private String bankContractNo; // 资方合同号
|
|||
@ApiModelProperty("金融产品名称") |
|||
private String policyName; // 金融产品名称
|
|||
@ApiModelProperty("业务阶段编码") |
|||
private String busNo; // 业务阶段编码
|
|||
@ApiModelProperty("业务阶段名称") |
|||
private String busName; // 业务阶段名称
|
|||
@ApiModelProperty("业务状态码") |
|||
private String busState; // 业务状态码
|
|||
|
|||
} |
@ -0,0 +1,75 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.api.bussalesorderloancontract; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderLoancontractVo.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractVo <br/> |
|||
* Description: 销售订单-消贷合同 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:48 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "销售订单-消贷合同 视图数据详情", description = "销售订单-消贷合同 视图数据详情") |
|||
public class BusSalesOrderLoancontractDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("销售订单sid") |
|||
private String salesOrderSid; // 销售订单sid
|
|||
@ApiModelProperty("借款人sid(客户sid)") |
|||
private String borrowerSid; // 借款人sid(客户sid)
|
|||
@ApiModelProperty("借款人名称") |
|||
private String borrowerName; // 借款人名称
|
|||
@ApiModelProperty("台数") |
|||
private Integer vehCount; // 台数
|
|||
@ApiModelProperty("消贷合同编号") |
|||
private String loanCotractNo; // 消贷合同编号
|
|||
@ApiModelProperty("资方合同号") |
|||
private String bankContractNo; // 资方合同号
|
|||
@ApiModelProperty("金融产品名称") |
|||
private String policyName; // 金融产品名称
|
|||
@ApiModelProperty("业务阶段编码") |
|||
private String busNo; // 业务阶段编码
|
|||
@ApiModelProperty("业务阶段名称") |
|||
private String busName; // 业务阶段名称
|
|||
@ApiModelProperty("业务状态码") |
|||
private String busState; // 业务状态码
|
|||
|
|||
} |
@ -0,0 +1,75 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.api.bussalesorderloancontract; |
|||
|
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderLoancontractDto.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractDto <br/> |
|||
* Description: 销售订单-消贷合同 数据传输对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:48 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "销售订单-消贷合同 数据传输对象", description = "销售订单-消贷合同 数据传输对象") |
|||
public class BusSalesOrderLoancontractDto implements Dto { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("销售订单sid") |
|||
private String salesOrderSid; // 销售订单sid
|
|||
@ApiModelProperty("借款人sid(客户sid)") |
|||
private String borrowerSid; // 借款人sid(客户sid)
|
|||
@ApiModelProperty("借款人名称") |
|||
private String borrowerName; // 借款人名称
|
|||
@ApiModelProperty("台数") |
|||
private Integer vehCount; // 台数
|
|||
@ApiModelProperty("消贷合同编号") |
|||
private String loanCotractNo; // 消贷合同编号
|
|||
@ApiModelProperty("资方合同号") |
|||
private String bankContractNo; // 资方合同号
|
|||
@ApiModelProperty("金融产品名称") |
|||
private String policyName; // 金融产品名称
|
|||
@ApiModelProperty("业务阶段编码") |
|||
private String busNo; // 业务阶段编码
|
|||
@ApiModelProperty("业务阶段名称") |
|||
private String busName; // 业务阶段名称
|
|||
@ApiModelProperty("业务状态码") |
|||
private String busState; // 业务状态码
|
|||
|
|||
} |
@ -0,0 +1,78 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.api.bussalesorderloancontract; |
|||
|
|||
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-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderLoancontractFeign.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractFeign <br/> |
|||
* Description: 销售订单-消贷合同. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:48 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "销售订单-消贷合同") |
|||
@FeignClient( |
|||
contextId = "anrui-buscenter-BusSalesOrderLoancontract", |
|||
name = "anrui-buscenter", |
|||
path = "v1/bussalesorderloancontract", |
|||
fallback = BusSalesOrderLoancontractFeignFallback.class) |
|||
public interface BusSalesOrderLoancontractFeign { |
|||
|
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
@ResponseBody |
|||
public ResultBean<PagerVo<BusSalesOrderLoancontractVo>> listPage(@RequestBody PagerQuery<BusSalesOrderLoancontractQuery> pq); |
|||
|
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
@ResponseBody |
|||
public ResultBean save(@RequestBody BusSalesOrderLoancontractDto dto); |
|||
|
|||
@ApiOperation("根据sid删除记录") |
|||
@DeleteMapping("/delBySids") |
|||
@ResponseBody |
|||
public ResultBean delBySids(@RequestBody String[] sids); |
|||
|
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
@ResponseBody |
|||
public ResultBean<BusSalesOrderLoancontractDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
|||
} |
@ -0,0 +1,72 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.api.bussalesorderloancontract; |
|||
|
|||
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-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderLoancontractFeignFallback.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractFeignFallback <br/> |
|||
* Description: 销售订单-消贷合同. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:48 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Component |
|||
public class BusSalesOrderLoancontractFeignFallback implements BusSalesOrderLoancontractFeign { |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<BusSalesOrderLoancontractVo>> listPage(PagerQuery<BusSalesOrderLoancontractQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-buscenter/bussalesorderloancontract/listPage无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean save(BusSalesOrderLoancontractDto dto){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-buscenter/bussalesorderloancontract/save无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean delBySids( String[] sids){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-buscenter/bussalesorderloancontract/delBySids无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<BusSalesOrderLoancontractDetailsVo> fetchDetailsBySid(String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-buscenter/bussalesorderloancontract/fetchDetailsBySid无法访问"); |
|||
} |
|||
} |
@ -0,0 +1,73 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.api.bussalesorderloancontract; |
|||
|
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderLoancontractQuery.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractQuery <br/> |
|||
* Description: 销售订单-消贷合同 查询条件. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:48 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "销售订单-消贷合同 查询条件", description = "销售订单-消贷合同 查询条件") |
|||
public class BusSalesOrderLoancontractQuery implements Query { |
|||
|
|||
@ApiModelProperty("销售订单sid") |
|||
private String salesOrderSid; // 销售订单sid
|
|||
@ApiModelProperty("借款人sid(客户sid)") |
|||
private String borrowerSid; // 借款人sid(客户sid)
|
|||
@ApiModelProperty("借款人名称") |
|||
private String borrowerName; // 借款人名称
|
|||
@ApiModelProperty("台数") |
|||
private Integer vehCount; // 台数
|
|||
@ApiModelProperty("消贷合同编号") |
|||
private String loanCotractNo; // 消贷合同编号
|
|||
@ApiModelProperty("资方合同号") |
|||
private String bankContractNo; // 资方合同号
|
|||
@ApiModelProperty("金融产品名称") |
|||
private String policyName; // 金融产品名称
|
|||
@ApiModelProperty("业务阶段编码") |
|||
private String busNo; // 业务阶段编码
|
|||
@ApiModelProperty("业务阶段名称") |
|||
private String busName; // 业务阶段名称
|
|||
@ApiModelProperty("业务状态码") |
|||
private String busState; // 业务状态码
|
|||
|
|||
} |
@ -0,0 +1,75 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.api.bussalesorderloancontract; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderLoancontractVo.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractVo <br/> |
|||
* Description: 销售订单-消贷合同 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:48 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "销售订单-消贷合同 视图数据对象", description = "销售订单-消贷合同 视图数据对象") |
|||
public class BusSalesOrderLoancontractVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("销售订单sid") |
|||
private String salesOrderSid; // 销售订单sid
|
|||
@ApiModelProperty("借款人sid(客户sid)") |
|||
private String borrowerSid; // 借款人sid(客户sid)
|
|||
@ApiModelProperty("借款人名称") |
|||
private String borrowerName; // 借款人名称
|
|||
@ApiModelProperty("台数") |
|||
private Integer vehCount; // 台数
|
|||
@ApiModelProperty("消贷合同编号") |
|||
private String loanCotractNo; // 消贷合同编号
|
|||
@ApiModelProperty("资方合同号") |
|||
private String bankContractNo; // 资方合同号
|
|||
@ApiModelProperty("金融产品名称") |
|||
private String policyName; // 金融产品名称
|
|||
@ApiModelProperty("业务阶段编码") |
|||
private String busNo; // 业务阶段编码
|
|||
@ApiModelProperty("业务阶段名称") |
|||
private String busName; // 业务阶段名称
|
|||
@ApiModelProperty("业务状态码") |
|||
private String busState; // 业务状态码
|
|||
|
|||
} |
@ -0,0 +1,65 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.biz.bussalesorderborrower; |
|||
|
|||
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.buscenter.api.bussalesorderborrower.BusSalesOrderBorrower; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerVo; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderBorrowerMapper.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.biz.bussalesorderborrower.BusSalesOrderBorrowerMapper <br/> |
|||
* Description: 销售订单-贷款人. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:48 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Mapper |
|||
public interface BusSalesOrderBorrowerMapper extends BaseMapper<BusSalesOrderBorrower> { |
|||
|
|||
//@Update("update bus_sales_order_borrower set name=#{msg} where id=#{id}")
|
|||
//IPage<BusSalesOrderBorrowerVo> voPage(IPage<BusSalesOrderBorrower> page, @Param(Constants.WRAPPER) QueryWrapper<BusSalesOrderBorrower> qw);
|
|||
|
|||
IPage<BusSalesOrderBorrowerVo> selectPageVo(IPage<BusSalesOrderBorrower> page, @Param(Constants.WRAPPER) Wrapper<BusSalesOrderBorrower> qw); |
|||
|
|||
List<BusSalesOrderBorrowerVo> selectListAllVo(@Param(Constants.WRAPPER) Wrapper<BusSalesOrderBorrower> qw); |
|||
|
|||
@Select("select * from bus_sales_order_borrower") |
|||
List<BusSalesOrderBorrowerVo> selectListVo(); |
|||
} |
@ -0,0 +1,13 @@ |
|||
<?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.buscenter.biz.bussalesorderborrower.BusSalesOrderBorrowerMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerVo"> |
|||
SELECT * FROM bus_sales_order_borrower <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" resultType="com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerVo"> |
|||
SELECT * FROM bus_sales_order_borrower <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
</mapper> |
@ -0,0 +1,100 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.biz.bussalesorderborrower; |
|||
|
|||
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.buscenter.api.bussalesorderborrower.BusSalesOrderBorrower; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerQuery; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerVo; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerDetailsVo; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerDto; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerFeign; |
|||
|
|||
/** |
|||
* Project: anrui-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderBorrowerFeignFallback.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.biz.bussalesorderborrower.BusSalesOrderBorrowerRest <br/> |
|||
* Description: 销售订单-贷款人. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:48 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "销售订单-贷款人") |
|||
@RestController("com.yxt.anrui.buscenter.biz.bussalesorderborrower.BusSalesOrderBorrowerRest") |
|||
@RequestMapping("v1/bussalesorderborrower") |
|||
public class BusSalesOrderBorrowerRest implements BusSalesOrderBorrowerFeign { |
|||
|
|||
@Autowired |
|||
private BusSalesOrderBorrowerService busSalesOrderBorrowerService; |
|||
|
|||
@Override |
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
public ResultBean<PagerVo<BusSalesOrderBorrowerVo>> listPage(@RequestBody PagerQuery<BusSalesOrderBorrowerQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
PagerVo<BusSalesOrderBorrowerVo> pv = busSalesOrderBorrowerService.listPageVo(pq); |
|||
return rb.success().setData(pv); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
public ResultBean save(@RequestBody BusSalesOrderBorrowerDto dto){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
busSalesOrderBorrowerService.saveOrUpdateDto(dto); |
|||
return rb.success(); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("根据sid批量删除") |
|||
@PostMapping("/delBySids") |
|||
public ResultBean delBySids(@RequestBody String[] sids){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
busSalesOrderBorrowerService.delBySids(sids); |
|||
return rb.success(); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
public ResultBean<BusSalesOrderBorrowerDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
BusSalesOrderBorrowerDetailsVo vo = busSalesOrderBorrowerService.fetchDetailsVoBySid(sid); |
|||
return rb.success().setData(vo); |
|||
} |
|||
} |
@ -0,0 +1,110 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.biz.bussalesorderborrower; |
|||
|
|||
import cn.hutool.core.bean.BeanUtil; |
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
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.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrower; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerQuery; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerVo; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerDetailsVo; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerDto; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerFeign; |
|||
|
|||
import org.springframework.stereotype.Service; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderBorrowerService.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.biz.bussalesorderborrower.BusSalesOrderBorrowerService <br/> |
|||
* Description: 销售订单-贷款人 业务逻辑. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:48 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Service |
|||
public class BusSalesOrderBorrowerService extends MybatisBaseService<BusSalesOrderBorrowerMapper, BusSalesOrderBorrower> { |
|||
private QueryWrapper<BusSalesOrderBorrower> createQueryWrapper(BusSalesOrderBorrowerQuery query) { |
|||
// todo: 这里根据具体业务调整查询条件
|
|||
// 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName()));
|
|||
QueryWrapper<BusSalesOrderBorrower> qw = new QueryWrapper<>(); |
|||
return qw; |
|||
} |
|||
|
|||
public PagerVo<BusSalesOrderBorrowerVo> listPageVo(PagerQuery<BusSalesOrderBorrowerQuery> pq) { |
|||
BusSalesOrderBorrowerQuery query = pq.getParams(); |
|||
QueryWrapper<BusSalesOrderBorrower> qw = createQueryWrapper(query); |
|||
IPage<BusSalesOrderBorrower> page = PagerUtil.queryToPage(pq); |
|||
IPage<BusSalesOrderBorrowerVo> pagging = baseMapper.selectPageVo(page, qw); |
|||
PagerVo<BusSalesOrderBorrowerVo> p = PagerUtil.pageToVo(pagging, null); |
|||
return p; |
|||
} |
|||
|
|||
public void saveOrUpdateDto(BusSalesOrderBorrowerDto dto){ |
|||
String dtoSid = dto.getSid(); |
|||
if (StringUtils.isBlank(dtoSid)) { |
|||
this.insertByDto(dto); |
|||
return; |
|||
} |
|||
this.updateByDto(dto); |
|||
} |
|||
|
|||
public void insertByDto(BusSalesOrderBorrowerDto dto){ |
|||
BusSalesOrderBorrower entity = new BusSalesOrderBorrower(); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.insert(entity); |
|||
} |
|||
|
|||
public void updateByDto(BusSalesOrderBorrowerDto dto){ |
|||
String dtoSid = dto.getSid(); |
|||
if (StringUtils.isBlank(dtoSid)) { |
|||
return; |
|||
} |
|||
BusSalesOrderBorrower entity = fetchBySid(dtoSid); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.updateById(entity); |
|||
} |
|||
|
|||
public BusSalesOrderBorrowerDetailsVo fetchDetailsVoBySid(String sid){ |
|||
BusSalesOrderBorrower entity = fetchBySid(sid); |
|||
BusSalesOrderBorrowerDetailsVo vo = new BusSalesOrderBorrowerDetailsVo(); |
|||
BeanUtil.copyProperties(entity, vo); |
|||
return vo; |
|||
} |
|||
} |
@ -0,0 +1,65 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.biz.bussalesorderloancontract; |
|||
|
|||
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.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontract; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractVo; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderLoancontractMapper.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.biz.bussalesorderloancontract.BusSalesOrderLoancontractMapper <br/> |
|||
* Description: 销售订单-消贷合同. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:48 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Mapper |
|||
public interface BusSalesOrderLoancontractMapper extends BaseMapper<BusSalesOrderLoancontract> { |
|||
|
|||
//@Update("update bus_sales_order_loancontract set name=#{msg} where id=#{id}")
|
|||
//IPage<BusSalesOrderLoancontractVo> voPage(IPage<BusSalesOrderLoancontract> page, @Param(Constants.WRAPPER) QueryWrapper<BusSalesOrderLoancontract> qw);
|
|||
|
|||
IPage<BusSalesOrderLoancontractVo> selectPageVo(IPage<BusSalesOrderLoancontract> page, @Param(Constants.WRAPPER) Wrapper<BusSalesOrderLoancontract> qw); |
|||
|
|||
List<BusSalesOrderLoancontractVo> selectListAllVo(@Param(Constants.WRAPPER) Wrapper<BusSalesOrderLoancontract> qw); |
|||
|
|||
@Select("select * from bus_sales_order_loancontract") |
|||
List<BusSalesOrderLoancontractVo> selectListVo(); |
|||
} |
@ -0,0 +1,13 @@ |
|||
<?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.buscenter.biz.bussalesorderloancontract.BusSalesOrderLoancontractMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractVo"> |
|||
SELECT * FROM bus_sales_order_loancontract <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" resultType="com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractVo"> |
|||
SELECT * FROM bus_sales_order_loancontract <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
</mapper> |
@ -0,0 +1,100 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.biz.bussalesorderloancontract; |
|||
|
|||
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.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontract; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractQuery; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractVo; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractDetailsVo; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractDto; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractFeign; |
|||
|
|||
/** |
|||
* Project: anrui-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderLoancontractFeignFallback.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.biz.bussalesorderloancontract.BusSalesOrderLoancontractRest <br/> |
|||
* Description: 销售订单-消贷合同. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:48 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "销售订单-消贷合同") |
|||
@RestController("com.yxt.anrui.buscenter.biz.bussalesorderloancontract.BusSalesOrderLoancontractRest") |
|||
@RequestMapping("v1/bussalesorderloancontract") |
|||
public class BusSalesOrderLoancontractRest implements BusSalesOrderLoancontractFeign { |
|||
|
|||
@Autowired |
|||
private BusSalesOrderLoancontractService busSalesOrderLoancontractService; |
|||
|
|||
@Override |
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
public ResultBean<PagerVo<BusSalesOrderLoancontractVo>> listPage(@RequestBody PagerQuery<BusSalesOrderLoancontractQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
PagerVo<BusSalesOrderLoancontractVo> pv = busSalesOrderLoancontractService.listPageVo(pq); |
|||
return rb.success().setData(pv); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
public ResultBean save(@RequestBody BusSalesOrderLoancontractDto dto){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
busSalesOrderLoancontractService.saveOrUpdateDto(dto); |
|||
return rb.success(); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("根据sid批量删除") |
|||
@PostMapping("/delBySids") |
|||
public ResultBean delBySids(@RequestBody String[] sids){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
busSalesOrderLoancontractService.delBySids(sids); |
|||
return rb.success(); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
public ResultBean<BusSalesOrderLoancontractDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
BusSalesOrderLoancontractDetailsVo vo = busSalesOrderLoancontractService.fetchDetailsVoBySid(sid); |
|||
return rb.success().setData(vo); |
|||
} |
|||
} |
@ -0,0 +1,110 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.biz.bussalesorderloancontract; |
|||
|
|||
import cn.hutool.core.bean.BeanUtil; |
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
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.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontract; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractQuery; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractVo; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractDetailsVo; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractDto; |
|||
import com.yxt.anrui.buscenter.api.bussalesorderloancontract.BusSalesOrderLoancontractFeign; |
|||
|
|||
import org.springframework.stereotype.Service; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-buscenter(销售订单) <br/> |
|||
* File: BusSalesOrderLoancontractService.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.biz.bussalesorderloancontract.BusSalesOrderLoancontractService <br/> |
|||
* Description: 销售订单-消贷合同 业务逻辑. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 13:46:48 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Service |
|||
public class BusSalesOrderLoancontractService extends MybatisBaseService<BusSalesOrderLoancontractMapper, BusSalesOrderLoancontract> { |
|||
private QueryWrapper<BusSalesOrderLoancontract> createQueryWrapper(BusSalesOrderLoancontractQuery query) { |
|||
// todo: 这里根据具体业务调整查询条件
|
|||
// 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName()));
|
|||
QueryWrapper<BusSalesOrderLoancontract> qw = new QueryWrapper<>(); |
|||
return qw; |
|||
} |
|||
|
|||
public PagerVo<BusSalesOrderLoancontractVo> listPageVo(PagerQuery<BusSalesOrderLoancontractQuery> pq) { |
|||
BusSalesOrderLoancontractQuery query = pq.getParams(); |
|||
QueryWrapper<BusSalesOrderLoancontract> qw = createQueryWrapper(query); |
|||
IPage<BusSalesOrderLoancontract> page = PagerUtil.queryToPage(pq); |
|||
IPage<BusSalesOrderLoancontractVo> pagging = baseMapper.selectPageVo(page, qw); |
|||
PagerVo<BusSalesOrderLoancontractVo> p = PagerUtil.pageToVo(pagging, null); |
|||
return p; |
|||
} |
|||
|
|||
public void saveOrUpdateDto(BusSalesOrderLoancontractDto dto){ |
|||
String dtoSid = dto.getSid(); |
|||
if (StringUtils.isBlank(dtoSid)) { |
|||
this.insertByDto(dto); |
|||
return; |
|||
} |
|||
this.updateByDto(dto); |
|||
} |
|||
|
|||
public void insertByDto(BusSalesOrderLoancontractDto dto){ |
|||
BusSalesOrderLoancontract entity = new BusSalesOrderLoancontract(); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.insert(entity); |
|||
} |
|||
|
|||
public void updateByDto(BusSalesOrderLoancontractDto dto){ |
|||
String dtoSid = dto.getSid(); |
|||
if (StringUtils.isBlank(dtoSid)) { |
|||
return; |
|||
} |
|||
BusSalesOrderLoancontract entity = fetchBySid(dtoSid); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.updateById(entity); |
|||
} |
|||
|
|||
public BusSalesOrderLoancontractDetailsVo fetchDetailsVoBySid(String sid){ |
|||
BusSalesOrderLoancontract entity = fetchBySid(sid); |
|||
BusSalesOrderLoancontractDetailsVo vo = new BusSalesOrderLoancontractDetailsVo(); |
|||
BeanUtil.copyProperties(entity, vo); |
|||
return vo; |
|||
} |
|||
} |
@ -0,0 +1,32 @@ |
|||
package com.yxt.anrui.fin.api.finvehicleinvoice; |
|||
|
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author Administrator |
|||
* @description |
|||
* @date 2023/8/10 13:34 |
|||
*/ |
|||
@Data |
|||
public class FinDeliveredFinVo { |
|||
|
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; |
|||
@ApiModelProperty("销售类型") |
|||
private String paymentMethod; |
|||
@ApiModelProperty("合同编号") |
|||
private String contractNo; |
|||
@ApiModelProperty("客户名称") |
|||
private String customerName; |
|||
@ApiModelProperty("车型") |
|||
private String modelName; |
|||
@ApiModelProperty("款项情况") |
|||
private List<FinSelectInvoiceVo> finSelectVoList = new ArrayList<>(); |
|||
@ApiModelProperty("发票情况") |
|||
private FinVinInvoiceVo vinInvoiceVo = new FinVinInvoiceVo(); |
|||
|
|||
} |
@ -0,0 +1,36 @@ |
|||
package com.yxt.anrui.fin.api.finvehicleinvoice; |
|||
|
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author Administrator |
|||
* @description |
|||
* @date 2023/8/10 13:35 |
|||
*/ |
|||
@Data |
|||
public class FinSelectInvoiceVo { |
|||
|
|||
@ApiModelProperty("款项名称") |
|||
private String receivablesName; |
|||
@ApiModelProperty("付款方式") |
|||
private String collectionTypeValue; |
|||
@ApiModelProperty("已收金额") |
|||
private String subscriptionMoneyAll; |
|||
@ApiModelProperty("备注") |
|||
private String remarks; |
|||
@ApiModelProperty("付款时间") |
|||
private String subscriptionDate; |
|||
@ApiModelProperty("收款账号") |
|||
private String collectionBankNum; |
|||
@ApiModelProperty("收款账户") |
|||
private String receivingName; |
|||
@ApiModelProperty("付款人") |
|||
private String payerName; |
|||
@ApiModelProperty("收款时间") |
|||
private String collectionDate; |
|||
// @ApiModelProperty("应收金额")
|
|||
// private String reveivableMoney;
|
|||
// @ApiModelProperty("未收金额")
|
|||
// private String notSubscriptionMoney;
|
|||
} |
@ -0,0 +1,41 @@ |
|||
package com.yxt.anrui.fin.api.finvehicleinvoice; |
|||
|
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author Administrator |
|||
* @description |
|||
* @date 2023/8/10 13:34 |
|||
*/ |
|||
@Data |
|||
public class FinVinInvoiceVo { |
|||
//开票名称
|
|||
private String invoicingName; |
|||
//税号
|
|||
private String invoiceNo; |
|||
//开票单位
|
|||
private String invoiceTitle; |
|||
//开票类型
|
|||
private String invoiceType; |
|||
//开票状态
|
|||
private String billingState; |
|||
//开票金额
|
|||
private String invoiceAmount; |
|||
//开票日期
|
|||
private String invoiceDate; |
|||
//移交状态
|
|||
private String transferState; |
|||
@ApiModelProperty("地址") |
|||
private String address; |
|||
@ApiModelProperty("联系电话") |
|||
private String telPhone; |
|||
@ApiModelProperty("开户行") |
|||
private String openingBank; |
|||
@ApiModelProperty("银行账号") |
|||
private String bankNum; |
|||
@ApiModelProperty("接收人") |
|||
private String recipient; |
|||
@ApiModelProperty("移交日期") |
|||
private String transferTime; |
|||
} |
@ -0,0 +1,70 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate; |
|||
|
|||
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: LoanHomevisitInvestigate.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigate <br/> |
|||
* Description: 家访考察. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察", description = "家访考察") |
|||
@TableName("loan_homevisit_investigate") |
|||
public class LoanHomevisitInvestigate extends BaseEntity { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty("预约家访时间") |
|||
private String resHomeVisDate; // 预约家访时间
|
|||
@ApiModelProperty("家访地点") |
|||
private String homeVisAddress; // 家访地点
|
|||
@ApiModelProperty("家访专员用户sid") |
|||
private String homeVisUserSid; // 家访专员用户sid
|
|||
@ApiModelProperty("家访专员姓名") |
|||
private String homeVisStaffName; // 家访专员姓名
|
|||
@ApiModelProperty("考察结果key") |
|||
private String investigateKey; // 考察结果key
|
|||
@ApiModelProperty("考察结果value") |
|||
private String investigateValue; // 考察结果value
|
|||
@ApiModelProperty("销售订单sid") |
|||
private String saleOrderSid; // 销售订单sid
|
|||
@ApiModelProperty("销售订单贷款人表sid") |
|||
private String saleOrderBorrowerSid; // 销售订单贷款人表sid
|
|||
|
|||
} |
@ -0,0 +1,71 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateVo.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateVo <br/> |
|||
* Description: 家访考察 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察 视图数据详情", description = "家访考察 视图数据详情") |
|||
public class LoanHomevisitInvestigateDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("预约家访时间") |
|||
private String resHomeVisDate; // 预约家访时间
|
|||
@ApiModelProperty("家访地点") |
|||
private String homeVisAddress; // 家访地点
|
|||
@ApiModelProperty("家访专员用户sid") |
|||
private String homeVisUserSid; // 家访专员用户sid
|
|||
@ApiModelProperty("家访专员姓名") |
|||
private String homeVisStaffName; // 家访专员姓名
|
|||
@ApiModelProperty("考察结果key") |
|||
private String investigateKey; // 考察结果key
|
|||
@ApiModelProperty("考察结果value") |
|||
private String investigateValue; // 考察结果value
|
|||
@ApiModelProperty("销售订单sid") |
|||
private String saleOrderSid; // 销售订单sid
|
|||
@ApiModelProperty("销售订单贷款人表sid") |
|||
private String saleOrderBorrowerSid; // 销售订单贷款人表sid
|
|||
|
|||
} |
@ -0,0 +1,71 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateDto.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateDto <br/> |
|||
* Description: 家访考察 数据传输对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察 数据传输对象", description = "家访考察 数据传输对象") |
|||
public class LoanHomevisitInvestigateDto implements Dto { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("预约家访时间") |
|||
private String resHomeVisDate; // 预约家访时间
|
|||
@ApiModelProperty("家访地点") |
|||
private String homeVisAddress; // 家访地点
|
|||
@ApiModelProperty("家访专员用户sid") |
|||
private String homeVisUserSid; // 家访专员用户sid
|
|||
@ApiModelProperty("家访专员姓名") |
|||
private String homeVisStaffName; // 家访专员姓名
|
|||
@ApiModelProperty("考察结果key") |
|||
private String investigateKey; // 考察结果key
|
|||
@ApiModelProperty("考察结果value") |
|||
private String investigateValue; // 考察结果value
|
|||
@ApiModelProperty("销售订单sid") |
|||
private String saleOrderSid; // 销售订单sid
|
|||
@ApiModelProperty("销售订单贷款人表sid") |
|||
private String saleOrderBorrowerSid; // 销售订单贷款人表sid
|
|||
|
|||
} |
@ -0,0 +1,78 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate; |
|||
|
|||
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: LoanHomevisitInvestigateFeign.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateFeign <br/> |
|||
* Description: 家访考察. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "家访考察") |
|||
@FeignClient( |
|||
contextId = "anrui-riskcenter-LoanHomevisitInvestigate", |
|||
name = "anrui-riskcenter", |
|||
path = "v1/loanhomevisitinvestigate", |
|||
fallback = LoanHomevisitInvestigateFeignFallback.class) |
|||
public interface LoanHomevisitInvestigateFeign { |
|||
|
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
@ResponseBody |
|||
public ResultBean<PagerVo<LoanHomevisitInvestigateVo>> listPage(@RequestBody PagerQuery<LoanHomevisitInvestigateQuery> pq); |
|||
|
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
@ResponseBody |
|||
public ResultBean save(@RequestBody LoanHomevisitInvestigateDto dto); |
|||
|
|||
@ApiOperation("根据sid删除记录") |
|||
@DeleteMapping("/delBySids") |
|||
@ResponseBody |
|||
public ResultBean delBySids(@RequestBody String[] sids); |
|||
|
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
@ResponseBody |
|||
public ResultBean<LoanHomevisitInvestigateDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
|||
} |
@ -0,0 +1,72 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate; |
|||
|
|||
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: LoanHomevisitInvestigateFeignFallback.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateFeignFallback <br/> |
|||
* Description: 家访考察. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Component |
|||
public class LoanHomevisitInvestigateFeignFallback implements LoanHomevisitInvestigateFeign { |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<LoanHomevisitInvestigateVo>> listPage(PagerQuery<LoanHomevisitInvestigateQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-riskcenter/loanhomevisitinvestigate/listPage无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean save(LoanHomevisitInvestigateDto dto){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loanhomevisitinvestigate/save无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean delBySids( String[] sids){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loanhomevisitinvestigate/delBySids无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<LoanHomevisitInvestigateDetailsVo> fetchDetailsBySid(String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-riskcenter/loanhomevisitinvestigate/fetchDetailsBySid无法访问"); |
|||
} |
|||
} |
@ -0,0 +1,69 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateQuery.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateQuery <br/> |
|||
* Description: 家访考察 查询条件. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察 查询条件", description = "家访考察 查询条件") |
|||
public class LoanHomevisitInvestigateQuery implements Query { |
|||
|
|||
@ApiModelProperty("预约家访时间") |
|||
private String resHomeVisDate; // 预约家访时间
|
|||
@ApiModelProperty("家访地点") |
|||
private String homeVisAddress; // 家访地点
|
|||
@ApiModelProperty("家访专员用户sid") |
|||
private String homeVisUserSid; // 家访专员用户sid
|
|||
@ApiModelProperty("家访专员姓名") |
|||
private String homeVisStaffName; // 家访专员姓名
|
|||
@ApiModelProperty("考察结果key") |
|||
private String investigateKey; // 考察结果key
|
|||
@ApiModelProperty("考察结果value") |
|||
private String investigateValue; // 考察结果value
|
|||
@ApiModelProperty("销售订单sid") |
|||
private String saleOrderSid; // 销售订单sid
|
|||
@ApiModelProperty("销售订单贷款人表sid") |
|||
private String saleOrderBorrowerSid; // 销售订单贷款人表sid
|
|||
|
|||
} |
@ -0,0 +1,71 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateVo.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateVo <br/> |
|||
* Description: 家访考察 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察 视图数据对象", description = "家访考察 视图数据对象") |
|||
public class LoanHomevisitInvestigateVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("预约家访时间") |
|||
private String resHomeVisDate; // 预约家访时间
|
|||
@ApiModelProperty("家访地点") |
|||
private String homeVisAddress; // 家访地点
|
|||
@ApiModelProperty("家访专员用户sid") |
|||
private String homeVisUserSid; // 家访专员用户sid
|
|||
@ApiModelProperty("家访专员姓名") |
|||
private String homeVisStaffName; // 家访专员姓名
|
|||
@ApiModelProperty("考察结果key") |
|||
private String investigateKey; // 考察结果key
|
|||
@ApiModelProperty("考察结果value") |
|||
private String investigateValue; // 考察结果value
|
|||
@ApiModelProperty("销售订单sid") |
|||
private String saleOrderSid; // 销售订单sid
|
|||
@ApiModelProperty("销售订单贷款人表sid") |
|||
private String saleOrderBorrowerSid; // 销售订单贷款人表sid
|
|||
|
|||
} |
@ -0,0 +1,108 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatecustomer; |
|||
|
|||
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: LoanHomevisitInvestigateCustomer.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatecustomer.LoanHomevisitInvestigateCustomer <br/> |
|||
* Description: 家访考察-客户信息. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-客户信息", description = "家访考察-客户信息") |
|||
@TableName("loan_homevisit_investigate_customer") |
|||
public class LoanHomevisitInvestigateCustomer extends BaseEntity { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty("是否为实际购车人") |
|||
private String isConfirmRealBuyer; // 是否为实际购车人
|
|||
@ApiModelProperty("借款人sid") |
|||
private String borrowerSid; // 借款人sid
|
|||
@ApiModelProperty("借款人姓名") |
|||
private String borrowerName; // 借款人姓名
|
|||
@ApiModelProperty("借款人身份证号") |
|||
private String borrowerIdNumber; // 借款人身份证号
|
|||
@ApiModelProperty("借款人手机号") |
|||
private String borrowerMobile; // 借款人手机号
|
|||
@ApiModelProperty("借款人职业key") |
|||
private String borrowerCareerKey; // 借款人职业key
|
|||
@ApiModelProperty("借款人职业value") |
|||
private String borrowerCareerValue; // 借款人职业value
|
|||
@ApiModelProperty("婚姻状况key") |
|||
private String maritalStatusKey; // 婚姻状况key
|
|||
@ApiModelProperty("婚姻状况value") |
|||
private String maritalStatusValue; // 婚姻状况value
|
|||
@ApiModelProperty("有无子女key") |
|||
private String isChildrenKey; // 有无子女key
|
|||
@ApiModelProperty("有无子女value") |
|||
private String isChildrenValue; // 有无子女value
|
|||
@ApiModelProperty("借款人户籍地址") |
|||
private String borrowerDomAddress; // 借款人户籍地址
|
|||
@ApiModelProperty("借款人现住址") |
|||
private String borrowerPreAddress; // 借款人现住址
|
|||
@ApiModelProperty("银行卡号") |
|||
private String bankCardNo; // 银行卡号
|
|||
@ApiModelProperty("开户行") |
|||
private String depositBank; // 开户行
|
|||
@ApiModelProperty("配偶姓名") |
|||
private String spouseName; // 配偶姓名
|
|||
@ApiModelProperty("配偶身份证号") |
|||
private String spouseIdNumber; // 配偶身份证号
|
|||
@ApiModelProperty("配偶手机号") |
|||
private String spouseMobile; // 配偶手机号
|
|||
@ApiModelProperty("配偶职业key") |
|||
private String spouseCareerKey; // 配偶职业key
|
|||
@ApiModelProperty("配偶职业value") |
|||
private String spouseCareerValue; // 配偶职业value
|
|||
@ApiModelProperty("配偶户籍地址") |
|||
private String spouseDomAddress; // 配偶户籍地址
|
|||
@ApiModelProperty("配偶现住址") |
|||
private String spousePreAddress; // 配偶现住址
|
|||
@ApiModelProperty("紧急联系人") |
|||
private String emergencyContact; // 紧急联系人
|
|||
@ApiModelProperty("紧急联系电话") |
|||
private String emergencyMobile; // 紧急联系电话
|
|||
@ApiModelProperty("关系key") |
|||
private String relationshipKey; // 关系key
|
|||
@ApiModelProperty("关系value") |
|||
private String relationshipValue; // 关系value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,109 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatecustomer; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateCustomerVo.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatecustomer.LoanHomevisitInvestigateCustomerVo <br/> |
|||
* Description: 家访考察-客户信息 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-客户信息 视图数据详情", description = "家访考察-客户信息 视图数据详情") |
|||
public class LoanHomevisitInvestigateCustomerDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("是否为实际购车人") |
|||
private String isConfirmRealBuyer; // 是否为实际购车人
|
|||
@ApiModelProperty("借款人sid") |
|||
private String borrowerSid; // 借款人sid
|
|||
@ApiModelProperty("借款人姓名") |
|||
private String borrowerName; // 借款人姓名
|
|||
@ApiModelProperty("借款人身份证号") |
|||
private String borrowerIdNumber; // 借款人身份证号
|
|||
@ApiModelProperty("借款人手机号") |
|||
private String borrowerMobile; // 借款人手机号
|
|||
@ApiModelProperty("借款人职业key") |
|||
private String borrowerCareerKey; // 借款人职业key
|
|||
@ApiModelProperty("借款人职业value") |
|||
private String borrowerCareerValue; // 借款人职业value
|
|||
@ApiModelProperty("婚姻状况key") |
|||
private String maritalStatusKey; // 婚姻状况key
|
|||
@ApiModelProperty("婚姻状况value") |
|||
private String maritalStatusValue; // 婚姻状况value
|
|||
@ApiModelProperty("有无子女key") |
|||
private String isChildrenKey; // 有无子女key
|
|||
@ApiModelProperty("有无子女value") |
|||
private String isChildrenValue; // 有无子女value
|
|||
@ApiModelProperty("借款人户籍地址") |
|||
private String borrowerDomAddress; // 借款人户籍地址
|
|||
@ApiModelProperty("借款人现住址") |
|||
private String borrowerPreAddress; // 借款人现住址
|
|||
@ApiModelProperty("银行卡号") |
|||
private String bankCardNo; // 银行卡号
|
|||
@ApiModelProperty("开户行") |
|||
private String depositBank; // 开户行
|
|||
@ApiModelProperty("配偶姓名") |
|||
private String spouseName; // 配偶姓名
|
|||
@ApiModelProperty("配偶身份证号") |
|||
private String spouseIdNumber; // 配偶身份证号
|
|||
@ApiModelProperty("配偶手机号") |
|||
private String spouseMobile; // 配偶手机号
|
|||
@ApiModelProperty("配偶职业key") |
|||
private String spouseCareerKey; // 配偶职业key
|
|||
@ApiModelProperty("配偶职业value") |
|||
private String spouseCareerValue; // 配偶职业value
|
|||
@ApiModelProperty("配偶户籍地址") |
|||
private String spouseDomAddress; // 配偶户籍地址
|
|||
@ApiModelProperty("配偶现住址") |
|||
private String spousePreAddress; // 配偶现住址
|
|||
@ApiModelProperty("紧急联系人") |
|||
private String emergencyContact; // 紧急联系人
|
|||
@ApiModelProperty("紧急联系电话") |
|||
private String emergencyMobile; // 紧急联系电话
|
|||
@ApiModelProperty("关系key") |
|||
private String relationshipKey; // 关系key
|
|||
@ApiModelProperty("关系value") |
|||
private String relationshipValue; // 关系value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,109 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatecustomer; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateCustomerDto.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatecustomer.LoanHomevisitInvestigateCustomerDto <br/> |
|||
* Description: 家访考察-客户信息 数据传输对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-客户信息 数据传输对象", description = "家访考察-客户信息 数据传输对象") |
|||
public class LoanHomevisitInvestigateCustomerDto implements Dto { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("是否为实际购车人") |
|||
private String isConfirmRealBuyer; // 是否为实际购车人
|
|||
@ApiModelProperty("借款人sid") |
|||
private String borrowerSid; // 借款人sid
|
|||
@ApiModelProperty("借款人姓名") |
|||
private String borrowerName; // 借款人姓名
|
|||
@ApiModelProperty("借款人身份证号") |
|||
private String borrowerIdNumber; // 借款人身份证号
|
|||
@ApiModelProperty("借款人手机号") |
|||
private String borrowerMobile; // 借款人手机号
|
|||
@ApiModelProperty("借款人职业key") |
|||
private String borrowerCareerKey; // 借款人职业key
|
|||
@ApiModelProperty("借款人职业value") |
|||
private String borrowerCareerValue; // 借款人职业value
|
|||
@ApiModelProperty("婚姻状况key") |
|||
private String maritalStatusKey; // 婚姻状况key
|
|||
@ApiModelProperty("婚姻状况value") |
|||
private String maritalStatusValue; // 婚姻状况value
|
|||
@ApiModelProperty("有无子女key") |
|||
private String isChildrenKey; // 有无子女key
|
|||
@ApiModelProperty("有无子女value") |
|||
private String isChildrenValue; // 有无子女value
|
|||
@ApiModelProperty("借款人户籍地址") |
|||
private String borrowerDomAddress; // 借款人户籍地址
|
|||
@ApiModelProperty("借款人现住址") |
|||
private String borrowerPreAddress; // 借款人现住址
|
|||
@ApiModelProperty("银行卡号") |
|||
private String bankCardNo; // 银行卡号
|
|||
@ApiModelProperty("开户行") |
|||
private String depositBank; // 开户行
|
|||
@ApiModelProperty("配偶姓名") |
|||
private String spouseName; // 配偶姓名
|
|||
@ApiModelProperty("配偶身份证号") |
|||
private String spouseIdNumber; // 配偶身份证号
|
|||
@ApiModelProperty("配偶手机号") |
|||
private String spouseMobile; // 配偶手机号
|
|||
@ApiModelProperty("配偶职业key") |
|||
private String spouseCareerKey; // 配偶职业key
|
|||
@ApiModelProperty("配偶职业value") |
|||
private String spouseCareerValue; // 配偶职业value
|
|||
@ApiModelProperty("配偶户籍地址") |
|||
private String spouseDomAddress; // 配偶户籍地址
|
|||
@ApiModelProperty("配偶现住址") |
|||
private String spousePreAddress; // 配偶现住址
|
|||
@ApiModelProperty("紧急联系人") |
|||
private String emergencyContact; // 紧急联系人
|
|||
@ApiModelProperty("紧急联系电话") |
|||
private String emergencyMobile; // 紧急联系电话
|
|||
@ApiModelProperty("关系key") |
|||
private String relationshipKey; // 关系key
|
|||
@ApiModelProperty("关系value") |
|||
private String relationshipValue; // 关系value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,78 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatecustomer; |
|||
|
|||
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: LoanHomevisitInvestigateCustomerFeign.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatecustomer.LoanHomevisitInvestigateCustomerFeign <br/> |
|||
* Description: 家访考察-客户信息. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "家访考察-客户信息") |
|||
@FeignClient( |
|||
contextId = "anrui-riskcenter-LoanHomevisitInvestigateCustomer", |
|||
name = "anrui-riskcenter", |
|||
path = "v1/loanhomevisitinvestigatecustomer", |
|||
fallback = LoanHomevisitInvestigateCustomerFeignFallback.class) |
|||
public interface LoanHomevisitInvestigateCustomerFeign { |
|||
|
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
@ResponseBody |
|||
public ResultBean<PagerVo<LoanHomevisitInvestigateCustomerVo>> listPage(@RequestBody PagerQuery<LoanHomevisitInvestigateCustomerQuery> pq); |
|||
|
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
@ResponseBody |
|||
public ResultBean save(@RequestBody LoanHomevisitInvestigateCustomerDto dto); |
|||
|
|||
@ApiOperation("根据sid删除记录") |
|||
@DeleteMapping("/delBySids") |
|||
@ResponseBody |
|||
public ResultBean delBySids(@RequestBody String[] sids); |
|||
|
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
@ResponseBody |
|||
public ResultBean<LoanHomevisitInvestigateCustomerDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
|||
} |
@ -0,0 +1,72 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatecustomer; |
|||
|
|||
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: LoanHomevisitInvestigateCustomerFeignFallback.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatecustomer.LoanHomevisitInvestigateCustomerFeignFallback <br/> |
|||
* Description: 家访考察-客户信息. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Component |
|||
public class LoanHomevisitInvestigateCustomerFeignFallback implements LoanHomevisitInvestigateCustomerFeign { |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<LoanHomevisitInvestigateCustomerVo>> listPage(PagerQuery<LoanHomevisitInvestigateCustomerQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-riskcenter/loanhomevisitinvestigatecustomer/listPage无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean save(LoanHomevisitInvestigateCustomerDto dto){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loanhomevisitinvestigatecustomer/save无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean delBySids( String[] sids){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loanhomevisitinvestigatecustomer/delBySids无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<LoanHomevisitInvestigateCustomerDetailsVo> fetchDetailsBySid(String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-riskcenter/loanhomevisitinvestigatecustomer/fetchDetailsBySid无法访问"); |
|||
} |
|||
} |
@ -0,0 +1,107 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatecustomer; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateCustomerQuery.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatecustomer.LoanHomevisitInvestigateCustomerQuery <br/> |
|||
* Description: 家访考察-客户信息 查询条件. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-客户信息 查询条件", description = "家访考察-客户信息 查询条件") |
|||
public class LoanHomevisitInvestigateCustomerQuery implements Query { |
|||
|
|||
@ApiModelProperty("是否为实际购车人") |
|||
private String isConfirmRealBuyer; // 是否为实际购车人
|
|||
@ApiModelProperty("借款人sid") |
|||
private String borrowerSid; // 借款人sid
|
|||
@ApiModelProperty("借款人姓名") |
|||
private String borrowerName; // 借款人姓名
|
|||
@ApiModelProperty("借款人身份证号") |
|||
private String borrowerIdNumber; // 借款人身份证号
|
|||
@ApiModelProperty("借款人手机号") |
|||
private String borrowerMobile; // 借款人手机号
|
|||
@ApiModelProperty("借款人职业key") |
|||
private String borrowerCareerKey; // 借款人职业key
|
|||
@ApiModelProperty("借款人职业value") |
|||
private String borrowerCareerValue; // 借款人职业value
|
|||
@ApiModelProperty("婚姻状况key") |
|||
private String maritalStatusKey; // 婚姻状况key
|
|||
@ApiModelProperty("婚姻状况value") |
|||
private String maritalStatusValue; // 婚姻状况value
|
|||
@ApiModelProperty("有无子女key") |
|||
private String isChildrenKey; // 有无子女key
|
|||
@ApiModelProperty("有无子女value") |
|||
private String isChildrenValue; // 有无子女value
|
|||
@ApiModelProperty("借款人户籍地址") |
|||
private String borrowerDomAddress; // 借款人户籍地址
|
|||
@ApiModelProperty("借款人现住址") |
|||
private String borrowerPreAddress; // 借款人现住址
|
|||
@ApiModelProperty("银行卡号") |
|||
private String bankCardNo; // 银行卡号
|
|||
@ApiModelProperty("开户行") |
|||
private String depositBank; // 开户行
|
|||
@ApiModelProperty("配偶姓名") |
|||
private String spouseName; // 配偶姓名
|
|||
@ApiModelProperty("配偶身份证号") |
|||
private String spouseIdNumber; // 配偶身份证号
|
|||
@ApiModelProperty("配偶手机号") |
|||
private String spouseMobile; // 配偶手机号
|
|||
@ApiModelProperty("配偶职业key") |
|||
private String spouseCareerKey; // 配偶职业key
|
|||
@ApiModelProperty("配偶职业value") |
|||
private String spouseCareerValue; // 配偶职业value
|
|||
@ApiModelProperty("配偶户籍地址") |
|||
private String spouseDomAddress; // 配偶户籍地址
|
|||
@ApiModelProperty("配偶现住址") |
|||
private String spousePreAddress; // 配偶现住址
|
|||
@ApiModelProperty("紧急联系人") |
|||
private String emergencyContact; // 紧急联系人
|
|||
@ApiModelProperty("紧急联系电话") |
|||
private String emergencyMobile; // 紧急联系电话
|
|||
@ApiModelProperty("关系key") |
|||
private String relationshipKey; // 关系key
|
|||
@ApiModelProperty("关系value") |
|||
private String relationshipValue; // 关系value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,109 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatecustomer; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateCustomerVo.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatecustomer.LoanHomevisitInvestigateCustomerVo <br/> |
|||
* Description: 家访考察-客户信息 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-客户信息 视图数据对象", description = "家访考察-客户信息 视图数据对象") |
|||
public class LoanHomevisitInvestigateCustomerVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("是否为实际购车人") |
|||
private String isConfirmRealBuyer; // 是否为实际购车人
|
|||
@ApiModelProperty("借款人sid") |
|||
private String borrowerSid; // 借款人sid
|
|||
@ApiModelProperty("借款人姓名") |
|||
private String borrowerName; // 借款人姓名
|
|||
@ApiModelProperty("借款人身份证号") |
|||
private String borrowerIdNumber; // 借款人身份证号
|
|||
@ApiModelProperty("借款人手机号") |
|||
private String borrowerMobile; // 借款人手机号
|
|||
@ApiModelProperty("借款人职业key") |
|||
private String borrowerCareerKey; // 借款人职业key
|
|||
@ApiModelProperty("借款人职业value") |
|||
private String borrowerCareerValue; // 借款人职业value
|
|||
@ApiModelProperty("婚姻状况key") |
|||
private String maritalStatusKey; // 婚姻状况key
|
|||
@ApiModelProperty("婚姻状况value") |
|||
private String maritalStatusValue; // 婚姻状况value
|
|||
@ApiModelProperty("有无子女key") |
|||
private String isChildrenKey; // 有无子女key
|
|||
@ApiModelProperty("有无子女value") |
|||
private String isChildrenValue; // 有无子女value
|
|||
@ApiModelProperty("借款人户籍地址") |
|||
private String borrowerDomAddress; // 借款人户籍地址
|
|||
@ApiModelProperty("借款人现住址") |
|||
private String borrowerPreAddress; // 借款人现住址
|
|||
@ApiModelProperty("银行卡号") |
|||
private String bankCardNo; // 银行卡号
|
|||
@ApiModelProperty("开户行") |
|||
private String depositBank; // 开户行
|
|||
@ApiModelProperty("配偶姓名") |
|||
private String spouseName; // 配偶姓名
|
|||
@ApiModelProperty("配偶身份证号") |
|||
private String spouseIdNumber; // 配偶身份证号
|
|||
@ApiModelProperty("配偶手机号") |
|||
private String spouseMobile; // 配偶手机号
|
|||
@ApiModelProperty("配偶职业key") |
|||
private String spouseCareerKey; // 配偶职业key
|
|||
@ApiModelProperty("配偶职业value") |
|||
private String spouseCareerValue; // 配偶职业value
|
|||
@ApiModelProperty("配偶户籍地址") |
|||
private String spouseDomAddress; // 配偶户籍地址
|
|||
@ApiModelProperty("配偶现住址") |
|||
private String spousePreAddress; // 配偶现住址
|
|||
@ApiModelProperty("紧急联系人") |
|||
private String emergencyContact; // 紧急联系人
|
|||
@ApiModelProperty("紧急联系电话") |
|||
private String emergencyMobile; // 紧急联系电话
|
|||
@ApiModelProperty("关系key") |
|||
private String relationshipKey; // 关系key
|
|||
@ApiModelProperty("关系value") |
|||
private String relationshipValue; // 关系value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,66 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateoperations; |
|||
|
|||
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: LoanHomevisitInvestigateOperations.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateoperations.LoanHomevisitInvestigateOperations <br/> |
|||
* Description: 家访考察-营运经历. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-营运经历", description = "家访考察-营运经历") |
|||
@TableName("loan_homevisit_investigate_operations") |
|||
public class LoanHomevisitInvestigateOperations extends BaseEntity { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty("行业年限") |
|||
private String industryYears; // 行业年限
|
|||
@ApiModelProperty("驾驶证类型key") |
|||
private String driveProTypeKey; // 驾驶证类型key
|
|||
@ApiModelProperty("驾驶证类型value") |
|||
private String driveProTypeValue; // 驾驶证类型value
|
|||
@ApiModelProperty("以往营运方式key") |
|||
private String beforeOpeTypeKey; // 以往营运方式key
|
|||
@ApiModelProperty("以往营运方式value") |
|||
private String beforeOpeTypeValue; // 以往营运方式value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,67 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateoperations; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateOperationsVo.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateoperations.LoanHomevisitInvestigateOperationsVo <br/> |
|||
* Description: 家访考察-营运经历 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-营运经历 视图数据详情", description = "家访考察-营运经历 视图数据详情") |
|||
public class LoanHomevisitInvestigateOperationsDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("行业年限") |
|||
private String industryYears; // 行业年限
|
|||
@ApiModelProperty("驾驶证类型key") |
|||
private String driveProTypeKey; // 驾驶证类型key
|
|||
@ApiModelProperty("驾驶证类型value") |
|||
private String driveProTypeValue; // 驾驶证类型value
|
|||
@ApiModelProperty("以往营运方式key") |
|||
private String beforeOpeTypeKey; // 以往营运方式key
|
|||
@ApiModelProperty("以往营运方式value") |
|||
private String beforeOpeTypeValue; // 以往营运方式value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,67 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateoperations; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateOperationsDto.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateoperations.LoanHomevisitInvestigateOperationsDto <br/> |
|||
* Description: 家访考察-营运经历 数据传输对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-营运经历 数据传输对象", description = "家访考察-营运经历 数据传输对象") |
|||
public class LoanHomevisitInvestigateOperationsDto implements Dto { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("行业年限") |
|||
private String industryYears; // 行业年限
|
|||
@ApiModelProperty("驾驶证类型key") |
|||
private String driveProTypeKey; // 驾驶证类型key
|
|||
@ApiModelProperty("驾驶证类型value") |
|||
private String driveProTypeValue; // 驾驶证类型value
|
|||
@ApiModelProperty("以往营运方式key") |
|||
private String beforeOpeTypeKey; // 以往营运方式key
|
|||
@ApiModelProperty("以往营运方式value") |
|||
private String beforeOpeTypeValue; // 以往营运方式value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,78 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateoperations; |
|||
|
|||
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: LoanHomevisitInvestigateOperationsFeign.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateoperations.LoanHomevisitInvestigateOperationsFeign <br/> |
|||
* Description: 家访考察-营运经历. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "家访考察-营运经历") |
|||
@FeignClient( |
|||
contextId = "anrui-riskcenter-LoanHomevisitInvestigateOperations", |
|||
name = "anrui-riskcenter", |
|||
path = "v1/loanhomevisitinvestigateoperations", |
|||
fallback = LoanHomevisitInvestigateOperationsFeignFallback.class) |
|||
public interface LoanHomevisitInvestigateOperationsFeign { |
|||
|
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
@ResponseBody |
|||
public ResultBean<PagerVo<LoanHomevisitInvestigateOperationsVo>> listPage(@RequestBody PagerQuery<LoanHomevisitInvestigateOperationsQuery> pq); |
|||
|
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
@ResponseBody |
|||
public ResultBean save(@RequestBody LoanHomevisitInvestigateOperationsDto dto); |
|||
|
|||
@ApiOperation("根据sid删除记录") |
|||
@DeleteMapping("/delBySids") |
|||
@ResponseBody |
|||
public ResultBean delBySids(@RequestBody String[] sids); |
|||
|
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
@ResponseBody |
|||
public ResultBean<LoanHomevisitInvestigateOperationsDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
|||
} |
@ -0,0 +1,72 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateoperations; |
|||
|
|||
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: LoanHomevisitInvestigateOperationsFeignFallback.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateoperations.LoanHomevisitInvestigateOperationsFeignFallback <br/> |
|||
* Description: 家访考察-营运经历. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Component |
|||
public class LoanHomevisitInvestigateOperationsFeignFallback implements LoanHomevisitInvestigateOperationsFeign { |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<LoanHomevisitInvestigateOperationsVo>> listPage(PagerQuery<LoanHomevisitInvestigateOperationsQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-riskcenter/loanhomevisitinvestigateoperations/listPage无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean save(LoanHomevisitInvestigateOperationsDto dto){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loanhomevisitinvestigateoperations/save无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean delBySids( String[] sids){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loanhomevisitinvestigateoperations/delBySids无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<LoanHomevisitInvestigateOperationsDetailsVo> fetchDetailsBySid(String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-riskcenter/loanhomevisitinvestigateoperations/fetchDetailsBySid无法访问"); |
|||
} |
|||
} |
@ -0,0 +1,65 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateoperations; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateOperationsQuery.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateoperations.LoanHomevisitInvestigateOperationsQuery <br/> |
|||
* Description: 家访考察-营运经历 查询条件. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-营运经历 查询条件", description = "家访考察-营运经历 查询条件") |
|||
public class LoanHomevisitInvestigateOperationsQuery implements Query { |
|||
|
|||
@ApiModelProperty("行业年限") |
|||
private String industryYears; // 行业年限
|
|||
@ApiModelProperty("驾驶证类型key") |
|||
private String driveProTypeKey; // 驾驶证类型key
|
|||
@ApiModelProperty("驾驶证类型value") |
|||
private String driveProTypeValue; // 驾驶证类型value
|
|||
@ApiModelProperty("以往营运方式key") |
|||
private String beforeOpeTypeKey; // 以往营运方式key
|
|||
@ApiModelProperty("以往营运方式value") |
|||
private String beforeOpeTypeValue; // 以往营运方式value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,67 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateoperations; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateOperationsVo.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateoperations.LoanHomevisitInvestigateOperationsVo <br/> |
|||
* Description: 家访考察-营运经历 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-营运经历 视图数据对象", description = "家访考察-营运经历 视图数据对象") |
|||
public class LoanHomevisitInvestigateOperationsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("行业年限") |
|||
private String industryYears; // 行业年限
|
|||
@ApiModelProperty("驾驶证类型key") |
|||
private String driveProTypeKey; // 驾驶证类型key
|
|||
@ApiModelProperty("驾驶证类型value") |
|||
private String driveProTypeValue; // 驾驶证类型value
|
|||
@ApiModelProperty("以往营运方式key") |
|||
private String beforeOpeTypeKey; // 以往营运方式key
|
|||
@ApiModelProperty("以往营运方式value") |
|||
private String beforeOpeTypeValue; // 以往营运方式value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,68 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateorder; |
|||
|
|||
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: LoanHomevisitInvestigateOrder.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateorder.LoanHomevisitInvestigateOrder <br/> |
|||
* Description: 家访考察-订单信息. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-订单信息", description = "家访考察-订单信息") |
|||
@TableName("loan_homevisit_investigate_order") |
|||
public class LoanHomevisitInvestigateOrder extends BaseEntity { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty("车辆信息确认") |
|||
private String carConfirm; // 车辆信息确认
|
|||
@ApiModelProperty("车辆信息确认备注") |
|||
private String carRemarks; // 车辆信息确认备注
|
|||
@ApiModelProperty("金融方案信息确认") |
|||
private String finConfirm; // 金融方案信息确认
|
|||
@ApiModelProperty("金融方案信息确认备注") |
|||
private String finRemarks; // 金融方案信息确认备注
|
|||
@ApiModelProperty("金融首付比例") |
|||
private String finDownPay; // 金融首付比例
|
|||
@ApiModelProperty("金融首付比例备注") |
|||
private String finDownPayRemarks; // 金融首付比例备注
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,69 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateorder; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateOrderVo.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateorder.LoanHomevisitInvestigateOrderVo <br/> |
|||
* Description: 家访考察-订单信息 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-订单信息 视图数据详情", description = "家访考察-订单信息 视图数据详情") |
|||
public class LoanHomevisitInvestigateOrderDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("车辆信息确认") |
|||
private String carConfirm; // 车辆信息确认
|
|||
@ApiModelProperty("车辆信息确认备注") |
|||
private String carRemarks; // 车辆信息确认备注
|
|||
@ApiModelProperty("金融方案信息确认") |
|||
private String finConfirm; // 金融方案信息确认
|
|||
@ApiModelProperty("金融方案信息确认备注") |
|||
private String finRemarks; // 金融方案信息确认备注
|
|||
@ApiModelProperty("金融首付比例") |
|||
private String finDownPay; // 金融首付比例
|
|||
@ApiModelProperty("金融首付比例备注") |
|||
private String finDownPayRemarks; // 金融首付比例备注
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,69 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateorder; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateOrderDto.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateorder.LoanHomevisitInvestigateOrderDto <br/> |
|||
* Description: 家访考察-订单信息 数据传输对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-订单信息 数据传输对象", description = "家访考察-订单信息 数据传输对象") |
|||
public class LoanHomevisitInvestigateOrderDto implements Dto { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("车辆信息确认") |
|||
private String carConfirm; // 车辆信息确认
|
|||
@ApiModelProperty("车辆信息确认备注") |
|||
private String carRemarks; // 车辆信息确认备注
|
|||
@ApiModelProperty("金融方案信息确认") |
|||
private String finConfirm; // 金融方案信息确认
|
|||
@ApiModelProperty("金融方案信息确认备注") |
|||
private String finRemarks; // 金融方案信息确认备注
|
|||
@ApiModelProperty("金融首付比例") |
|||
private String finDownPay; // 金融首付比例
|
|||
@ApiModelProperty("金融首付比例备注") |
|||
private String finDownPayRemarks; // 金融首付比例备注
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,78 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateorder; |
|||
|
|||
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: LoanHomevisitInvestigateOrderFeign.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateorder.LoanHomevisitInvestigateOrderFeign <br/> |
|||
* Description: 家访考察-订单信息. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "家访考察-订单信息") |
|||
@FeignClient( |
|||
contextId = "anrui-riskcenter-LoanHomevisitInvestigateOrder", |
|||
name = "anrui-riskcenter", |
|||
path = "v1/loanhomevisitinvestigateorder", |
|||
fallback = LoanHomevisitInvestigateOrderFeignFallback.class) |
|||
public interface LoanHomevisitInvestigateOrderFeign { |
|||
|
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
@ResponseBody |
|||
public ResultBean<PagerVo<LoanHomevisitInvestigateOrderVo>> listPage(@RequestBody PagerQuery<LoanHomevisitInvestigateOrderQuery> pq); |
|||
|
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
@ResponseBody |
|||
public ResultBean save(@RequestBody LoanHomevisitInvestigateOrderDto dto); |
|||
|
|||
@ApiOperation("根据sid删除记录") |
|||
@DeleteMapping("/delBySids") |
|||
@ResponseBody |
|||
public ResultBean delBySids(@RequestBody String[] sids); |
|||
|
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
@ResponseBody |
|||
public ResultBean<LoanHomevisitInvestigateOrderDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
|||
} |
@ -0,0 +1,72 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateorder; |
|||
|
|||
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: LoanHomevisitInvestigateOrderFeignFallback.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateorder.LoanHomevisitInvestigateOrderFeignFallback <br/> |
|||
* Description: 家访考察-订单信息. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Component |
|||
public class LoanHomevisitInvestigateOrderFeignFallback implements LoanHomevisitInvestigateOrderFeign { |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<LoanHomevisitInvestigateOrderVo>> listPage(PagerQuery<LoanHomevisitInvestigateOrderQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-riskcenter/loanhomevisitinvestigateorder/listPage无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean save(LoanHomevisitInvestigateOrderDto dto){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loanhomevisitinvestigateorder/save无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean delBySids( String[] sids){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loanhomevisitinvestigateorder/delBySids无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<LoanHomevisitInvestigateOrderDetailsVo> fetchDetailsBySid(String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-riskcenter/loanhomevisitinvestigateorder/fetchDetailsBySid无法访问"); |
|||
} |
|||
} |
@ -0,0 +1,67 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateorder; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateOrderQuery.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateorder.LoanHomevisitInvestigateOrderQuery <br/> |
|||
* Description: 家访考察-订单信息 查询条件. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-订单信息 查询条件", description = "家访考察-订单信息 查询条件") |
|||
public class LoanHomevisitInvestigateOrderQuery implements Query { |
|||
|
|||
@ApiModelProperty("车辆信息确认") |
|||
private String carConfirm; // 车辆信息确认
|
|||
@ApiModelProperty("车辆信息确认备注") |
|||
private String carRemarks; // 车辆信息确认备注
|
|||
@ApiModelProperty("金融方案信息确认") |
|||
private String finConfirm; // 金融方案信息确认
|
|||
@ApiModelProperty("金融方案信息确认备注") |
|||
private String finRemarks; // 金融方案信息确认备注
|
|||
@ApiModelProperty("金融首付比例") |
|||
private String finDownPay; // 金融首付比例
|
|||
@ApiModelProperty("金融首付比例备注") |
|||
private String finDownPayRemarks; // 金融首付比例备注
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,69 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateorder; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateOrderVo.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateorder.LoanHomevisitInvestigateOrderVo <br/> |
|||
* Description: 家访考察-订单信息 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-订单信息 视图数据对象", description = "家访考察-订单信息 视图数据对象") |
|||
public class LoanHomevisitInvestigateOrderVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("车辆信息确认") |
|||
private String carConfirm; // 车辆信息确认
|
|||
@ApiModelProperty("车辆信息确认备注") |
|||
private String carRemarks; // 车辆信息确认备注
|
|||
@ApiModelProperty("金融方案信息确认") |
|||
private String finConfirm; // 金融方案信息确认
|
|||
@ApiModelProperty("金融方案信息确认备注") |
|||
private String finRemarks; // 金融方案信息确认备注
|
|||
@ApiModelProperty("金融首付比例") |
|||
private String finDownPay; // 金融首付比例
|
|||
@ApiModelProperty("金融首付比例备注") |
|||
private String finDownPayRemarks; // 金融首付比例备注
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,74 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo; |
|||
|
|||
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: LoanHomevisitInvestigateOtherpeo.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo.LoanHomevisitInvestigateOtherpeo <br/> |
|||
* Description: 家访考察-其他人员. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-其他人员", description = "家访考察-其他人员") |
|||
@TableName("loan_homevisit_investigate_otherpeo") |
|||
public class LoanHomevisitInvestigateOtherpeo extends BaseEntity { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty("人员身份") |
|||
private String peoType; // 人员身份
|
|||
@ApiModelProperty("姓名") |
|||
private String peoName; // 姓名
|
|||
@ApiModelProperty("身份证号") |
|||
private String idNumber; // 身份证号
|
|||
@ApiModelProperty("手机号") |
|||
private String mobile; // 手机号
|
|||
@ApiModelProperty("户籍地址") |
|||
private String peoDomAddress; // 户籍地址
|
|||
@ApiModelProperty("现住址") |
|||
private String peoPreAddress; // 现住址
|
|||
@ApiModelProperty("工作单位") |
|||
private String workUnit; // 工作单位
|
|||
@ApiModelProperty("职业key") |
|||
private String peoCareerKey; // 职业key
|
|||
@ApiModelProperty("职业value") |
|||
private String peoCareerValue; // 职业value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,75 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateOtherpeoVo.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo.LoanHomevisitInvestigateOtherpeoVo <br/> |
|||
* Description: 家访考察-其他人员 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-其他人员 视图数据详情", description = "家访考察-其他人员 视图数据详情") |
|||
public class LoanHomevisitInvestigateOtherpeoDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("人员身份") |
|||
private String peoType; // 人员身份
|
|||
@ApiModelProperty("姓名") |
|||
private String peoName; // 姓名
|
|||
@ApiModelProperty("身份证号") |
|||
private String idNumber; // 身份证号
|
|||
@ApiModelProperty("手机号") |
|||
private String mobile; // 手机号
|
|||
@ApiModelProperty("户籍地址") |
|||
private String peoDomAddress; // 户籍地址
|
|||
@ApiModelProperty("现住址") |
|||
private String peoPreAddress; // 现住址
|
|||
@ApiModelProperty("工作单位") |
|||
private String workUnit; // 工作单位
|
|||
@ApiModelProperty("职业key") |
|||
private String peoCareerKey; // 职业key
|
|||
@ApiModelProperty("职业value") |
|||
private String peoCareerValue; // 职业value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,75 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateOtherpeoDto.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo.LoanHomevisitInvestigateOtherpeoDto <br/> |
|||
* Description: 家访考察-其他人员 数据传输对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-其他人员 数据传输对象", description = "家访考察-其他人员 数据传输对象") |
|||
public class LoanHomevisitInvestigateOtherpeoDto implements Dto { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("人员身份") |
|||
private String peoType; // 人员身份
|
|||
@ApiModelProperty("姓名") |
|||
private String peoName; // 姓名
|
|||
@ApiModelProperty("身份证号") |
|||
private String idNumber; // 身份证号
|
|||
@ApiModelProperty("手机号") |
|||
private String mobile; // 手机号
|
|||
@ApiModelProperty("户籍地址") |
|||
private String peoDomAddress; // 户籍地址
|
|||
@ApiModelProperty("现住址") |
|||
private String peoPreAddress; // 现住址
|
|||
@ApiModelProperty("工作单位") |
|||
private String workUnit; // 工作单位
|
|||
@ApiModelProperty("职业key") |
|||
private String peoCareerKey; // 职业key
|
|||
@ApiModelProperty("职业value") |
|||
private String peoCareerValue; // 职业value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,78 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo; |
|||
|
|||
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: LoanHomevisitInvestigateOtherpeoFeign.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo.LoanHomevisitInvestigateOtherpeoFeign <br/> |
|||
* Description: 家访考察-其他人员. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "家访考察-其他人员") |
|||
@FeignClient( |
|||
contextId = "anrui-riskcenter-LoanHomevisitInvestigateOtherpeo", |
|||
name = "anrui-riskcenter", |
|||
path = "v1/loanhomevisitinvestigateotherpeo", |
|||
fallback = LoanHomevisitInvestigateOtherpeoFeignFallback.class) |
|||
public interface LoanHomevisitInvestigateOtherpeoFeign { |
|||
|
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
@ResponseBody |
|||
public ResultBean<PagerVo<LoanHomevisitInvestigateOtherpeoVo>> listPage(@RequestBody PagerQuery<LoanHomevisitInvestigateOtherpeoQuery> pq); |
|||
|
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
@ResponseBody |
|||
public ResultBean save(@RequestBody LoanHomevisitInvestigateOtherpeoDto dto); |
|||
|
|||
@ApiOperation("根据sid删除记录") |
|||
@DeleteMapping("/delBySids") |
|||
@ResponseBody |
|||
public ResultBean delBySids(@RequestBody String[] sids); |
|||
|
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
@ResponseBody |
|||
public ResultBean<LoanHomevisitInvestigateOtherpeoDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
|||
} |
@ -0,0 +1,72 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo; |
|||
|
|||
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: LoanHomevisitInvestigateOtherpeoFeignFallback.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo.LoanHomevisitInvestigateOtherpeoFeignFallback <br/> |
|||
* Description: 家访考察-其他人员. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Component |
|||
public class LoanHomevisitInvestigateOtherpeoFeignFallback implements LoanHomevisitInvestigateOtherpeoFeign { |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<LoanHomevisitInvestigateOtherpeoVo>> listPage(PagerQuery<LoanHomevisitInvestigateOtherpeoQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-riskcenter/loanhomevisitinvestigateotherpeo/listPage无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean save(LoanHomevisitInvestigateOtherpeoDto dto){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loanhomevisitinvestigateotherpeo/save无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean delBySids( String[] sids){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loanhomevisitinvestigateotherpeo/delBySids无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<LoanHomevisitInvestigateOtherpeoDetailsVo> fetchDetailsBySid(String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-riskcenter/loanhomevisitinvestigateotherpeo/fetchDetailsBySid无法访问"); |
|||
} |
|||
} |
@ -0,0 +1,73 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateOtherpeoQuery.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo.LoanHomevisitInvestigateOtherpeoQuery <br/> |
|||
* Description: 家访考察-其他人员 查询条件. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-其他人员 查询条件", description = "家访考察-其他人员 查询条件") |
|||
public class LoanHomevisitInvestigateOtherpeoQuery implements Query { |
|||
|
|||
@ApiModelProperty("人员身份") |
|||
private String peoType; // 人员身份
|
|||
@ApiModelProperty("姓名") |
|||
private String peoName; // 姓名
|
|||
@ApiModelProperty("身份证号") |
|||
private String idNumber; // 身份证号
|
|||
@ApiModelProperty("手机号") |
|||
private String mobile; // 手机号
|
|||
@ApiModelProperty("户籍地址") |
|||
private String peoDomAddress; // 户籍地址
|
|||
@ApiModelProperty("现住址") |
|||
private String peoPreAddress; // 现住址
|
|||
@ApiModelProperty("工作单位") |
|||
private String workUnit; // 工作单位
|
|||
@ApiModelProperty("职业key") |
|||
private String peoCareerKey; // 职业key
|
|||
@ApiModelProperty("职业value") |
|||
private String peoCareerValue; // 职业value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,75 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateOtherpeoVo.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo.LoanHomevisitInvestigateOtherpeoVo <br/> |
|||
* Description: 家访考察-其他人员 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-其他人员 视图数据对象", description = "家访考察-其他人员 视图数据对象") |
|||
public class LoanHomevisitInvestigateOtherpeoVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("人员身份") |
|||
private String peoType; // 人员身份
|
|||
@ApiModelProperty("姓名") |
|||
private String peoName; // 姓名
|
|||
@ApiModelProperty("身份证号") |
|||
private String idNumber; // 身份证号
|
|||
@ApiModelProperty("手机号") |
|||
private String mobile; // 手机号
|
|||
@ApiModelProperty("户籍地址") |
|||
private String peoDomAddress; // 户籍地址
|
|||
@ApiModelProperty("现住址") |
|||
private String peoPreAddress; // 现住址
|
|||
@ApiModelProperty("工作单位") |
|||
private String workUnit; // 工作单位
|
|||
@ApiModelProperty("职业key") |
|||
private String peoCareerKey; // 职业key
|
|||
@ApiModelProperty("职业value") |
|||
private String peoCareerValue; // 职业value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,80 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateproperty; |
|||
|
|||
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: LoanHomevisitInvestigateProperty.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateproperty.LoanHomevisitInvestigateProperty <br/> |
|||
* Description: 家访考察-资产情况. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-资产情况", description = "家访考察-资产情况") |
|||
@TableName("loan_homevisit_investigate_property") |
|||
public class LoanHomevisitInvestigateProperty extends BaseEntity { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty("是否是房产") |
|||
private String isRealEstate; // 是否是房产
|
|||
@ApiModelProperty("产权类型") |
|||
private String propertyType; // 产权类型
|
|||
@ApiModelProperty("房产贷款情况") |
|||
private String realLoanSituation; // 房产贷款情况
|
|||
@ApiModelProperty("房产备注") |
|||
private String realRemarks; // 房产备注
|
|||
@ApiModelProperty("是否是车辆") |
|||
private String isCar; // 是否是车辆
|
|||
@ApiModelProperty("车辆类型") |
|||
private String carType; // 车辆类型
|
|||
@ApiModelProperty("车辆贷款情况") |
|||
private String carLoanSituation; // 车辆贷款情况
|
|||
@ApiModelProperty("车辆备注") |
|||
private String carRemarks; // 车辆备注
|
|||
@ApiModelProperty("首付来源key") |
|||
private String downPaySourceKey; // 首付来源key
|
|||
@ApiModelProperty("首付来源value") |
|||
private String downPaySourceValue; // 首付来源value
|
|||
@ApiModelProperty("其他收入来源key") |
|||
private String otherSourceKey; // 其他收入来源key
|
|||
@ApiModelProperty("其他收入来源value") |
|||
private String otherSourceValue; // 其他收入来源value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,81 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateproperty; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigatePropertyVo.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateproperty.LoanHomevisitInvestigatePropertyVo <br/> |
|||
* Description: 家访考察-资产情况 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-资产情况 视图数据详情", description = "家访考察-资产情况 视图数据详情") |
|||
public class LoanHomevisitInvestigatePropertyDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("是否是房产") |
|||
private String isRealEstate; // 是否是房产
|
|||
@ApiModelProperty("产权类型") |
|||
private String propertyType; // 产权类型
|
|||
@ApiModelProperty("房产贷款情况") |
|||
private String realLoanSituation; // 房产贷款情况
|
|||
@ApiModelProperty("房产备注") |
|||
private String realRemarks; // 房产备注
|
|||
@ApiModelProperty("是否是车辆") |
|||
private String isCar; // 是否是车辆
|
|||
@ApiModelProperty("车辆类型") |
|||
private String carType; // 车辆类型
|
|||
@ApiModelProperty("车辆贷款情况") |
|||
private String carLoanSituation; // 车辆贷款情况
|
|||
@ApiModelProperty("车辆备注") |
|||
private String carRemarks; // 车辆备注
|
|||
@ApiModelProperty("首付来源key") |
|||
private String downPaySourceKey; // 首付来源key
|
|||
@ApiModelProperty("首付来源value") |
|||
private String downPaySourceValue; // 首付来源value
|
|||
@ApiModelProperty("其他收入来源key") |
|||
private String otherSourceKey; // 其他收入来源key
|
|||
@ApiModelProperty("其他收入来源value") |
|||
private String otherSourceValue; // 其他收入来源value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,81 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateproperty; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigatePropertyDto.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateproperty.LoanHomevisitInvestigatePropertyDto <br/> |
|||
* Description: 家访考察-资产情况 数据传输对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-资产情况 数据传输对象", description = "家访考察-资产情况 数据传输对象") |
|||
public class LoanHomevisitInvestigatePropertyDto implements Dto { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("是否是房产") |
|||
private String isRealEstate; // 是否是房产
|
|||
@ApiModelProperty("产权类型") |
|||
private String propertyType; // 产权类型
|
|||
@ApiModelProperty("房产贷款情况") |
|||
private String realLoanSituation; // 房产贷款情况
|
|||
@ApiModelProperty("房产备注") |
|||
private String realRemarks; // 房产备注
|
|||
@ApiModelProperty("是否是车辆") |
|||
private String isCar; // 是否是车辆
|
|||
@ApiModelProperty("车辆类型") |
|||
private String carType; // 车辆类型
|
|||
@ApiModelProperty("车辆贷款情况") |
|||
private String carLoanSituation; // 车辆贷款情况
|
|||
@ApiModelProperty("车辆备注") |
|||
private String carRemarks; // 车辆备注
|
|||
@ApiModelProperty("首付来源key") |
|||
private String downPaySourceKey; // 首付来源key
|
|||
@ApiModelProperty("首付来源value") |
|||
private String downPaySourceValue; // 首付来源value
|
|||
@ApiModelProperty("其他收入来源key") |
|||
private String otherSourceKey; // 其他收入来源key
|
|||
@ApiModelProperty("其他收入来源value") |
|||
private String otherSourceValue; // 其他收入来源value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,78 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateproperty; |
|||
|
|||
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: LoanHomevisitInvestigatePropertyFeign.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateproperty.LoanHomevisitInvestigatePropertyFeign <br/> |
|||
* Description: 家访考察-资产情况. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "家访考察-资产情况") |
|||
@FeignClient( |
|||
contextId = "anrui-riskcenter-LoanHomevisitInvestigateProperty", |
|||
name = "anrui-riskcenter", |
|||
path = "v1/loanhomevisitinvestigateproperty", |
|||
fallback = LoanHomevisitInvestigatePropertyFeignFallback.class) |
|||
public interface LoanHomevisitInvestigatePropertyFeign { |
|||
|
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
@ResponseBody |
|||
public ResultBean<PagerVo<LoanHomevisitInvestigatePropertyVo>> listPage(@RequestBody PagerQuery<LoanHomevisitInvestigatePropertyQuery> pq); |
|||
|
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
@ResponseBody |
|||
public ResultBean save(@RequestBody LoanHomevisitInvestigatePropertyDto dto); |
|||
|
|||
@ApiOperation("根据sid删除记录") |
|||
@DeleteMapping("/delBySids") |
|||
@ResponseBody |
|||
public ResultBean delBySids(@RequestBody String[] sids); |
|||
|
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
@ResponseBody |
|||
public ResultBean<LoanHomevisitInvestigatePropertyDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
|||
} |
@ -0,0 +1,72 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateproperty; |
|||
|
|||
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: LoanHomevisitInvestigatePropertyFeignFallback.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateproperty.LoanHomevisitInvestigatePropertyFeignFallback <br/> |
|||
* Description: 家访考察-资产情况. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Component |
|||
public class LoanHomevisitInvestigatePropertyFeignFallback implements LoanHomevisitInvestigatePropertyFeign { |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<LoanHomevisitInvestigatePropertyVo>> listPage(PagerQuery<LoanHomevisitInvestigatePropertyQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-riskcenter/loanhomevisitinvestigateproperty/listPage无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean save(LoanHomevisitInvestigatePropertyDto dto){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loanhomevisitinvestigateproperty/save无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean delBySids( String[] sids){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loanhomevisitinvestigateproperty/delBySids无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<LoanHomevisitInvestigatePropertyDetailsVo> fetchDetailsBySid(String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-riskcenter/loanhomevisitinvestigateproperty/fetchDetailsBySid无法访问"); |
|||
} |
|||
} |
@ -0,0 +1,79 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateproperty; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigatePropertyQuery.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateproperty.LoanHomevisitInvestigatePropertyQuery <br/> |
|||
* Description: 家访考察-资产情况 查询条件. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-资产情况 查询条件", description = "家访考察-资产情况 查询条件") |
|||
public class LoanHomevisitInvestigatePropertyQuery implements Query { |
|||
|
|||
@ApiModelProperty("是否是房产") |
|||
private String isRealEstate; // 是否是房产
|
|||
@ApiModelProperty("产权类型") |
|||
private String propertyType; // 产权类型
|
|||
@ApiModelProperty("房产贷款情况") |
|||
private String realLoanSituation; // 房产贷款情况
|
|||
@ApiModelProperty("房产备注") |
|||
private String realRemarks; // 房产备注
|
|||
@ApiModelProperty("是否是车辆") |
|||
private String isCar; // 是否是车辆
|
|||
@ApiModelProperty("车辆类型") |
|||
private String carType; // 车辆类型
|
|||
@ApiModelProperty("车辆贷款情况") |
|||
private String carLoanSituation; // 车辆贷款情况
|
|||
@ApiModelProperty("车辆备注") |
|||
private String carRemarks; // 车辆备注
|
|||
@ApiModelProperty("首付来源key") |
|||
private String downPaySourceKey; // 首付来源key
|
|||
@ApiModelProperty("首付来源value") |
|||
private String downPaySourceValue; // 首付来源value
|
|||
@ApiModelProperty("其他收入来源key") |
|||
private String otherSourceKey; // 其他收入来源key
|
|||
@ApiModelProperty("其他收入来源value") |
|||
private String otherSourceValue; // 其他收入来源value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,81 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateproperty; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigatePropertyVo.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateproperty.LoanHomevisitInvestigatePropertyVo <br/> |
|||
* Description: 家访考察-资产情况 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-资产情况 视图数据对象", description = "家访考察-资产情况 视图数据对象") |
|||
public class LoanHomevisitInvestigatePropertyVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("是否是房产") |
|||
private String isRealEstate; // 是否是房产
|
|||
@ApiModelProperty("产权类型") |
|||
private String propertyType; // 产权类型
|
|||
@ApiModelProperty("房产贷款情况") |
|||
private String realLoanSituation; // 房产贷款情况
|
|||
@ApiModelProperty("房产备注") |
|||
private String realRemarks; // 房产备注
|
|||
@ApiModelProperty("是否是车辆") |
|||
private String isCar; // 是否是车辆
|
|||
@ApiModelProperty("车辆类型") |
|||
private String carType; // 车辆类型
|
|||
@ApiModelProperty("车辆贷款情况") |
|||
private String carLoanSituation; // 车辆贷款情况
|
|||
@ApiModelProperty("车辆备注") |
|||
private String carRemarks; // 车辆备注
|
|||
@ApiModelProperty("首付来源key") |
|||
private String downPaySourceKey; // 首付来源key
|
|||
@ApiModelProperty("首付来源value") |
|||
private String downPaySourceValue; // 首付来源value
|
|||
@ApiModelProperty("其他收入来源key") |
|||
private String otherSourceKey; // 其他收入来源key
|
|||
@ApiModelProperty("其他收入来源value") |
|||
private String otherSourceValue; // 其他收入来源value
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,86 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatetransport; |
|||
|
|||
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: LoanHomevisitInvestigateTransport.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatetransport.LoanHomevisitInvestigateTransport <br/> |
|||
* Description: 家访考察-运输信息. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-运输信息", description = "家访考察-运输信息") |
|||
@TableName("loan_homevisit_investigate_transport") |
|||
public class LoanHomevisitInvestigateTransport extends BaseEntity { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty("运输路线") |
|||
private String transportRoute; // 运输路线
|
|||
@ApiModelProperty("运输方式key") |
|||
private String transportTypeKey; // 运输方式key
|
|||
@ApiModelProperty("运输方式value") |
|||
private String transportTypeValue; // 运输方式value
|
|||
@ApiModelProperty("运输货物(去程)") |
|||
private String transportGoodsTrip; // 运输货物(去程)
|
|||
@ApiModelProperty("运输货物(回程)") |
|||
private String transportGoodsRetTrip; // 运输货物(回程)
|
|||
@ApiModelProperty("来回里程") |
|||
private String roundTripMileage; // 来回里程
|
|||
@ApiModelProperty("载重(吨)") |
|||
private String load; // 载重(吨)
|
|||
@ApiModelProperty("每月/趟") |
|||
private String monthlyTrip; // 每月/趟
|
|||
@ApiModelProperty("每趟/元") |
|||
private String perTripYuan; // 每趟/元
|
|||
@ApiModelProperty("每趟油耗") |
|||
private String fuelConsumptionPerTrip; // 每趟油耗
|
|||
@ApiModelProperty("司机工资") |
|||
private String driverSalary; // 司机工资
|
|||
@ApiModelProperty("过路费") |
|||
private String toll; // 过路费
|
|||
@ApiModelProperty("维修保养") |
|||
private String maintenance; // 维修保养
|
|||
@ApiModelProperty("预期收益") |
|||
private String expectedRevenue; // 预期收益
|
|||
@ApiModelProperty("净收入") |
|||
private String netIncome; // 净收入
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,87 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatetransport; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateTransportVo.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatetransport.LoanHomevisitInvestigateTransportVo <br/> |
|||
* Description: 家访考察-运输信息 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-运输信息 视图数据详情", description = "家访考察-运输信息 视图数据详情") |
|||
public class LoanHomevisitInvestigateTransportDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("运输路线") |
|||
private String transportRoute; // 运输路线
|
|||
@ApiModelProperty("运输方式key") |
|||
private String transportTypeKey; // 运输方式key
|
|||
@ApiModelProperty("运输方式value") |
|||
private String transportTypeValue; // 运输方式value
|
|||
@ApiModelProperty("运输货物(去程)") |
|||
private String transportGoodsTrip; // 运输货物(去程)
|
|||
@ApiModelProperty("运输货物(回程)") |
|||
private String transportGoodsRetTrip; // 运输货物(回程)
|
|||
@ApiModelProperty("来回里程") |
|||
private String roundTripMileage; // 来回里程
|
|||
@ApiModelProperty("载重(吨)") |
|||
private String load; // 载重(吨)
|
|||
@ApiModelProperty("每月/趟") |
|||
private String monthlyTrip; // 每月/趟
|
|||
@ApiModelProperty("每趟/元") |
|||
private String perTripYuan; // 每趟/元
|
|||
@ApiModelProperty("每趟油耗") |
|||
private String fuelConsumptionPerTrip; // 每趟油耗
|
|||
@ApiModelProperty("司机工资") |
|||
private String driverSalary; // 司机工资
|
|||
@ApiModelProperty("过路费") |
|||
private String toll; // 过路费
|
|||
@ApiModelProperty("维修保养") |
|||
private String maintenance; // 维修保养
|
|||
@ApiModelProperty("预期收益") |
|||
private String expectedRevenue; // 预期收益
|
|||
@ApiModelProperty("净收入") |
|||
private String netIncome; // 净收入
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,87 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatetransport; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateTransportDto.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatetransport.LoanHomevisitInvestigateTransportDto <br/> |
|||
* Description: 家访考察-运输信息 数据传输对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-运输信息 数据传输对象", description = "家访考察-运输信息 数据传输对象") |
|||
public class LoanHomevisitInvestigateTransportDto implements Dto { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("运输路线") |
|||
private String transportRoute; // 运输路线
|
|||
@ApiModelProperty("运输方式key") |
|||
private String transportTypeKey; // 运输方式key
|
|||
@ApiModelProperty("运输方式value") |
|||
private String transportTypeValue; // 运输方式value
|
|||
@ApiModelProperty("运输货物(去程)") |
|||
private String transportGoodsTrip; // 运输货物(去程)
|
|||
@ApiModelProperty("运输货物(回程)") |
|||
private String transportGoodsRetTrip; // 运输货物(回程)
|
|||
@ApiModelProperty("来回里程") |
|||
private String roundTripMileage; // 来回里程
|
|||
@ApiModelProperty("载重(吨)") |
|||
private String load; // 载重(吨)
|
|||
@ApiModelProperty("每月/趟") |
|||
private String monthlyTrip; // 每月/趟
|
|||
@ApiModelProperty("每趟/元") |
|||
private String perTripYuan; // 每趟/元
|
|||
@ApiModelProperty("每趟油耗") |
|||
private String fuelConsumptionPerTrip; // 每趟油耗
|
|||
@ApiModelProperty("司机工资") |
|||
private String driverSalary; // 司机工资
|
|||
@ApiModelProperty("过路费") |
|||
private String toll; // 过路费
|
|||
@ApiModelProperty("维修保养") |
|||
private String maintenance; // 维修保养
|
|||
@ApiModelProperty("预期收益") |
|||
private String expectedRevenue; // 预期收益
|
|||
@ApiModelProperty("净收入") |
|||
private String netIncome; // 净收入
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,78 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatetransport; |
|||
|
|||
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: LoanHomevisitInvestigateTransportFeign.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatetransport.LoanHomevisitInvestigateTransportFeign <br/> |
|||
* Description: 家访考察-运输信息. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "家访考察-运输信息") |
|||
@FeignClient( |
|||
contextId = "anrui-riskcenter-LoanHomevisitInvestigateTransport", |
|||
name = "anrui-riskcenter", |
|||
path = "v1/loanhomevisitinvestigatetransport", |
|||
fallback = LoanHomevisitInvestigateTransportFeignFallback.class) |
|||
public interface LoanHomevisitInvestigateTransportFeign { |
|||
|
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
@ResponseBody |
|||
public ResultBean<PagerVo<LoanHomevisitInvestigateTransportVo>> listPage(@RequestBody PagerQuery<LoanHomevisitInvestigateTransportQuery> pq); |
|||
|
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
@ResponseBody |
|||
public ResultBean save(@RequestBody LoanHomevisitInvestigateTransportDto dto); |
|||
|
|||
@ApiOperation("根据sid删除记录") |
|||
@DeleteMapping("/delBySids") |
|||
@ResponseBody |
|||
public ResultBean delBySids(@RequestBody String[] sids); |
|||
|
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
@ResponseBody |
|||
public ResultBean<LoanHomevisitInvestigateTransportDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
|||
} |
@ -0,0 +1,72 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatetransport; |
|||
|
|||
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: LoanHomevisitInvestigateTransportFeignFallback.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatetransport.LoanHomevisitInvestigateTransportFeignFallback <br/> |
|||
* Description: 家访考察-运输信息. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Component |
|||
public class LoanHomevisitInvestigateTransportFeignFallback implements LoanHomevisitInvestigateTransportFeign { |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<LoanHomevisitInvestigateTransportVo>> listPage(PagerQuery<LoanHomevisitInvestigateTransportQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-riskcenter/loanhomevisitinvestigatetransport/listPage无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean save(LoanHomevisitInvestigateTransportDto dto){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loanhomevisitinvestigatetransport/save无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean delBySids( String[] sids){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loanhomevisitinvestigatetransport/delBySids无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<LoanHomevisitInvestigateTransportDetailsVo> fetchDetailsBySid(String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-riskcenter/loanhomevisitinvestigatetransport/fetchDetailsBySid无法访问"); |
|||
} |
|||
} |
@ -0,0 +1,85 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatetransport; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateTransportQuery.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatetransport.LoanHomevisitInvestigateTransportQuery <br/> |
|||
* Description: 家访考察-运输信息 查询条件. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-运输信息 查询条件", description = "家访考察-运输信息 查询条件") |
|||
public class LoanHomevisitInvestigateTransportQuery implements Query { |
|||
|
|||
@ApiModelProperty("运输路线") |
|||
private String transportRoute; // 运输路线
|
|||
@ApiModelProperty("运输方式key") |
|||
private String transportTypeKey; // 运输方式key
|
|||
@ApiModelProperty("运输方式value") |
|||
private String transportTypeValue; // 运输方式value
|
|||
@ApiModelProperty("运输货物(去程)") |
|||
private String transportGoodsTrip; // 运输货物(去程)
|
|||
@ApiModelProperty("运输货物(回程)") |
|||
private String transportGoodsRetTrip; // 运输货物(回程)
|
|||
@ApiModelProperty("来回里程") |
|||
private String roundTripMileage; // 来回里程
|
|||
@ApiModelProperty("载重(吨)") |
|||
private String load; // 载重(吨)
|
|||
@ApiModelProperty("每月/趟") |
|||
private String monthlyTrip; // 每月/趟
|
|||
@ApiModelProperty("每趟/元") |
|||
private String perTripYuan; // 每趟/元
|
|||
@ApiModelProperty("每趟油耗") |
|||
private String fuelConsumptionPerTrip; // 每趟油耗
|
|||
@ApiModelProperty("司机工资") |
|||
private String driverSalary; // 司机工资
|
|||
@ApiModelProperty("过路费") |
|||
private String toll; // 过路费
|
|||
@ApiModelProperty("维修保养") |
|||
private String maintenance; // 维修保养
|
|||
@ApiModelProperty("预期收益") |
|||
private String expectedRevenue; // 预期收益
|
|||
@ApiModelProperty("净收入") |
|||
private String netIncome; // 净收入
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,87 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatetransport; |
|||
|
|||
|
|||
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: LoanHomevisitInvestigateTransportVo.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatetransport.LoanHomevisitInvestigateTransportVo <br/> |
|||
* Description: 家访考察-运输信息 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "家访考察-运输信息 视图数据对象", description = "家访考察-运输信息 视图数据对象") |
|||
public class LoanHomevisitInvestigateTransportVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("运输路线") |
|||
private String transportRoute; // 运输路线
|
|||
@ApiModelProperty("运输方式key") |
|||
private String transportTypeKey; // 运输方式key
|
|||
@ApiModelProperty("运输方式value") |
|||
private String transportTypeValue; // 运输方式value
|
|||
@ApiModelProperty("运输货物(去程)") |
|||
private String transportGoodsTrip; // 运输货物(去程)
|
|||
@ApiModelProperty("运输货物(回程)") |
|||
private String transportGoodsRetTrip; // 运输货物(回程)
|
|||
@ApiModelProperty("来回里程") |
|||
private String roundTripMileage; // 来回里程
|
|||
@ApiModelProperty("载重(吨)") |
|||
private String load; // 载重(吨)
|
|||
@ApiModelProperty("每月/趟") |
|||
private String monthlyTrip; // 每月/趟
|
|||
@ApiModelProperty("每趟/元") |
|||
private String perTripYuan; // 每趟/元
|
|||
@ApiModelProperty("每趟油耗") |
|||
private String fuelConsumptionPerTrip; // 每趟油耗
|
|||
@ApiModelProperty("司机工资") |
|||
private String driverSalary; // 司机工资
|
|||
@ApiModelProperty("过路费") |
|||
private String toll; // 过路费
|
|||
@ApiModelProperty("维修保养") |
|||
private String maintenance; // 维修保养
|
|||
@ApiModelProperty("预期收益") |
|||
private String expectedRevenue; // 预期收益
|
|||
@ApiModelProperty("净收入") |
|||
private String netIncome; // 净收入
|
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; // 家访考察表sid
|
|||
|
|||
} |
@ -0,0 +1,25 @@ |
|||
package com.yxt.anrui.riskcenter.api.loantemplate; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: dimengzhe |
|||
* @date: 2023/8/10 |
|||
**/ |
|||
@Data |
|||
public class TemplateSolutionVo { |
|||
|
|||
@ApiModelProperty(value = "内容") |
|||
private String value; |
|||
|
|||
@ApiModelProperty(value = "单元格大小") |
|||
private Integer spanSize; |
|||
|
|||
@ApiModelProperty("类型:0 最普通的 1 标题的 2是 加上划线的") |
|||
private Integer type; |
|||
@ApiModelProperty("是否加粗,true是,false否") |
|||
private boolean bold; |
|||
} |
@ -0,0 +1,65 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.biz.loanhomevisitinvestigate; |
|||
|
|||
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.loanhomevisitinvestigate.LoanHomevisitInvestigate; |
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateVo; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-riskcenter(家访考察) <br/> |
|||
* File: LoanHomevisitInvestigateMapper.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.biz.loanhomevisitinvestigate.LoanHomevisitInvestigateMapper <br/> |
|||
* Description: 家访考察. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Mapper |
|||
public interface LoanHomevisitInvestigateMapper extends BaseMapper<LoanHomevisitInvestigate> { |
|||
|
|||
//@Update("update loan_homevisit_investigate set name=#{msg} where id=#{id}")
|
|||
//IPage<LoanHomevisitInvestigateVo> voPage(IPage<LoanHomevisitInvestigate> page, @Param(Constants.WRAPPER) QueryWrapper<LoanHomevisitInvestigate> qw);
|
|||
|
|||
IPage<LoanHomevisitInvestigateVo> selectPageVo(IPage<LoanHomevisitInvestigate> page, @Param(Constants.WRAPPER) Wrapper<LoanHomevisitInvestigate> qw); |
|||
|
|||
List<LoanHomevisitInvestigateVo> selectListAllVo(@Param(Constants.WRAPPER) Wrapper<LoanHomevisitInvestigate> qw); |
|||
|
|||
@Select("select * from loan_homevisit_investigate") |
|||
List<LoanHomevisitInvestigateVo> selectListVo(); |
|||
} |
@ -0,0 +1,13 @@ |
|||
<?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.loanhomevisitinvestigate.LoanHomevisitInvestigateMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateVo"> |
|||
SELECT * FROM loan_homevisit_investigate <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" resultType="com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateVo"> |
|||
SELECT * FROM loan_homevisit_investigate <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
</mapper> |
@ -0,0 +1,100 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.biz.loanhomevisitinvestigate; |
|||
|
|||
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.loanhomevisitinvestigate.LoanHomevisitInvestigate; |
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateQuery; |
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateVo; |
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateDetailsVo; |
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateDto; |
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateFeign; |
|||
|
|||
/** |
|||
* Project: anrui-riskcenter(家访考察) <br/> |
|||
* File: LoanHomevisitInvestigateFeignFallback.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.biz.loanhomevisitinvestigate.LoanHomevisitInvestigateRest <br/> |
|||
* Description: 家访考察. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "家访考察") |
|||
@RestController("com.yxt.anrui.riskcenter.biz.loanhomevisitinvestigate.LoanHomevisitInvestigateRest") |
|||
@RequestMapping("v1/loanhomevisitinvestigate") |
|||
public class LoanHomevisitInvestigateRest implements LoanHomevisitInvestigateFeign { |
|||
|
|||
@Autowired |
|||
private LoanHomevisitInvestigateService loanHomevisitInvestigateService; |
|||
|
|||
@Override |
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
public ResultBean<PagerVo<LoanHomevisitInvestigateVo>> listPage(@RequestBody PagerQuery<LoanHomevisitInvestigateQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
PagerVo<LoanHomevisitInvestigateVo> pv = loanHomevisitInvestigateService.listPageVo(pq); |
|||
return rb.success().setData(pv); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
public ResultBean save(@RequestBody LoanHomevisitInvestigateDto dto){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
loanHomevisitInvestigateService.saveOrUpdateDto(dto); |
|||
return rb.success(); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("根据sid批量删除") |
|||
@PostMapping("/delBySids") |
|||
public ResultBean delBySids(@RequestBody String[] sids){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
loanHomevisitInvestigateService.delBySids(sids); |
|||
return rb.success(); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
public ResultBean<LoanHomevisitInvestigateDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
LoanHomevisitInvestigateDetailsVo vo = loanHomevisitInvestigateService.fetchDetailsVoBySid(sid); |
|||
return rb.success().setData(vo); |
|||
} |
|||
} |
@ -0,0 +1,110 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.riskcenter.biz.loanhomevisitinvestigate; |
|||
|
|||
import cn.hutool.core.bean.BeanUtil; |
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
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.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigate; |
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateQuery; |
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateVo; |
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateDetailsVo; |
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateDto; |
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate.LoanHomevisitInvestigateFeign; |
|||
|
|||
import org.springframework.stereotype.Service; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-riskcenter(家访考察) <br/> |
|||
* File: LoanHomevisitInvestigateService.java <br/> |
|||
* Class: com.yxt.anrui.riskcenter.biz.loanhomevisitinvestigate.LoanHomevisitInvestigateService <br/> |
|||
* Description: 家访考察 业务逻辑. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-08-10 15:13:46 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Service |
|||
public class LoanHomevisitInvestigateService extends MybatisBaseService<LoanHomevisitInvestigateMapper, LoanHomevisitInvestigate> { |
|||
private QueryWrapper<LoanHomevisitInvestigate> createQueryWrapper(LoanHomevisitInvestigateQuery query) { |
|||
// todo: 这里根据具体业务调整查询条件
|
|||
// 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName()));
|
|||
QueryWrapper<LoanHomevisitInvestigate> qw = new QueryWrapper<>(); |
|||
return qw; |
|||
} |
|||
|
|||
public PagerVo<LoanHomevisitInvestigateVo> listPageVo(PagerQuery<LoanHomevisitInvestigateQuery> pq) { |
|||
LoanHomevisitInvestigateQuery query = pq.getParams(); |
|||
QueryWrapper<LoanHomevisitInvestigate> qw = createQueryWrapper(query); |
|||
IPage<LoanHomevisitInvestigate> page = PagerUtil.queryToPage(pq); |
|||
IPage<LoanHomevisitInvestigateVo> pagging = baseMapper.selectPageVo(page, qw); |
|||
PagerVo<LoanHomevisitInvestigateVo> p = PagerUtil.pageToVo(pagging, null); |
|||
return p; |
|||
} |
|||
|
|||
public void saveOrUpdateDto(LoanHomevisitInvestigateDto dto){ |
|||
String dtoSid = dto.getSid(); |
|||
if (StringUtils.isBlank(dtoSid)) { |
|||
this.insertByDto(dto); |
|||
return; |
|||
} |
|||
this.updateByDto(dto); |
|||
} |
|||
|
|||
public void insertByDto(LoanHomevisitInvestigateDto dto){ |
|||
LoanHomevisitInvestigate entity = new LoanHomevisitInvestigate(); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.insert(entity); |
|||
} |
|||
|
|||
public void updateByDto(LoanHomevisitInvestigateDto dto){ |
|||
String dtoSid = dto.getSid(); |
|||
if (StringUtils.isBlank(dtoSid)) { |
|||
return; |
|||
} |
|||
LoanHomevisitInvestigate entity = fetchBySid(dtoSid); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.updateById(entity); |
|||
} |
|||
|
|||
public LoanHomevisitInvestigateDetailsVo fetchDetailsVoBySid(String sid){ |
|||
LoanHomevisitInvestigate entity = fetchBySid(sid); |
|||
LoanHomevisitInvestigateDetailsVo vo = new LoanHomevisitInvestigateDetailsVo(); |
|||
BeanUtil.copyProperties(entity, vo); |
|||
return vo; |
|||
} |
|||
} |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue