Commit Graph

359 Commits

Author SHA1 Message Date
lzh
22fad4ad31 test: add cleaning flow tests for OpsOrderService 2026-01-20 18:07:05 +08:00
lzh
c2bf98be5a test: add unit tests for OpsOrderService 2026-01-20 18:04:40 +08:00
lzh
e96773daf7 test: add unit tests for OrderStateMachine 2026-01-20 18:02:35 +08:00
lzh
50452bec00 refactor(ops): 更新 EventHandler 使用新的服务入口
更新各事件处理器以使用重构后的服务:
- CleanOrderEventListener: 使用 VoiceBroadcastService
- CleanOrderAuditEventHandler: 使用 VoiceBroadcastService
- CleanOrderConfirmEventHandler: 使用 VoiceBroadcastService
- BadgeDeviceStatusEventHandler: 更新 import 路径至 environment 模块

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 16:30:44 +08:00
lzh
0c91cbf75c refactor(ops): 重构语音播报服务为统一入口
- 删除 VoiceBroadcastDeduplicationService(去重服务)
- 新增 VoiceBroadcastService 作为 TTS 统一入口
  - broadcast(deviceId, text): 同步播报
  - broadcast(deviceId, text, volume): 带音量播报
  - broadcastAsync(): 异步播报
- 简化设计:接受 deviceId 参数,不实现复杂去重逻辑

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 16:29:16 +08:00
lzh
d82cc65625 refactor(ops): 新增 environment 模块的 BadgeDeviceStatusService
将 BadgeDeviceStatusService 迁移至 environment-biz 模块,并扩展 DTO:
- 新建 environment/service/badge/BadgeDeviceStatusService.java 接口
- 新建 environment/service/badge/BadgeDeviceStatusServiceImpl.java 实现
- BadgeDeviceStatusDTO 新增字段:
  - currentOrderStatus: 工单状态(DISPATCHED/ARRIVED/PAUSED)
  - beaconMac: 当前区域信标MAC地址

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 16:26:34 +08:00
lzh
6d4c2c60cf refactor(ops): 移除 ops-core 中的 BadgeDeviceStatusService
将 BadgeDeviceStatusService 从 ops-core 模块迁移至 environment 模块:
- 删除 ops-biz/core/badge/BadgeDeviceStatusService.java
- 删除 ops-biz/core/badge/BadgeDeviceStatusServiceImpl.java

