|
|
88e83895da
|
chore(ops): 新增 TTS 语音播报队列配置项
添加 ops.tts.queue 配置:
- enabled: 是否启用队列
- interval-ms: 播报间隔
- max-queue-size: 队列最大长度
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-02-03 16:49:33 +08:00 |
|
|
|
8c03253446
|
feat(ops): 新增工单业务日志查询接口
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
- OpsOrderService/Impl: 新增 getOrderBusinessLogs,将 OpsBusinessEventLogDO
转换为前端友好的 OpsOrderBusinessLogRespDTO(type/title/operator/status/extra)
- OpsOrderController: 新增 GET /business-logs/{orderId} 端点
- 新增 OpsOrderBusinessLogRespDTO 和 OpsOrderBusinessLogsRespDTO
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-02-03 15:41:04 +08:00 |
|
|
|
6a109954d3
|
fix(ops): 修复去除/admin-api/前缀
|
2026-02-03 14:01:43 +08:00 |
|
|
|
955c825e2c
|
feat(ops,iot): 保洁前端 API 层和区域管理新增
新增保洁业务前端 API 接口层(工牌、工单、仪表盘)和运营区域管理完整功能,包含 Service/Controller/Test 三层结构。
主要功能:
1. IoT 设备查询 API(RPC 接口)
- IotDeviceQueryApi: 提供设备简化信息查询
- IotDeviceSimpleRespDTO: 设备简化 DTO
2. 保洁工牌管理
- CleanBadgeService/Impl: 工牌通知、优先级调整、手动完成
- BadgeNotifyReqDTO/UpgradePriorityReqDTO/ManualCompleteOrderReqDTO
3. 保洁工单管理
- CleanWorkOrderService/Impl: 工单时间线查询
4. 保洁仪表盘
- CleanDashboardService/Impl: 快速统计(待处理/进行中/已完成/在线工牌数)
- QuickStatsRespDTO: 快速统计 DTO
5. 运营区域管理(Ops Biz)
- OpsBusAreaService/Impl: 区域 CRUD(支持树形结构、分页查询)
- AreaDeviceRelationService/Impl: 区域设备关联管理(绑定/解绑/批量更新)
- OpsBusAreaMapper/AreaDeviceRelationMapper: 扩展 MyBatis 批量方法
- 7 个 VO 类:CreateReqVO/UpdateReqVO/PageReqVO/RespVO/BindReqVO/RelationRespVO/DeviceUpdateReqVO
6. 前端 Controller(Ops Server)
- OpsBusAreaController: 区域管理 REST API(11 个接口)
- AreaDeviceRelationController: 设备关联 REST API(8 个接口)
- CleanBadgeController: 工牌管理 REST API(5 个接口)
- CleanDashboardController: 仪表盘 REST API(1 个接口)
- CleanDeviceController: 设备管理 REST API(2 个接口)
- CleanWorkOrderController: 工单管理 REST API(2 个接口)
7. 测试覆盖
- OpsBusAreaServiceTest: 区域服务测试(284 行)
- AreaDeviceRelationServiceTest: 设备关联测试(240 行)
- OpsBusAreaControllerTest: 区域 Controller 测试(186 行)
- AreaDeviceRelationControllerTest: 设备关联 Controller 测试(182 行)
8. API 层扩展
- ErrorCodeConstants: 错误码常量(区域、设备关联)
- NotifyTypeEnum: 通知类型枚举(语音、文本、震动)
- 4 个 Badge/Order DTO: BadgeStatusRespDTO/BadgeRealtimeStatusRespDTO/OrderTimelineRespDTO
9. RPC 配置
- RpcConfiguration: 注入 IotDeviceQueryApi
影响模块:Ops API、Ops Biz、Ops Server、Ops Environment Biz、IoT API、IoT Server
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-02-02 22:42:45 +08:00 |
|
|
|
bdf5b640b0
|
refactor(ops): 工单中心查询接口参数封装重构
优化 OrderCenterController.queryPage() 方法签名,从 9 个独立参数封装为单个对象,提升代码可维护性。
主要变更:
1. OrderQuery 改用 Lombok @Data 替代手写 getter/setter(减少 ~120 行)
2. OrderQuery.status 从 String 改为 List<String>,支持前端多状态筛选
3. OrderQueryServiceImpl 使用 inIfPresent() 生成 IN 查询(兼容单选和多选)
4. OrderCenterController 接收 OrderQuery 对象替代 9 个 @RequestParam
5. OrderCenterControllerTest 适配新签名,新增多状态测试用例
向后兼容:
- 前端传单个 status=PENDING,Spring 自动转 List.of("PENDING")
- 前端传多个 status=A&status=B,Spring 自动转 List.of("A","B")
- 原有单状态查询不受影响
影响模块:Ops Biz、Ops Server
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-02-02 22:37:06 +08:00 |
|
|
|
1e5842756e
|
config(ops): enable feign client for IotDeviceStatusQueryApi
|
2026-01-29 11:50:49 +08:00 |
|
|
|
ff858fc3b8
|
fix(ops): 修复区域设备 API 路径不匹配问题
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
问题:Feign 客户端调用 /rpc-api/ops/area-device 但 Controller 映射为 /ops-api/area-device
修复:
- Controller @RequestMapping 改为使用 ApiConstants.PREFIX
- 路径统一为:/rpc-api/ops/area-device
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-28 23:32:47 +08:00 |
|
|
|
d87d4dd914
|
refactor(ops,iot): 重构区域设备关联模块并添加Redis缓存
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
主要变更:
1. 将 ops_area_device_relation 表所有权移至 Ops 模块
- 新增 OpsAreaDeviceRelationDO、Mapper、Service、Controller
- 新增 AreaDeviceApi Feign 接口供其他模块调用
- ���除 IoT 模块中的旧 DO 和 Mapper
2. 实现 Redis JSON 缓存(IoT 可读)
- 统一缓存 Key: ops:area:device:{deviceId}
- 统一缓存 Key: ops:area:{areaId}:type:{relationType}
- TTL: 30分钟,空值缓存: 1分钟
3. IoT 模块通过 Feign 调用 Ops
- 优先读 Redis 缓存,未命中时调用 Ops API
- 缓存由 Ops 模块统一管理
4. 删除 IoT 模块废弃文件
- OpsAreaDeviceRelationDO.java
- OpsAreaDeviceRelationMapper.java
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-28 22:35:41 +08:00 |
|
|
|
4f2036d145
|
fix(ops): 修复编译错误2refactor-order-operations
|
2026-01-19 13:59:37 +08:00 |
|
|
|
568d37a0be
|
feat(ops): refactor-order-operations
|
2026-01-19 13:32:23 +08:00 |
|
|
|
c8010e06d2
|
feat(ops): add deployment configuration and actuator dependency
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
|
2026-01-15 16:30:15 +08:00 |
|
|
|
4a8c4d744c
|
feat(ops): 增强工单队列服务并新增 RPC 配置
|
2026-01-15 16:14:32 +08:00 |
|
|
|
47cbf6f1cc
|
chore: 【ops】状态机配置
|
2026-01-09 17:42:08 +08:00 |
|
|
|
baa8d6e60c
|
chore: 【ops】队列同步JOB
|
2026-01-09 17:41:49 +08:00 |
|
|
|
a11c801b93
|
chore: 【ops】工单基础Controller
|
2026-01-06 10:53:13 +08:00 |
|
|
|
9ef2730fd0
|
chore: 【ops】FSM轻量级状态机实现
|
2026-01-06 10:48:39 +08:00 |
|
|
|
3283db6108
|
chore: xxl-job关闭
|
2026-01-06 10:45:13 +08:00 |
|
|
|
da8bf53f39
|
fix: 日志加载报错修复
|
2025-12-31 17:29:49 +08:00 |
|
|
|
16f0b71ead
|
chore: ops模块构建(业务运营)- 主要实现 基础建设、保洁、安保、工程、客服 等功能
|
2025-12-31 16:49:44 +08:00 |
|