|
|
4e387e410c
|
refactor(iot-gateway): JT808编解码器代码重构
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
- 提取 enrichParamsWithMetadata 方法统一处理元数据
- 提取 extractPhoneFromMap 和 extractFlowIdFromMap 方法
- 优化 getParamsAsMap 方法,同时支持 params 和 data 字段
- 优化代码注释格式
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-21 22:15:12 +08:00 |
|
|
|
110cfc8cf8
|
fix(iot-server): 消费者优先判断skipReply字段
- handleUpstreamDeviceMessage 优先检查 skipReply 字段
- 协议层已处理回复的消息跳过业务层回复逻辑
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-21 22:12:56 +08:00 |
|
|
|
0c2cd85915
|
fix(iot-gateway): JT808协议使用skipReply标记协议层已应答
- Jt808ProtocolHandler 使用 setSkipReply(true) 替代 setCode(0)
- 避免业务层重复发送回复消息
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-21 22:12:03 +08:00 |
|
|
|
529171aca6
|
feat(iot-core): 添加skipReply字段支持协议层回复标记
- IotDeviceMessage 新增 skipReply 字段,用于标记协议层已处理回复
- IotDeviceMessageUtils 新增 isSkipReply() 方法
- isUpstreamMessage() 支持 JT808 协议方法判断
- jt808.terminal.* 为上行消息
- jt808.platform.* 为下行消息
解决 JT808 等协议在协议层已发送应答时,业务层无需再回复��场景
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-21 22:10:29 +08:00 |
|
|
|
c75696c644
|
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
- 新增 ops_business_event_log 表结构
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-21 18:44:30 +08:00 |
|
|
|
c4ef31bb98
|
refactor(ops): 保洁工单相关服务改用新业务日志框架
- CleanOrderAuditEventHandler 使用 @BusinessLog 注解
- CleanOrderConfirmEventHandler 使用 @BusinessLog 注解
- VoiceBroadcastService 使用新的日志记录方式
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-21 18:44:21 +08:00 |
|
|
|
457fc556e2
|
refactor(ops): 移除保洁工单清理日志相关代码
- 删除 OpsOrderCleanLogDO 实体类
- 删除 OpsOrderCleanLogMapper Mapper接口
- 统一使用新的业务日志框架
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-21 18:44:07 +08:00 |
|
|
|
5063fc8dd1
|
refactor(ops): 移除旧的publisher模式
- 删除 BusinessLogPublisher 接口
- 删除 DefaultBusinessLogPublisher 实现
- 改用 recorder 模式替代 publisher 模式
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-21 18:43:54 +08:00 |
|
|
|
a49994cc57
|
refactor(ops): 重构业务日志注解和切面
- 更新 BusinessLog 注解以支持新的事件日志模型
- 更新 BusinessLogAspect 切面使用 EventLogRecorder
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-21 18:43:39 +08:00 |
|
|
|
a82b59ac46
|
feat(ops): 新增业务日志枚举类
- 新增 EventDomain:事件领域枚举
- 新增 EventLevel:事件级别枚举
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-21 18:43:32 +08:00 |
|
|
|
c88dc3fc10
|
fix(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
- 包名从 handler 改为 listener
- 使用 TransactionalEventListener 替代 EventListener
- 线程池名修正为 ops-task-executor
- 状态从 ASSIGNED 改为 PENDING
- 清理测试文件中的重复代码
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-21 18:05:39 +08:00 |
|
|
|
5dab9622d6
|
fix(iot): TCP消息处理容错改进,避免异常断开连接
- 消息格式无法识别时记录警告并跳过,不断开连接
- 消息解码失败时记录警告并跳过,不断开连接
- 设备不存在时断开连接,其他认证失败只记录日志
- 添加 bytesToHex 工具方法用于调试
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-21 18:05:23 +08:00 |
|
|
|
7c7b122de3
|
fix(iot): 修复JT808业务消息重复应答问题
- 在 handleBusinessMessage 中设置 message.setCode(0) 标记协议层已应答
- 避免业务层重复发送 reply 消息
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-21 18:04:57 +08:00 |
|
|
|
eb5513f9b6
|
fix(iot): 修复JT808事件消息identifier字段不匹配问题
- 修复 parseButtonEventAsEvent 使用 eventId 而非 identifier
- 添加消息体长度校验,防止越界访问
- 解码失败时返回 null 而非抛异常,避免断开连接
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-21 18:04:21 +08:00 |
|
|
|
447ea8fe90
|
fix(iot): 修改jt808应答调用IotDeviceMessage.requestOf
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-21 15:20:38 +08:00 |
|
|
|
e6406f7c6e
|
fix(iot): 修复RssiSlidingWindowDetector-component注解
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-21 15:04:51 +08:00 |
|
|
|
ed127c3b29
|
fix(iot): jt808消息应答机制调整-每条消息都需应答
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-21 14:48:16 +08:00 |
|
|
|
3d9079cbaf
|
chore: stop tracking docs directory and update gitignore
|
2026-01-21 09:37:29 +08:00 |
|
|
|
50f2707d4e
|
Merge remote-tracking branch 'origin/feature/environment-module' into feature/environment-module
|
2026-01-21 09:30:49 +08:00 |
|
|
|
8590f3c044
|
test: 完善 OrderStateMachine 和 OpsOrderService 测试用例
|
2026-01-21 09:30:29 +08:00 |
|
|
|
cc6491626d
|
Merge branch 'test/ops-arch-analysis' into feature/environment-module
|
2026-01-20 18:20:39 +08:00 |
|
|
|
8c1133bb8c
|
fix: 修复测试用例失败并完善测试覆盖
|
2026-01-20 18:10:59 +08:00 |
|
|
|
6c509781e9
|
docs: update testing guide with unit test details
|
2026-01-20 18:08:37 +08:00 |
|
|
|
22fad4ad31
|
test: add cleaning flow tests for OpsOrderService
|
2026-01-20 18:07:05 +08:00 |
|
|
|
c2bf98be5a
|
test: add unit tests for OpsOrderService
|
2026-01-20 18:04:40 +08:00 |
|
|
|
e96773daf7
|
test: add unit tests for OrderStateMachine
|
2026-01-20 18:02:35 +08:00 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
a83e827919
|
feat: add badge device status service
|
2026-01-20 11:27:37 +08:00 |
|
|
|
c310a8cb4d
|
chore: add docs and .qoder/repowiki to gitignore
|
2026-01-20 11:19:42 +08:00 |
|
|
|
1bbbc55096
|
fix(ops): align TTS service identifier and logic with audit handler
|
2026-01-20 11:17:50 +08:00 |
|
|
|
1d8680c336
|
refactor(ops): extract constants and optimize status list in audit handler
|
2026-01-20 11:15:17 +08:00 |
|
|
|
d933bbf92c
|
feat(ops): add CleanOrderConfirmEventHandler
|
2026-01-19 14:50:09 +08:00 |
|
|
|
48ab863fda
|
refactor(ops): add JsonProperty annotation to triggerSource
|
2026-01-19 14:46:20 +08:00 |
|
|
|
eedef70581
|
feat(ops): add confirm event DTO and update audit DTO
|
2026-01-19 14:41:05 +08:00 |
|
|
|
a71a29f548
|
fix(ops): implement missing updateBadgeArea method
|
2026-01-19 14:41:00 +08:00 |
|
|
|
4f2036d145
|
fix(ops): 修复编译错误2refactor-order-operations
|
2026-01-19 13:59:37 +08:00 |
|
|
|
c448daed03
|
fix(ops): 修复编译错误refactor-order-operations
|
2026-01-19 13:38:53 +08:00 |
|
|
|
568d37a0be
|
feat(ops): refactor-order-operations
|
2026-01-19 13:32:23 +08:00 |
|
|
|
5419a949d4
|
feat(ops): 工单创建发布事件(事件驱动调度) & 工单完成自动下一个任务
|
2026-01-19 10:56:30 +08:00 |
|
|
|
1d056a5e7a
|
feat(iot): 信号丢失提醒 & 工单完成检测排除P0
|
2026-01-19 10:52:21 +08:00 |
|
|
|
64928f5a3f
|
feat(ops): add-iot-clean-order-integration阶段3-客流计数器重置
|
2026-01-17 17:44:30 +08:00 |
|
|
|
6933a22e1c
|
feat(ops): add-iot-clean-order-integration阶段2-ButtonEventRuleProcessor补充
|
2026-01-17 17:27:29 +08:00 |
|
|
|
82966dc61b
|
feat(ops): add-iot-clean-order-integration阶段三-业务执行与审计
|
2026-01-17 17:20:35 +08:00 |
|
|
|
de427b15ab
|
feat(iot): add-iot-clean-order-integration阶段二-规则处理器
|
2026-01-17 15:54:12 +08:00 |
|
|
|
471cd45162
|
feat(iot): add-iot-clean-order-integration阶段一-基础设施
|
2026-01-17 15:20:57 +08:00 |
|
|
|
864b5da245
|
fix(iot): 修复JT808消息应答
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 |
|
|
|
cd362e3f82
|
fix(iot-gateway): 修复 JT808 注册应答消息编码失败的问题
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 |
|