|
|
@ -4,15 +4,15 @@ |
|
|
|
|
|
|
|
|
**Blocked by:** 01 (BaseDTO 重构), 02 (InitBinder) |
|
|
**Blocked by:** 01 (BaseDTO 重构), 02 (InitBinder) |
|
|
|
|
|
|
|
|
**Status:** ready-for-agent |
|
|
**Status:** resolved |
|
|
|
|
|
|
|
|
- [ ] `DictGroupVO` 改名为 `DictGroupDTO`,加 `@Data` + `@EqualsAndHashCode(callSuper = true)`,继承 `BaseDTO` |
|
|
- [x] `DictGroupVO` 改名为 `DictGroupDTO`,加 `@Data` + `@EqualsAndHashCode(callSuper = true)`,继承 `BaseDTO` |
|
|
- [ ] `DictGroupDTO` 上实现 `fromEntity(DictGroup)` 静态方法和 `toEntity()` 实例方法 |
|
|
- [x] `DictGroupDTO` 上实现 `fromEntity(DictGroup)` 静态方法和 `toEntity()` 实例方法 |
|
|
- [ ] `DictGroupController.saveOrUpdate` 入参从 `DictGroup` 改为 `DictGroupDTO` |
|
|
- [x] `DictGroupController.saveOrUpdate` 入参从 `DictGroup` 改为 `DictGroupDTO` |
|
|
- [ ] `DictGroupController.enabledList` 出参从 `List<DictGroup>` 改为 `List<DictGroupDTO>` |
|
|
- [x] `DictGroupController.enabledList` 出参从 `List<DictGroup>` 改为 `List<DictGroupDTO>` |
|
|
- [ ] Service 层手工置空 `createTime`/`creatorId`/`updaterId`/`deleted` 的代码删除 |
|
|
- [x] Service 层手工置空 `createTime`/`creatorId`/`updaterId`/`deleted` 的代码删除 |
|
|
- [ ] Service 层手工强制 `builtin = false` 的代码删除 |
|
|
- [x] Service 层手工强制 `builtin = false` 的代码删除 |
|
|
- [ ] DictGroupController 不再 import `DictGroup` 实体 |
|
|
- [x] DictGroupController 不再 import `DictGroup` 实体 |
|
|
- [ ] 测试:saveOrUpdate 入参为 DictGroupDTO,提交 `builtin=true` 被 strip |
|
|
- [x] 测试:saveOrUpdate 入参为 DictGroupDTO,提交 `builtin=true` 被 strip |
|
|
- [ ] 测试:enabledList 返回的 JSON 中不包含 `deleted`/`creatorId`/`updaterId` |
|
|
- [x] 测试:enabledList 返回的 JSON 中不包含 `deleted`/`creatorId`/`updaterId` |
|
|
- [ ] 测试:现有 dict 模块测试在改入参类型后仍全绿 |
|
|
- [x] 测试:现有 dict 模块测试在改入参类型后仍全绿 |
|
|
|