[P0] 评估报告AI日志表缺少数据库DDL脚本 #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题描述
EvaluationAiLogDO实体类没有对应的数据库表 SQL 脚本,且缺少@KeySequence注解。涉及文件
backend/yudao-module-prison/src/main/java/cn/iocoder/yudao/module/prison/dal/dataobject/evaluationreport/EvaluationAiLogDO.java问题详情
1. 缺少数据库表 DDL
EvaluationAiLogDO使用@TableName("prison_evaluation_ai_log"),但在prison_module.sql中没有创建该表的 SQL 脚本。2. 缺少序列注解
该 DO 没有
@KeySequence注解,可能导致 MyBatis-Plus 主键生成问题。建议修复
在
prison_module.sql中添加以下 DDL:同时在
EvaluationAiLogDO中添加:优先级
P0 (Critical)
标签
bug, backend, database