chiguyong
|
680ebe932c
|
docs: 更新Code Review分析报告 - 结论为误报
|
2026-04-26 19:03:01 +08:00 |
OpenClaw Bot
|
0a7dfd06b6
|
docs: add ether-pms Code Review report (2026-04-26)
|
2026-04-26 18:45:33 +08:00 |
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
|
b24e0818f0
|
feat: add database migration script for ops tables
|
2026-03-24 01:06:44 +08:00 |
chiguyong
|
bed5f88da7
|
feat: add inspection template management
|
2026-03-24 00:56:28 +08:00 |
chiguyong
|
fd3ffc2b79
|
feat: add equipment health and failure tracking
|
2026-03-24 00:53:35 +08:00 |
chiguyong
|
9e89932600
|
feat: add spare part management controller
|
2026-03-24 00:41:06 +08:00 |
chiguyong
|
799e358d0f
|
feat: add spare part management services
|
2026-03-24 00:39:39 +08:00 |
chiguyong
|
d042bf46c8
|
feat: add spare part management repositories
|
2026-03-24 00:37:41 +08:00 |
chiguyong
|
457bafee31
|
feat: add spare part management entities
|
2026-03-24 00:36:21 +08:00 |
chiguyong
|
a50178a736
|
feat: add energy monitoring controller
|
2026-03-24 00:28:57 +08:00 |
chiguyong
|
4c4f90971d
|
feat: add energy monitoring services
|
2026-03-24 00:25:42 +08:00 |
chiguyong
|
8efd8b083d
|
feat: add energy monitoring repositories
|
2026-03-24 00:23:35 +08:00 |
chiguyong
|
1f4aa569e3
|
feat: add energy monitoring entities (EnergyMeter, EnergyConsumption)
|
2026-03-24 00:21:40 +08:00 |
chiguyong
|
8b5a002f3f
|
feat: add maintenance scheduler for preventive maintenance
|
2026-03-24 00:14:59 +08:00 |
chiguyong
|
ab777c748e
|
feat: add maintenance plan and task controllers
|
2026-03-24 00:13:37 +08:00 |
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
|
527b9247e8
|
test: 添加RoleServiceTest和PermissionServiceTest
按照TDD开发规范编写:
- RoleServiceTest: 11个测试用例
- PermissionServiceTest: 12个测试用例
- 覆盖CRUD操作和异常场景
|
2026-03-22 03:00:31 +08:00 |
chiguyong
|
d507cac248
|
chore: 添加.gitignore排除target和临时文件
|
2026-03-22 01:36:32 +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
|
162658daed
|
fix: 密码修改接口改为@RequestBody
- UserController.updatePassword 改用PasswordRequest对象
- 符合安全规范:敏感数据使用POST body
|
2026-03-17 23:51:16 +08:00 |
chiguyong
|
e6eac0fc56
|
fix: 统一所有Controller响应格式为ApiResponse
- PermissionController
- RoleController
- UserController
- ProjectController
- SpaceNodeController
|
2026-03-17 23:45:16 +08:00 |
chiguyong
|
d12edef2ce
|
test(auth): 添加单元测试
- PasswordServiceTest: 5个测试
- UserServiceTest: 8个测试
- 添加测试依赖: spring-boot-starter-test, h2
|
2026-03-17 23:30:41 +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
|
2f8ac15434
|
refactor(auth): 密码策略和登录限制改为配置化
- PasswordService 支持配置化
- LoginAttemptService 支持配置化
- 配置文件添加password和login配置项
|
2026-03-17 22:38:56 +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
|
993bdd89be
|
Merge branch 'main' of http://8.153.107.96/ether/ether-pms
|
2026-03-17 21:53:10 +08:00 |
Ether User
|
76befcab90
|
Initial commit
|
2026-03-17 13:49:36 +00:00 |
chiguyong
|
9aba3f1901
|
initial: ether-pms project skeleton
|
2026-03-17 21:44:46 +08:00 |