Commit Graph

7 Commits

Author SHA1 Message Date
chiguyong ff48de8985 chore: 更新设备管理、工单完成等功能 2026-04-23 15:42:29 +08:00
chiguyong ee3cf66c90 refactor: 重构模块结构,将设备/运维相关代码移至module-asset和module-wo
- 将EquipmentController移至module-asset
- 将EquipmentHealthController移至module-asset
- 将OwnershipEntityController移至module-asset
- 将维保工单相关移至module-wo
- 删除module-ops空模块
- 更新API路径为/api/asset/*和/api/ops/*
2026-04-06 15:41:11 +08:00
chiguyong efdc4b71f6 fix: add SPACE_004 error code and missing DTO fields 2026-03-24 00:06:55 +08:00
chiguyong aa3f6c4ced feat: add equipment extension fields to SpaceNode entity 2026-03-23 23:53:55 +08:00
chiguyong f022d298e6 fix: 统一使用BusinessException替换RuntimeException
- RoleService 改用 BusinessException
- PermissionService 改用 BusinessException
- ProjectService 改用 BusinessException
- SpaceNodeService 改用 BusinessException
- LoginService 添加 @Transactional
- 扩展错误码:PERMISSION_002, SPACE_001, SPACE_002
2026-03-17 22:58:16 +08:00
chiguyong 53381e2670 refactor(auth): 统一异常处理和API响应规范
- 添加统一响应类 ApiResponse
- 添加错误码枚举 ErrorCode
- 添加业务异常类 BusinessException
- 添加全局异常处理器 GlobalExceptionHandler
- 登录接口改为POST body
- 统一登录错误信息,避免用户枚举
- 更新开发规范文档
2026-03-17 22:48:44 +08:00
chiguyong 9aba3f1901 initial: ether-pms project skeleton 2026-03-17 21:44:46 +08:00