Merge remote-tracking branch 'origin/feature_20250424_4in1' into feature-20250424-release

# Conflicts:
#	ai-analytic-center-api/src/main/java/com/volvo/ai/analytic/center/enums/BusinessTypeEnum.java
#	ai-analytic-center-biz/src/main/java/com/volvo/ai/analytic/center/controller/TestController.java
#	ai-analytic-center-biz/src/main/java/com/volvo/ai/analytic/center/service/impl/DataMaskingRuleServiceImpl.java
This commit is contained in:
lxu75
2025-04-21 14:20:53 +08:00
26 changed files with 637 additions and 43 deletions

View File

@@ -5,4 +5,6 @@ public class Constant {
public static final String CHANNEL_DCC = "Channel_Dcc";
public static final String DISPLAY_STATUS = "FINISHED";
public static final String INTELLIGENT_CUSTOMER_4IN1 = "INTELLIGENT_CUSTOMER_4IN1";
}

View File

@@ -0,0 +1,32 @@
package com.volvo.ai.analytic.center.dto.req;
import lombok.Data;
/**
*
* @ClassName: FourRequestDTO
* @author: renzhen
* @Description: 四合一请求参数
* @date: 2025-04-02 10:36
*/
@Data
public class FourInOneRequestDTO {
// 语料唯一Id
private String workOrderId;
//【语料内容】不可为空"
private String workOrderContent;
// 消息来源
private String workOrderSource;
// 关联语料内容
private String relationCorpusContent;
private String aiAnalysisRequestId;
}

View File

@@ -0,0 +1,22 @@
package com.volvo.ai.analytic.center.dto.resp;
import lombok.Data;
/**
* @ClassName ComplainDTO
* @Description 四合一 投诉
* @Author renzhen
* @Date 2025-04-02 11:20
* @Version 1.0
**/
@Data
public class ComplainDTO {
private String orderType;
private String complainType;
private String complainTitle;
private String problemDescription;
private String contactTelephone;
private String contactName;
private String contactSex;
}

View File

@@ -0,0 +1,20 @@
package com.volvo.ai.analytic.center.dto.resp;
import lombok.Data;
/**
* @ClassName ComplainDTO
* @Description 四合一 咨询
* @Author renzhen
* @Date 2025-04-02 11:20
* @Version 1.0
**/
@Data
public class ConsultDTO {
private String orderType;
private String problemDescription;
private String contactTelephone;
private String contactName;
private String contactSex;
}

View File

@@ -0,0 +1,29 @@
package com.volvo.ai.analytic.center.dto.resp;
import lombok.Data;
/**
*
* @ClassName: FourRequestDTO
* @author: renzhen
* @Description: 四合一请求参数
* @date: 2025-04-02 10:36
*/
@Data
public class FourInOneResponseDTO {
// 语料唯一Id
private String workOrderId;
//投诉
private ComplainDTO complain;
// 咨询
private ConsultDTO consult;
private String aiAnalysisRequestId;
}

View File

@@ -0,0 +1,66 @@
package com.volvo.ai.analytic.center.entity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("tc_intelligent_customer")
public class TcIntelligentCustomer {
@TableId(value = "id", type = IdType.AUTO)
private Long id;
// 咨询类【201】/投诉类【202】/投诉类型【203】
@TableField("intelligent_customer_type")
private String intelligentCustomerType;
@TableField("type_one")
private String typeOne;
@TableField("type_two")
private String typeTwo; // JSON 字符串
@TableField("type_three")
private String typeThree;
@TableField("is_deleted")
@TableLogic
private Integer isDeleted;
@TableField("versions")
@Version
private Integer versions;
/**
* 创建者
*/
@TableField("create_by")
private String createBy;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
/**
* 更新者
*/
@TableField("update_by")
private String updateBy;
/**
* 更新时间
*/
@TableField("update_time")
private Date updateTime;
}

View File

@@ -6,7 +6,9 @@ import lombok.Getter;
public enum BusinessTypeEnum {
COMMUNITYTARGET("CommunityTarget", "社区舆情分析"),
SMART_ASSISTANT("SMART_ASSISTANT", "智能助手"),
SMART_ASSISTANT("SMART_ASSISTANT", "智能助手-DCC"),
SMART_ASSISTANT_QIWEI("SMART_ASSISTANT_QIWEI", "智能助手-企微"),
INTELLIGENT_CUSTOMER("INTELLIGENT_CUSTOMER_4IN1", "智能客服-4合一"),
//索赔检核
CLAIM_VERIFICATION("CLAIM_VERIFICATION", "索赔检核流程"),

View File

@@ -0,0 +1,19 @@
package com.volvo.ai.analytic.center.enums;
import lombok.Getter;
@Getter
public enum IntelligentCustomerTypeEnum {
CONSULT("201", "咨询类"),
COMPLAIN("202", "投诉类"),
CONSULT_TYPE("203", "投诉类型")
;
private String code;
private String message;
IntelligentCustomerTypeEnum(String code, String message) {
this.code = code;
this.message = message;
}
}