feat(ops): 新增 trigger_data 字段存储触发详情
- OpsOrderDO: 新增 triggerData 字段(JSON 字符串) - 存储触发时的详细信息: - 客流阈值:actualCount, baseValue, threshold, exceededCount - 蓝牙信标:rssi, beaconMac - 信号丢失:durationMs, timeoutSeconds - CleanOrderServiceImpl: 序列化 triggerData 到 JSON 存储 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -140,6 +140,15 @@ public class OpsOrderDO extends BaseDO {
|
||||
* 触发设备Key(冗余,便于查询)
|
||||
*/
|
||||
private String triggerDeviceKey;
|
||||
/**
|
||||
* 触发数据(JSON 格式)
|
||||
* <p>
|
||||
* 存储触发时的详细信息:
|
||||
* - 客流阈值:{"actualCount":150,"baseValue":1000,"threshold":100,"exceededCount":50}
|
||||
* - 蓝牙信标:{"rssi":-65,"beaconMac":"F0:C8:60:1D:10:BB"}
|
||||
* - 信号丢失:{"durationMs":180000,"timeoutSeconds":300}
|
||||
*/
|
||||
private String triggerData;
|
||||
/**
|
||||
* 受理人工牌设备ID(关联 iot_device.id)
|
||||
* <p>
|
||||
|
||||
Reference in New Issue
Block a user