refactor: 完成系统架构升级与模块拆分

本次提交进行了大规模的系统重构:
1. 拆分租户相关模块到platform平台层,重构租户表名与关联关系
2. 迁移日志、工单、插件等模块到对应层级,统一代码结构
3. 重构批量操作接口路径,从/available/setting改为/status/batch
4. 新增批量删除基础模型,统一处理批量操作逻辑
5. 优化导入导出接口,修正路由方法与描述信息
6. 修复循环引用问题,重构依赖注入与类型导入
7. 更新初始化脚本与路由注册,新增平台管理路由
8. 重构岗位模型,新增岗位编码字段与校验
9. 完善部门删除逻辑,新增子部门删除限制
10. 更新初始化数据与配置文件,适配新架构
This commit is contained in:
zhangtao
2026-06-03 00:53:19 +08:00
parent 290728d9d2
commit 17b3cd0a4c
104 changed files with 2666 additions and 1438 deletions
@@ -0,0 +1,50 @@
[
{
"name": "技术总监",
"code": "TECH_DIRECTOR",
"order": 1,
"status": "0",
"description": "技术部门负责人",
"tenant_id": 1
},
{
"name": "高级工程师",
"code": "SR_ENGINEER",
"order": 2,
"status": "0",
"description": "高级技术岗位",
"tenant_id": 1
},
{
"name": "工程师",
"code": "ENGINEER",
"order": 3,
"status": "0",
"description": "技术岗位",
"tenant_id": 1
},
{
"name": "产品经理",
"code": "PRODUCT_MANAGER",
"order": 4,
"status": "0",
"description": "产品管理岗位",
"tenant_id": 1
},
{
"name": "运营专员",
"code": "OPERATOR",
"order": 5,
"status": "0",
"description": "运营岗位",
"tenant_id": 1
},
{
"name": "HR专员",
"code": "HR_STAFF",
"order": 6,
"status": "0",
"description": "人事专员",
"tenant_id": 1
}
]