更新 knowledge.md

This commit is contained in:
ycl
2025-09-18 10:11:42 +08:00
parent 7e07894422
commit ce7c0ad997

View File

@@ -1559,6 +1559,7 @@ Java、SpringBoot、MyBatis-plus(读取)、Hibernate(写入)
│ ├── bo/ # 聚合对象定义
│ │ └── base/ # 聚合对象的基类
│ ├── dto/ # DTO定义
│ ├── mo/ # 消息定义 (普通消息和领域消息)
│ ├── converter/ # 复杂Dto非BaseDto)组装
│ ├── facade/ # 调用其他模块的RPC适配器包含RpcAdapter如UserDtoServiceInMeetingRpcAdapter表示从meeting模块调用user模块中方法
│ └── impl/ # DTO查询实现
@@ -1568,6 +1569,8 @@ Java、SpringBoot、MyBatis-plus(读取)、Hibernate(写入)
│ ├── qto/ # 读方案数据库查询
│ └── mapper/ # MyBatis Mapper
└── service/src/main/java/com/{project_name}/{module_name}/service/ # BOService包含某个聚合下所有写方案生成的方法、 DtoService包含DTO生成的预定义方法
├── mq/producer/ #普通消息的生成者
├── mq/consumer/ #消息的消费者
├── bto/ # 写方案入参定义
├── converter/ # 对返回的BaseDto按需进行二次扩展
├── query/ # 查询方案的service层入口调用persist层的查询实现