项目介绍
微服务介绍
| 序号 |
服务名 |
端口号 |
备注 |
是否必须启动 |
| 1 |
authentication |
8081 |
认证服务 |
是 |
| 2 |
commons |
|
公共类 |
否 |
| 3 |
gateway |
8001 |
网关 |
是 |
| 4 |
platform |
8087 |
总控项目 |
是 |
| 5 |
consoleStatistics |
8086 |
|
是 |
| 6 |
tenant--costsorrule |
8085 |
|
是 |
| 7 |
tenant-organization |
8085 |
|
是 |
| 8 |
tenant-insurance-xxx |
xxx |
对接不同的保险公司 |
否 |
| 9 |
rocketmq |
|
|
否 |
| 10 |
operation-Backend |
xxx |
前端:平台管理系统 |
否 |
| 11 |
tenant-Platform |
xxx |
前端:租户系统 |
否 |
应用版本依赖
| 序号 |
依赖软件 |
版本 |
备注 |
| 1 |
JDK |
JDK17 |
JDK8不行 |
| 2 |
Apache Maven |
3.9.14 |
|
其它
通过gateway网关转发其他服务项目 后期加入nacos 使用服务名支持负载均衡、服务健康状态管理
轨迹添加
Service层 需要继承HistoryDataService 实现getHistoryData方法 更新与删除操作需要获取历史的数据
type 操作类型 C U D
systemCode 系统code
serviceTag service Bean名
primary service对应表的主键id 默认为id
@OperatorTrajectory(type = "D",systemCode = "JZG",serviceTag = "userRoleService",primary = "id")
@GetMapping("/delete")
public HttpResult delete(Integer roleId){
}