郭庆泰
|
7c9e5c373a
|
docs(manager_projects): §6.3 加中文列名列 (DB COMMENT 优先, 加速类型不一致排查)
每行从 5 列扩到 6 列: 实体字段 / 中文列名 (DB COMMENT) / 类型 / 表字段 / 类型 / 一致?
中文名来源 (按优先级):
1. SQL information_schema.COLUMNS.COLUMN_COMMENT (DDL COMMENT, 最权威)
2. 前端 UI label (table header / form label)
3. 实体 @Excel(name) (导出列头, 兜底)
好处: 一眼看出"哪个中文字段对哪个英文 DB 列", §6.3 之前发现的 projectId String vs project_id bigint / startTime String vs start_time datetime 这类 bug 一目了然。
|
2026-08-18 22:17:28 +08:00 |
|
郭庆泰
|
66068c6f57
|
refactor(biz/project): 修实体类型不一致 projectId String→Long + startTime/endTime String→Date
- BizProject.projectId String→Long (9 文件: domain / IBizProjectService / BizProjectServiceImpl /
BizProjectMapper.java+xml / BizProjectController / BizExecutionIntentController /
BizPublicityIntentController / BizPublicController). 删 SnowflakeId.injectIfEmpty
(Long setter 不匹配反射 NoSuchMethodException, biz_project 用 AUTO_INCREMENT 安全)
- BizProject.startTime/endTime String→Date, 加 @JsonFormat yyyy-MM-dd HH:mm:ss (跟 BizMeeting 一致)
- Mapper XML 8 处 <if test='x != null and x != ""'> → <if test='x != null'> (Date 无 isEmpty)
- _self/manager_projects.md: §6.3 + §9.1 标已修, 加修复记录章节
|
2026-08-18 22:03:45 +08:00 |
|