更新 knowledge.md

This commit is contained in:
oyo
2025-09-19 18:10:12 +08:00
parent 00cf12ea3c
commit 2e2cb599cb
+4 -1
View File
@@ -924,7 +924,10 @@ meeting_with_room_and_agenda_wo示例:
- **职责:** 读方案对应的数据库查询方法
- **唯一标识符位置:** 类注解@AutoGenerated中指定,uuid规则: ${ReadPlan的uuid}|QTO|DAO
- **QueryExecutor**
- **生成条件** 如果一个读方案返回的是VO结构,则会生成QueryExecutor
- **生成规则**
- 只有当读方案明确指定返回VO时才生成QueryExecutor
- QueryExecutor的命名规则:${VoName}QueryExecutor
- 如果读方案返回DTO,则不生成QueryExecutor,需要通过DtoQueryService + VoConverter组合实现
- **生成产物** 返回**VO**的查询方案,在entrance层生成Java类,包含独立函数:
- 分页查询: **Paged函数,返回VSQueryResult<XxxVo>
- 不分页全量: query**函数,返回List<XxxVo>