Commit Graph

15 Commits

Author SHA1 Message Date
chiguyong 60cb1ba8f3 feat: add maintenance plan and task services 2026-03-24 00:11:57 +08:00
chiguyong db41b5a8f5 feat: add maintenance plan and task repositories 2026-03-24 00:08:47 +08:00
chiguyong 305e09101a feat: add MaintenanceTask entity 2026-03-24 00:07:49 +08:00
chiguyong efdc4b71f6 fix: add SPACE_004 error code and missing DTO fields 2026-03-24 00:06:55 +08:00
chiguyong b650990f9e feat: add MaintenancePlan entity for preventive maintenance 2026-03-24 00:05:33 +08:00
chiguyong ae177f3c87 feat: add equipment API endpoints to SpaceNodeController 2026-03-23 23:59:47 +08:00
chiguyong 38684c6171 feat: add SpaceNodeEquipmentDTO for equipment extension 2026-03-23 23:56:12 +08:00
chiguyong aa3f6c4ced feat: add equipment extension fields to SpaceNode entity 2026-03-23 23:53:55 +08:00
chiguyong 7647e858e9 feat: add equipment type enum 2026-03-23 23:52:45 +08:00
chiguyong f66dc05c2f feat: add equipment category enum 2026-03-23 23:51:41 +08:00
chiguyong 6495e93e06 feat: RBAC权限管理后端实现
- SecurityConfig: 添加CORS配置,支持多端口(5173-5180)
- User/Permission/Role实体: 完善权限相关实体
- JwtTokenProvider: token生成和验证
- LoginService: 登录逻辑
- UserController: 用户管理接口
- application.yml: 后端配置
2026-03-22 01:33:21 +08:00
chiguyong e6eac0fc56 fix: 统一所有Controller响应格式为ApiResponse
- PermissionController
- RoleController
- UserController
- ProjectController
- SpaceNodeController
2026-03-17 23:45:16 +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 20bed35f64 feat(auth+mdm): 迭代1-认证授权和主数据管理基础功能
- auth模块: User/Role/Permission实体和CRUD
- auth模块: JWT登录认证
- auth模块: Spring Security配置
- mdm模块: Project项目管理
- mdm模块: SpaceNode空间节点管理
- 数据库初始化SQL脚本
2026-03-17 22:15:46 +08:00
chiguyong 9aba3f1901 initial: ether-pms project skeleton 2026-03-17 21:44:46 +08:00