
25 changed files with 541 additions and 41 deletions
@ -0,0 +1,65 @@ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate; |
|||
|
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo.LoanHomeVisitInvestigateInitOtherPeoVo; |
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class LoanHomeVisitInvestigateInitCustomerVo implements Vo { |
|||
|
|||
private String sid; |
|||
@ApiModelProperty("实际购车人") |
|||
private Boolean actualBuyer; |
|||
@ApiModelProperty("借款人sid") |
|||
private String lenderSid; |
|||
@ApiModelProperty("借款人姓名") |
|||
private String lenderNam; |
|||
@ApiModelProperty("身份证") |
|||
private String idNumber; |
|||
@ApiModelProperty("电话") |
|||
private String mobile; |
|||
@ApiModelProperty("职业value") |
|||
private String lenderJob; |
|||
@ApiModelProperty("职业key") |
|||
private String lenderJobKey; |
|||
@ApiModelProperty("婚姻状况value") |
|||
private String marriageType; |
|||
@ApiModelProperty("婚姻状况key") |
|||
private String marriageTypeKey; |
|||
@ApiModelProperty("是否有子女value") |
|||
private String children; |
|||
@ApiModelProperty("是否有子女key") |
|||
private String childrenKey; |
|||
@ApiModelProperty("户籍地址") |
|||
private String koseki; |
|||
@ApiModelProperty("现居住地址") |
|||
private String address; |
|||
@ApiModelProperty("开户行") |
|||
private String invoBank; |
|||
@ApiModelProperty("银行账号") |
|||
private String bankNumber; |
|||
@ApiModelProperty("银行卡照片") |
|||
private List<String> bankCardImages = new ArrayList<>(); |
|||
@ApiModelProperty("配偶姓名") |
|||
private String spouseName; |
|||
@ApiModelProperty("配偶身份证") |
|||
private String spouseIdCard; |
|||
@ApiModelProperty("配偶电话") |
|||
private String spouseMobile; |
|||
@ApiModelProperty("配偶职业") |
|||
private String spouseJob; |
|||
@ApiModelProperty("其他人员") |
|||
private List<LoanHomeVisitInvestigateInitOtherPeoVo> otherPersonnel = new ArrayList<>(); |
|||
@ApiModelProperty("紧急联系人姓名") |
|||
private String emergencyContactName; |
|||
@ApiModelProperty("紧急联系人电话") |
|||
private String emergencyContactMobile; |
|||
@ApiModelProperty("紧急联系人类型value") |
|||
private String emergencyContactType; |
|||
@ApiModelProperty("紧急联系人类型key") |
|||
private String emergencyContactTypeKey; |
|||
} |
@ -0,0 +1,67 @@ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigate; |
|||
|
|||
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo.LoanHomeVisitInvestigateInitOtherPeoVo; |
|||
import com.yxt.common.core.dto.Dto; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class LoanHomeVisitInvestigateSaveCustomerDto implements Dto { |
|||
|
|||
private String sid; |
|||
@ApiModelProperty("实际购车人") |
|||
private Boolean actualBuyer; |
|||
@ApiModelProperty("借款人sid") |
|||
private String lenderSid; |
|||
@ApiModelProperty("借款人姓名") |
|||
private String lenderNam; |
|||
@ApiModelProperty("身份证") |
|||
private String idNumber; |
|||
@ApiModelProperty("电话") |
|||
private String mobile; |
|||
@ApiModelProperty("职业value") |
|||
private String lenderJob; |
|||
@ApiModelProperty("职业key") |
|||
private String lenderJobKey; |
|||
@ApiModelProperty("婚姻状况value") |
|||
private String marriageType; |
|||
@ApiModelProperty("婚姻状况key") |
|||
private String marriageTypeKey; |
|||
@ApiModelProperty("是否有子女value") |
|||
private String children; |
|||
@ApiModelProperty("是否有子女key") |
|||
private String childrenKey; |
|||
@ApiModelProperty("户籍地址") |
|||
private String koseki; |
|||
@ApiModelProperty("现居住地址") |
|||
private String address; |
|||
@ApiModelProperty("开户行") |
|||
private String invoBank; |
|||
@ApiModelProperty("银行账号") |
|||
private String bankNumber; |
|||
@ApiModelProperty("银行卡照片") |
|||
private List<String> bankCardImages = new ArrayList<>(); |
|||
@ApiModelProperty("配偶姓名") |
|||
private String spouseName; |
|||
@ApiModelProperty("配偶身份证") |
|||
private String spouseIdCard; |
|||
@ApiModelProperty("配偶电话") |
|||
private String spouseMobile; |
|||
@ApiModelProperty("配偶职业") |
|||
private String spouseJob; |
|||
@ApiModelProperty("其他人员") |
|||
private List<LoanHomeVisitInvestigateInitOtherPeoVo> otherPersonnel = new ArrayList<>(); |
|||
@ApiModelProperty("紧急联系人姓名") |
|||
private String emergencyContactName; |
|||
@ApiModelProperty("紧急联系人电话") |
|||
private String emergencyContactMobile; |
|||
@ApiModelProperty("紧急联系人类型value") |
|||
private String emergencyContactType; |
|||
@ApiModelProperty("紧急联系人类型key") |
|||
private String emergencyContactTypeKey; |
|||
@ApiModelProperty("家访考察表sid") |
|||
private String mainSid; |
|||
} |
@ -0,0 +1,27 @@ |
|||
package com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class LoanHomeVisitInvestigateInitOtherPeoVo implements Vo { |
|||
|
|||
private String sid; |
|||
@ApiModelProperty("姓名") |
|||
private String name; |
|||
@ApiModelProperty("人员类型value") |
|||
private String personnelType; |
|||
@ApiModelProperty("人员类型key") |
|||
private String personnelKey; |
|||
@ApiModelProperty("电话") |
|||
private String mobile; |
|||
@ApiModelProperty("身份证") |
|||
private String idCard; |
|||
@ApiModelProperty("现住址") |
|||
private String address; |
|||
@ApiModelProperty("公司") |
|||
private String company; |
|||
@ApiModelProperty("职业") |
|||
private String job; |
|||
} |
@ -1,13 +1,33 @@ |
|||
<?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.loanhomevisitinvestigatefile.LoanHomevisitInvestigateFileMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatefile.LoanHomevisitInvestigateFileVo"> |
|||
SELECT * FROM loan_homevisit_investigate_file <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" resultType="com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatefile.LoanHomevisitInvestigateFileVo"> |
|||
SELECT * FROM loan_homevisit_investigate_file <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" |
|||
resultType="com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatefile.LoanHomevisitInvestigateFileVo"> |
|||
SELECT * FROM loan_homevisit_investigate_file |
|||
<where> |
|||
${ew.sqlSegment} |
|||
</where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" |
|||
resultType="com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatefile.LoanHomevisitInvestigateFileVo"> |
|||
SELECT * FROM loan_homevisit_investigate_file |
|||
<where> |
|||
${ew.sqlSegment} |
|||
</where> |
|||
</select> |
|||
|
|||
<select id="selByMainSidAndTypeKey" |
|||
resultType="com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatefile.LoanHomevisitInvestigateFileDetailsVo"> |
|||
select sid, |
|||
createByName, |
|||
concat(#{path}, fileUrl) as fileUrl, |
|||
attachType, |
|||
mainSid |
|||
from loan_homevisit_investigate_file |
|||
where mainSid = #{sid} |
|||
and attachType = #{attachType} |
|||
</select> |
|||
</mapper> |
@ -1,13 +1,35 @@ |
|||
<?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.loanhomevisitinvestigateotherpeo.LoanHomevisitInvestigateOtherpeoMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo.LoanHomevisitInvestigateOtherpeoVo"> |
|||
SELECT * FROM loan_homevisit_investigate_otherpeo <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" resultType="com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo.LoanHomevisitInvestigateOtherpeoVo"> |
|||
SELECT * FROM loan_homevisit_investigate_otherpeo <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" |
|||
resultType="com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo.LoanHomevisitInvestigateOtherpeoVo"> |
|||
SELECT * FROM loan_homevisit_investigate_otherpeo |
|||
<where> |
|||
${ew.sqlSegment} |
|||
</where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" |
|||
resultType="com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo.LoanHomevisitInvestigateOtherpeoVo"> |
|||
SELECT * FROM loan_homevisit_investigate_otherpeo |
|||
<where> |
|||
${ew.sqlSegment} |
|||
</where> |
|||
</select> |
|||
|
|||
<select id="selByMainSid" |
|||
resultType="com.yxt.anrui.riskcenter.api.loanhomevisitinvestigateotherpeo.LoanHomeVisitInvestigateInitOtherPeoVo"> |
|||
SELECT sid, |
|||
peoName AS name, |
|||
peoType AS personnelKey, |
|||
mobile, |
|||
idNumber AS idCard, |
|||
peoPreAddress AS address, |
|||
workUnit AS company, |
|||
peoCareerValue AS job |
|||
FROM loan_homevisit_investigate_otherpeo |
|||
WHERE mainSid = #{sid} |
|||
</select> |
|||
</mapper> |
@ -0,0 +1,63 @@ |
|||
package com.yxt.anrui.terminal.api.risk.loanhomevisitinvestigate; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class AppLoanHomeVisitInvestigateInitCustomerVo implements Vo { |
|||
|
|||
private String sid; |
|||
@ApiModelProperty("实际购车人") |
|||
private Boolean actualBuyer; |
|||
@ApiModelProperty("借款人sid") |
|||
private String lenderSid; |
|||
@ApiModelProperty("借款人姓名") |
|||
private String lenderNam; |
|||
@ApiModelProperty("身份证") |
|||
private String idNumber; |
|||
@ApiModelProperty("电话") |
|||
private String mobile; |
|||
@ApiModelProperty("职业value") |
|||
private String lenderJob; |
|||
@ApiModelProperty("职业key") |
|||
private String lenderJobKey; |
|||
@ApiModelProperty("婚姻状况value") |
|||
private String marriageType; |
|||
@ApiModelProperty("婚姻状况key") |
|||
private String marriageTypeKey; |
|||
@ApiModelProperty("是否有子女value") |
|||
private String children; |
|||
@ApiModelProperty("是否有子女key") |
|||
private String childrenKey; |
|||
@ApiModelProperty("户籍地址") |
|||
private String koseki; |
|||
@ApiModelProperty("现居住地址") |
|||
private String address; |
|||
@ApiModelProperty("开户行") |
|||
private String invoBank; |
|||
@ApiModelProperty("银行账号") |
|||
private String bankNumber; |
|||
@ApiModelProperty("银行卡照片") |
|||
private List<String> bankCardImages; |
|||
@ApiModelProperty("配偶姓名") |
|||
private String spouseName; |
|||
@ApiModelProperty("配偶身份证") |
|||
private String spouseIdCard; |
|||
@ApiModelProperty("配偶电话") |
|||
private String spouseMobile; |
|||
@ApiModelProperty("配偶职业") |
|||
private String spouseJob; |
|||
@ApiModelProperty("其他人员") |
|||
private List<AppLoanHomeVisitInvestigateInitOtherPeoVo> otherPersonnel; |
|||
@ApiModelProperty("紧急联系人姓名") |
|||
private String emergencyContactName; |
|||
@ApiModelProperty("紧急联系人电话") |
|||
private String emergencyContactMobile; |
|||
@ApiModelProperty("紧急联系人类型value") |
|||
private String emergencyContactType; |
|||
@ApiModelProperty("紧急联系人类型key") |
|||
private String emergencyContactTypeKey; |
|||
} |
@ -0,0 +1,27 @@ |
|||
package com.yxt.anrui.terminal.api.risk.loanhomevisitinvestigate; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class AppLoanHomeVisitInvestigateInitOtherPeoVo implements Vo { |
|||
|
|||
private String sid; |
|||
@ApiModelProperty("姓名") |
|||
private String name; |
|||
@ApiModelProperty("人员类型value") |
|||
private String personnelType; |
|||
@ApiModelProperty("人员类型key") |
|||
private String personnelKey; |
|||
@ApiModelProperty("电话") |
|||
private String mobile; |
|||
@ApiModelProperty("身份证") |
|||
private String idCard; |
|||
@ApiModelProperty("现住址") |
|||
private String address; |
|||
@ApiModelProperty("公司") |
|||
private String company; |
|||
@ApiModelProperty("职业") |
|||
private String job; |
|||
} |
@ -0,0 +1,64 @@ |
|||
package com.yxt.anrui.terminal.api.risk.loanhomevisitinvestigate; |
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class AppLoanHomeVisitInvestigateSaveCustomerDto implements Dto { |
|||
|
|||
private String sid; |
|||
@ApiModelProperty("实际购车人") |
|||
private Boolean actualBuyer; |
|||
@ApiModelProperty("借款人sid") |
|||
private String lenderSid; |
|||
@ApiModelProperty("借款人姓名") |
|||
private String lenderNam; |
|||
@ApiModelProperty("身份证") |
|||
private String idNumber; |
|||
@ApiModelProperty("电话") |
|||
private String mobile; |
|||
@ApiModelProperty("职业value") |
|||
private String lenderJob; |
|||
@ApiModelProperty("职业key") |
|||
private String lenderJobKey; |
|||
@ApiModelProperty("婚姻状况value") |
|||
private String marriageType; |
|||
@ApiModelProperty("婚姻状况key") |
|||
private String marriageTypeKey; |
|||
@ApiModelProperty("是否有子女value") |
|||
private String children; |
|||
@ApiModelProperty("是否有子女key") |
|||
private String childrenKey; |
|||
@ApiModelProperty("户籍地址") |
|||
private String koseki; |
|||
@ApiModelProperty("现居住地址") |
|||
private String address; |
|||
@ApiModelProperty("开户行") |
|||
private String invoBank; |
|||
@ApiModelProperty("银行账号") |
|||
private String bankNumber; |
|||
@ApiModelProperty("银行卡照片") |
|||
private List<String> bankCardImages = new ArrayList<>(); |
|||
@ApiModelProperty("配偶姓名") |
|||
private String spouseName; |
|||
@ApiModelProperty("配偶身份证") |
|||
private String spouseIdCard; |
|||
@ApiModelProperty("配偶电话") |
|||
private String spouseMobile; |
|||
@ApiModelProperty("配偶职业") |
|||
private String spouseJob; |
|||
@ApiModelProperty("其他人员") |
|||
private List<AppLoanHomeVisitInvestigateInitOtherPeoVo> otherPersonnel = new ArrayList<>(); |
|||
@ApiModelProperty("紧急联系人姓名") |
|||
private String emergencyContactName; |
|||
@ApiModelProperty("紧急联系人电话") |
|||
private String emergencyContactMobile; |
|||
@ApiModelProperty("紧急联系人类型value") |
|||
private String emergencyContactType; |
|||
@ApiModelProperty("紧急联系人类型key") |
|||
private String emergencyContactTypeKey; |
|||
} |
Loading…
Reference in new issue