Commit eeac4d80 by 林冲 Committed by 崔彦峰

feat(carcondition): 添加车况AI收车报告任务实体和数据访问层

- 新增CarConditionAiReportTask实体类,包含任务状态、结果等字段
- 创建CarConditionAiReportTaskMapper接口继承BaseMapper
- 配置MyBatis映射文件定义基础查询结构和字段映射关系
1 parent f4e31b85
......@@ -38,7 +38,7 @@ public class GenerateLiveCodeResponseDTO implements Serializable {
/**
* 签名
*/
private String sign;
private String signature;
/**
* 过期时间戳
......
package com.gsc4cloud.gsc.vpc.api.entity.carcondition;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;
/**
* 车况AI收车报告任务表
*/
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("vcp_car_condition_ai_report_task")
public class CarConditionAiReportTask implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键id
*/
@TableId(value = "id", type = IdType.AUTO)
@Schema(description = "主键id")
private Integer id;
/**
* 车况AI收车报告主键id
*/
@TableField(value = "car_condition_ai_report_id")
@Schema(description = "车况AI收车报告主键id")
private Integer carConditionAiReportId;
/**
* 任务id
*/
@TableField(value = "task_id")
@Schema(description = "任务id")
private String taskId;
/**
* 生成json话术异步是否成功 0-否 1-是
*/
@TableField(value = "task_finished")
@Schema(description = "生成json话术异步是否成功 0-否 1-是")
private Integer taskFinished;
/**
* 生成json话术是否成功 0-否 1-是
*/
@TableField(value = "success_flag")
@Schema(description = "生成json话术是否成功 0-否 1-是")
private Integer successFlag;
/**
* 失败错误描述
*/
@TableField(value = "error")
@Schema(description = "失败错误描述")
private String error;
/**
* AI收车话术响应内容
*/
@TableField(value = "message")
@Schema(description = "AI收车话术响应内容")
private String message;
/**
* 创建人
*/
@TableField(value = "created_by")
@Schema(description = "创建人")
private String createdBy;
/**
* 创建时间
*/
@TableField(value = "created_date")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "创建时间")
private Date createdDate;
/**
* 修改人
*/
@TableField(value = "updated_by")
@Schema(description = "修改人")
private String updatedBy;
/**
* 修改时间
*/
@TableField(value = "updated_date")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "修改时间")
private Date updatedDate;
/**
* 删除标识:N-未删除,D-已删除
*/
@TableField(value = "deleted_flag")
@TableLogic(value = "N", delval = "D")
@Schema(description = "删除标识:N-未删除,D-已删除")
private String deletedFlag;
}
......@@ -42,7 +42,7 @@ public class GroupAllocRequest implements Serializable {
*/
@Schema(description = "签名")
@NotBlank(message = "签名不能为空", groups = {})
private String sign;
private String signature;
/**
* 过期时间戳(静态二维码场景下为空)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!