✨ 客商评分双模式与金蝶公司代码改回组织维护

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-04 23:46:19 +08:00
parent 3100fd046c
commit 07cffd29ab
18 changed files with 524 additions and 85 deletions
@@ -139,9 +139,9 @@ public class Dept extends TenantEntity {
private String deptCode;
/**
* 金蝶部门代码
* 金蝶公司代码(平台公司维护;字段名 kingdeeDeptCode 为历史遗留)
*/
@Schema(description = "金蝶部门代码")
@Schema(description = "金蝶公司代码")
private String kingdeeDeptCode;
/**
@@ -126,6 +126,10 @@ public class CustomerArchive extends TenantEntity {
@TableField(updateStrategy = FieldStrategy.ALWAYS)
private LocalDate businessEndDate;
@Schema(description = "下次评定日期")
@TableField(updateStrategy = FieldStrategy.ALWAYS)
private LocalDate nextEvaluateDate;
@Schema(description = "注册资金(万元)")
@TableField(updateStrategy = FieldStrategy.ALWAYS)
private BigDecimal registeredCapital;
@@ -56,9 +56,15 @@ public class CustomerCreditScore extends TenantEntity {
@Schema(description = "评分量化表ID")
private Long quantificationId;
@Schema(description = "评估方式:online线上评估,offline线下评估")
private String evaluateMode;
@Schema(description = "评分日期")
private LocalDate scoreDate;
@Schema(description = "下次评定日期")
private LocalDate nextEvaluateDate;
@Schema(description = "自评得分")
private BigDecimal selfScore;
@@ -106,6 +106,10 @@ public class CustomerArchiveVO extends CustomerArchive {
@Schema(description = "已付金额合计(元)")
private BigDecimal usedFundLimit;
@TableField(exist = false)
@Schema(description = "到期筛查:all全部/soon三十天内到期/expired已过期/license_soon执照即将到期/evaluate_soon评定即将到期")
private String expireStatus;
@TableField(exist = false)
@Schema(description = "客商风险筛选值:blacklist黑名单/high高风险/middle中风险/low低风险")
private String customerRisk;