README.md调整

This commit is contained in:
TanJ 2024-12-19 11:24:52 +08:00
parent c95e28df83
commit e92796037a
4 changed files with 16 additions and 14 deletions

View File

@ -24,7 +24,7 @@
-
## 接口规范
- 所有接口统一采用POST列表接口需要带上分页且设置默认大小1000条
- 所有接口统一采用POST列表接口需要设置默认大小1000条
- 接口出入参,必须使用可扩展的对象类型。不能直接是 StringInteger或者List这些无法扩展的类型。
- 为每个接口定义自己的出入参,不要复用出入参
- 接口URL使用 【-】符号进行分割,比如: /orgmanax/node/create-team
@ -61,12 +61,12 @@
## 模块描述
模块名称 | 功能 | 依赖
------ |---------------------------------------------------------------------------------------------------------------------------------------| ----
------ |--------------------------------------------------------------------------------------------------------------------------------------------| ----
`orgmanax-api` | API层提供给org-gateway的接口 |无
`orgmanax-common`| 公共组件、UTIL等 |无
`orgmanax-infra` | 基础设施层,隔离非业务变化,防止外部变化引起内部业务变更。<br/>对接外部依赖数据库MQ等中件间 | `orgmanax-common`
`orgmanax-integration`| 封装了非基础业务的API防止外部API无用依赖影响内部。如apollo-api、gaia-api等 | `orgmanax-infra`
`orgmanax-server`| 业务层,核心分为两层:<br/>1、基础层:`foundation` 单域核心逻辑如:创建部门,创建单位 <br/>2、业务层`service` 如:创建班组、创建小组 <br/>`service` 依赖本域 `foundation`或他域service完成业务 | `orgmanax-api` `orgmanax-common` `orgmanax-infra`
`orgmanax-infra` | 基础设施层,隔离非业务变化,防止外部变化引起内部业务变更。<br/>对接二方服务数据库MQ等中件间 | `orgmanax-common`
`orgmanax-integration`| 封装了二方服务非纯净版本。如apollo-api、gaia-api等。等两方服务统一规范后该层就会移除。 | `orgmanax-infra`
`orgmanax-server`| 核心能力层,分为两块:<br/>1、通用能力:`foundation` 单域核心逻辑如:创建部门,创建单位 <br/>2、人岗架业务能力`service` 如:创建班组、创建小组 <br/>`service` 依赖本域 `foundation`或他域service完成业务 | `orgmanax-api` `orgmanax-common` `orgmanax-infra`
`orgmanax-starter`| 启动类 | `orgmanax-api` `orgmanax-common` `orgmanax-infra` `orgmanax-server` `orgmanax-integration`
@ -79,7 +79,6 @@
- XXXUpdate更新入参
- DO数据库实体DO使用充血模型包括属性和行为定义行为的范围只能是本对象内部属性发生变更的行为
## 目录层级
```
.
@ -137,7 +136,7 @@
│   │   │   │   ├── mapper
│   │   │   │   └── repository
│   │   │   │   └── impl
├── orgmanax-integration #封装非基础域API该层会引用其它域的feign
├── orgmanax-integration #封装二方非纯净API
│   └── src
│   └── main
│   └── java
@ -153,7 +152,7 @@
│   ├── elise
│   ├── gaia
│   └── profile
├── orgmanax-server#业务服务
├── orgmanax-server#核心能力
│   └── src
│   ├── main
│   │   └── java
@ -166,14 +165,14 @@
│   │   │   ├── event#协同关系事件
│   │   │   │   └── inner
│   │   │   │   └── payload
│   │   │   └── service# 协同关系业务
│   │   │   └── service# 协同关系相关业务
│   │   │   └── impl
│   │   ├── node#部门相关
│   │   │   ├── controller
│   │   │   ├── event#部门事件
│   │   │   │   └── inner
│   │   │   │   └── payload
│   │   │   ├── foundation#部门基础功能(如创建部门、更新部门)
│   │   │   ├── foundation#部门基础能力层
│   │   │   │   ├── impl
│   │   │   │   └── req
│   │   │   └── service# 部门业务(创建班组、解散班组、更换班组长、创建小组)

View File

@ -0,0 +1 @@
-- 待补充

View File

@ -0,0 +1 @@
-- 待补充

View File

@ -0,0 +1 @@
-- 待补充