该服务属于保洁业务特定逻辑,应放置在 environment-biz 模块中。

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 16:16:06 +08:00
lzh
a83e827919 feat: add badge device status service 2026-01-20 11:27:37 +08:00
lzh
c310a8cb4d chore: add docs and .qoder/repowiki to gitignore 2026-01-20 11:19:42 +08:00
lzh
1bbbc55096 fix(ops): align TTS service identifier and logic with audit handler 2026-01-20 11:17:50 +08:00
lzh
1d8680c336 refactor(ops): extract constants and optimize status list in audit handler 2026-01-20 11:15:17 +08:00
lzh
d933bbf92c feat(ops): add CleanOrderConfirmEventHandler 2026-01-19 14:50:09 +08:00
lzh
48ab863fda refactor(ops): add JsonProperty annotation to triggerSource 2026-01-19 14:46:20 +08:00
lzh
eedef70581 feat(ops): add confirm event DTO and update audit DTO 2026-01-19 14:41:05 +08:00
lzh
a71a29f548 fix(ops): implement missing updateBadgeArea method 2026-01-19 14:41:00 +08:00
lzh
4f2036d145 fix(ops): 修复编译错误2refactor-order-operations 2026-01-19 13:59:37 +08:00
lzh
c448daed03 fix(ops): 修复编译错误refactor-order-operations 2026-01-19 13:38:53 +08:00
lzh
568d37a0be feat(ops): refactor-order-operations 2026-01-19 13:32:23 +08:00
lzh
5419a949d4 feat(ops): 工单创建发布事件(事件驱动调度) & 工单完成自动下一个任务 2026-01-19 10:56:30 +08:00
lzh
1d056a5e7a feat(iot): 信号丢失提醒 & 工单完成检测排除P0 2026-01-19 10:52:21 +08:00
lzh
64928f5a3f feat(ops): add-iot-clean-order-integration阶段3-客流计数器重置 2026-01-17 17:44:30 +08:00
lzh
6933a22e1c feat(ops): add-iot-clean-order-integration阶段2-ButtonEventRuleProcessor补充 2026-01-17 17:27:29 +08:00
lzh
82966dc61b feat(ops): add-iot-clean-order-integration阶段三-业务执行与审计 2026-01-17 17:20:35 +08:00
lzh
de427b15ab feat(iot): add-iot-clean-order-integration阶段二-规则处理器 2026-01-17 15:54:12 +08:00
lzh
471cd45162 feat(iot): add-iot-clean-order-integration阶段一-基础设施 2026-01-17 15:20:57 +08:00
lzh
864b5da245 fix(iot): 修复JT808消息应答
Some checks failed
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-17 00:13:18 +08:00
lzh
cd362e3f82 fix(iot-gateway): 修复 JT808 注册应答消息编码失败的问题
Some checks failed
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-16 16:15:52 +08:00
lzh
855f69ae6c Merge branch 'master' into feature/environment-module
Some checks failed
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-16 15:32:17 +08:00
lzh
cea43d282c fix: 修复iot-gateway调用iot-server地址错误问题 2026-01-16 15:31:29 +08:00
lzh
4047cbc414 fix(iot): fix JT808 escape logic to exclude packet delimiters
Some checks failed
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-16 15:01:23 +08:00
lzh
200a505394 fix(iot): fix JT808 escape logic to exclude packet delimiters 2026-01-16 15:01:18 +08:00
lzh
60ed93f9b0 fix(iot): support JT808 auto-authentication on business messages
Some checks failed
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-16 14:22:32 +08:00
lzh
69a9a912da fix(iot): support JT808 auto-authentication on business messages 2026-01-16 14:22:23 +08:00
lzh
49d6891288 fix(iot): fix UnsupportedOperationException in JT808 codec
Some checks failed
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-16 13:25:10 +08:00
lzh
0cfd659bd8 fix(iot): fix UnsupportedOperationException in JT808 codec 2026-01-16 13:24:39 +08:00
lzh
8a543db18f fix: 修复iot-gateway容器端口未映射
Some checks failed
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-16 11:46:47 +08:00
lzh
cfdf065f37 fix: 修复XXL_JOB地址
Some checks failed
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:59:11 +08:00
lzh
5d0074cc7c fix: 修复标签生成逻辑,将分支名中的斜杠替换为连字符 2026-01-15 16:55:44 +08:00
lzh
683b99be21 fix: 删除同名OpsOrderQueueMapper
Some checks failed
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:37:34 +08:00
lzh
c8010e06d2 feat(ops): add deployment configuration and actuator dependency
Some checks failed
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
lzh
4a8c4d744c feat(ops): 增强工单队列服务并新增 RPC 配置 2026-01-15 16:14:32 +08:00
lzh
7b3e028bea feat(iot): 实现设备 API 接口及更新网关处理逻辑 2026-01-15 16:14:25 +08:00
lzh
de08aea83f feat(iot): 定义设备控制与属性查询 API 2026-01-15 16:14:21 +08:00
lzh
a25c16f151 feat(iot): 实现集成事件基础设施 2026-01-15 16:14:16 +08:00
lzh
85f1a2cca7 feat(ops): 新增工单模块初始数据库脚本 2026-01-15 16:14:12 +08:00
lzh
4184086988 chore: update gitignore for local files
- Add .claude/ directory
- Add openspec/ directory
- Add AGENTS.md and CLAUDE.md
2026-01-14 22:56:54 +08:00
lzh
2a1cdfc4dc Merge remote-tracking branch 'origin/master' into merge-temp 2026-01-14 22:49:28 +08:00
lzh
90562c4e4d chore: add .claude to gitignore
Some checks failed
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-14 22:43:34 +08:00
lzh
b4592c30ba docs: add deployment guide document
- Add deployment-guide.md for CI/CD and Docker deployment
- Consolidate deployment architecture and workflow documentation
- Add detailed manual deployment steps
- Remove old scattered documents for unified maintenance

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-14 22:40:53 +08:00
lzh
520aa027fa fix: iot-server容器端口改为48091
Some checks failed
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-14 21:49:35 +08:00