更新 knowledge.md
This commit is contained in:
@@ -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层的查询实现
|
||||
|
||||
Reference in New Issue
Block a user