Commit 6925e695 by 崔彦峰

feat(carcondition): 添加车况编码字段并优化AI报告生成逻辑

- 在CarConditionPageVO中新增carConditionCode字段用于标识车况编码
- 添加CheckReportTypeEnum枚举类型的导入依赖
- 修复AI服务调用异常处理逻辑,统一返回null避免空指针异常
- 调整API响应数据结构适配,从post.getT()改为post.getData()获取业务数据
- 增加对AI服务响应数据的空值校验,提升代码健壮性
- 在查询检测报告时增加报告类型筛选条件,确保获取正确的事故报告数据
2 parents 260f8bd6 f585a17c
...@@ -34,6 +34,9 @@ public class CarConditionPageVO implements Serializable { ...@@ -34,6 +34,9 @@ public class CarConditionPageVO implements Serializable {
@Schema(description = "ai收车报告生成状态:0-未生成,1-生成中,2-已生成") @Schema(description = "ai收车报告生成状态:0-未生成,1-生成中,2-已生成")
private Integer aiReportStatus; private Integer aiReportStatus;
@Schema(description = "车况编码")
private String carConditionCode;
@Schema(description = "录入时间") @Schema(description = "录入时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date entryTime; private Date entryTime;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!