QA问答对审核功能以及历史记录归档管理优化
This commit is contained in:
@@ -33,6 +33,13 @@ public class AnnotationResult {
|
||||
@TableField("resource_id")
|
||||
private Long resourceId;
|
||||
|
||||
// 添加字段
|
||||
@TableField("task_name")
|
||||
private String taskName;
|
||||
|
||||
@TableField("resource_name")
|
||||
private String resourceName;
|
||||
|
||||
@TableField("qa_content_file_path")
|
||||
private String qaContentFilePath;
|
||||
|
||||
|
||||
@@ -3,13 +3,13 @@ package com.labelsys.backend.entity;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.labelsys.backend.enums.UserRole;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@@ -17,18 +17,25 @@ import lombok.NoArgsConstructor;
|
||||
@TableName("annotation_result_history")
|
||||
public class AnnotationResultHistory {
|
||||
@TableId(type = IdType.INPUT)
|
||||
private Long id;
|
||||
private Long companyId;
|
||||
private Long creatorId;
|
||||
private String creatorRole;
|
||||
private Long sourceResultId;
|
||||
private Long taskId;
|
||||
private Long resourceId;
|
||||
private Long id;
|
||||
private Long companyId;
|
||||
private Long creatorId;
|
||||
private String creatorRole;
|
||||
private Long sourceResultId;
|
||||
private Long taskId;
|
||||
private Long resourceId;
|
||||
private String taskName;
|
||||
private String resourceName;
|
||||
//private String qaContentJson;
|
||||
private String qaContentStorageMode;
|
||||
private String qaContentFilePath;
|
||||
private String archiveReason;
|
||||
private Long archivedBy;
|
||||
// private String qaContentStorageMode;
|
||||
private String qaContentFilePath;
|
||||
private String archiveReason;
|
||||
private Long archivedBy;
|
||||
private LocalDateTime archivedAt;
|
||||
private LocalDateTime createdAt;
|
||||
}
|
||||
|
||||
// 新增审核人相关字段
|
||||
private Long reviewerId;
|
||||
private String reviewerName;
|
||||
private String reviewerComment;
|
||||
}
|
||||
Reference in New Issue
Block a user