Commit f06909b7 by 林永健 Committed by 崔彦峰

feat(database): 添加车况AI收车报告任务表结构

- 新增vcp_car_condition_ai_report_task表用于存储AI报告任务信息
- 添加任务ID、完成状态、成功标志等核心字段
- 包含错误描述和AI话术响应内容存储功能
- 设置创建和修改时间戳跟踪记录变更
- 配置软删除标识支持数据回收站功能
- 建立车况AI报告ID索引优化查询性能
1 parent 6e7724e6
......@@ -24,7 +24,7 @@
| http://192.168.3.233:8090/dj/rpc-smartcarlife.git | v5.7.0 | rpc-dj-smartcarlife | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rop-dj-pe-analysis.git | v5.7.0 | rop-dj-pe-analysis | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rpc-dj-pe-analysis.git | v5.7.0 | rpc-dj-pe-analysis | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rpc-dj-strategy.git | v5.7.0 | rpc-dj-pe-strategy | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rpc-strategy.git | v5.7.0 | rpc-dj-pe-strategy | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rop-dj-smartcarlife | v5.7.0 | rop-dj-smartcarlife | 周立明 | | | |
| https://gitee.com/foutouren/aus.git | v1.2.0 | aus-admin | 章家宝 | | | |
| https://gitee.com/foutouren/aus.git | v1.2.0 | aus-api | 章家宝 | | | |
......
......@@ -127,7 +127,23 @@ CREATE TABLE `vcp_car_condition_ai_report_log` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='车况AI收车报告日志表';
#车况AI收车报告任务表
CREATE TABLE `vcp_car_condition_ai_report_task` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键id',
`car_condition_ai_report_id` int(11) NOT NULL COMMENT '车况AI收车报告主键id',
`task_id` varchar(64) DEFAULT NULL COMMENT '任务id',
`task_finished` tinyint(1) DEFAULT NULL COMMENT '生成json话术异步是否成功 0-否 1-是',
`success_flag` tinyint(1) DEFAULT NULL COMMENT '生成json话术是否成功 0-否 1-是',
`error` varchar(256) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '失败错误描述',
`message` varchar(256) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'AI收车话术响应内容',
`created_by` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '创建人',
`created_date` datetime NOT NULL COMMENT '创建时间',
`updated_by` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '修改人',
`updated_date` datetime NOT NULL COMMENT '修改时间',
`deleted_flag` char(1) COLLATE utf8mb4_unicode_ci DEFAULT 'N' COMMENT '删除标识:N-未删除,D-已删除',
PRIMARY KEY (`id`),
KEY `idx_car_condition_ai_report_id` (`car_condition_ai_report_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='车况AI收车报告任务表';
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!