完善客商模块

This commit is contained in:
2026-08-01 01:22:46 +08:00
parent e03b554473
commit 454ca91760
15 changed files with 280 additions and 41 deletions

View File

@@ -71,6 +71,12 @@ public class CustomerArchive extends TenantEntity {
@Schema(description = "注册/实际经营地址")
private String registeredAddress;
@Schema(description = "注册地址行政区划")
private String registeredRegionName;
@Schema(description = "注册地址详细地址")
private String registeredDetailAddress;
@Schema(description = "法人/负责人")
private String legalPerson;
@@ -80,6 +86,9 @@ public class CustomerArchive extends TenantEntity {
@Schema(description = "所属组织ID")
private Long deptId;
@Schema(description = "所属组织ID集合")
private String deptIds;
@Schema(description = "所属组织")
private String deptName;
@@ -116,7 +125,7 @@ public class CustomerArchive extends TenantEntity {
@Schema(description = "备注")
private String remark;
@Schema(description = "资质附件JSON")
@Schema(description = "客商材料JSON")
private String qualificationAttachments;
@Schema(description = "准入类型temporary/formal")

View File

@@ -59,6 +59,18 @@ public class CustomerContact extends TenantEntity {
@Schema(description = "邮箱")
private String email;
@Schema(description = "行政区划")
private String regionName;
@Schema(description = "详细地址")
private String detailAddress;
@Schema(description = "联系地址")
private String contactAddress;
@Schema(description = "所属分公司/事业部")
private String branchName;
@Schema(description = "职务")
private String positionName;

View File

@@ -68,6 +68,9 @@ public class CustomerCreditScore extends TenantEntity {
@Schema(description = "最终得分")
private BigDecimal finalScore;
@Schema(description = "得分率")
private BigDecimal scoreRate;
@Schema(description = "信用等级")
private String creditLevel;
@@ -77,6 +80,15 @@ public class CustomerCreditScore extends TenantEntity {
@Schema(description = "拟申请总资金使用额度(万元)")
private BigDecimal applyCreditLimit;
@Schema(description = "临时申请额度(万元)")
private BigDecimal tempApplyCreditLimit;
@Schema(description = "临时额度开始日期")
private LocalDate tempCreditStartDate;
@Schema(description = "临时额度结束日期")
private LocalDate tempCreditEndDate;
@Schema(description = "自评状态")
private String selfStatus;

View File

@@ -80,6 +80,9 @@ public class CustomerCreditScoreDetail extends TenantEntity {
@Schema(description = "得分说明")
private String scoreDescription;
@Schema(description = "评分项目配置最高得分")
private BigDecimal score;
@Schema(description = "自评得分")
private BigDecimal selfScore;

View File

@@ -68,6 +68,12 @@ public class CustomerInvoiceInfo extends TenantEntity {
@Schema(description = "注册地址")
private String registeredAddress;
@Schema(description = "注册地址行政区划")
private String registeredRegionName;
@Schema(description = "注册地址详细地址")
private String registeredDetailAddress;
@Schema(description = "邮箱")
private String email;
@@ -80,6 +86,12 @@ public class CustomerInvoiceInfo extends TenantEntity {
@Schema(description = "收件人地址")
private String receiverAddress;
@Schema(description = "收件人地址行政区划")
private String receiverRegionName;
@Schema(description = "收件人详细地址")
private String receiverDetailAddress;
@Schema(description = "是否默认")
private Integer isDefault;

View File

@@ -53,6 +53,9 @@ public class CustomerReceiptAccount extends TenantEntity {
@Schema(description = "收款方名称")
private String accountName;
@Schema(description = "开户人姓名")
private String accountHolderName;
@Schema(description = "开户行名称")
private String bankName;
@@ -71,4 +74,7 @@ public class CustomerReceiptAccount extends TenantEntity {
@Schema(description = "是否默认")
private Integer isDefault;
@Schema(description = "备注")
private String remark;
}

View File

@@ -49,4 +49,12 @@ public class CustomerCreditScoreVO extends CustomerCreditScore {
@Schema(description = "评分明细")
private List<CustomerCreditScoreDetailVO> details = new ArrayList<>();
@TableField(exist = false)
@Schema(description = "证明材料")
private Object attachments;
@TableField(exist = false)
@Schema(description = "评估标准")
private List<CreditRatingStandardVO> standards = new ArrayList<>();
}