feat(ops): 蓝牙位置校验服务及接口(Task 4)
This commit is contained in:
@@ -26,12 +26,14 @@
|
||||
- 逻辑: area_id → 查 ops_bus_area 获取 function_type → 查 ops_inspection_template 加载检查项
|
||||
- 返回: 检查项列表
|
||||
|
||||
### 4. 蓝牙位置校验逻辑
|
||||
- [ ] InspectionLocationService(位置校验服务)
|
||||
### 4. 蓝牙位置校验逻辑 ✅
|
||||
- [x] InspectionLocationService(位置校验服务)
|
||||
- 入参: area_id + detected_beacons
|
||||
- 查询 ops_area_device_relation 获取该区域绑定的信标列表
|
||||
- 匹配算法: 至少1个绑定信标匹配,且 RSSI > 阈值
|
||||
- 返回: 校验通过/失败
|
||||
- [x] InspectionController + verify-location 端点
|
||||
- [x] DetectedBeaconVO, LocationVerifyResultVO
|
||||
|
||||
## Medium Priority
|
||||
|
||||
@@ -72,6 +74,7 @@
|
||||
- [x] Task 1: 数据库表 + DO + Mapper(3表、3DO、3Mapper)
|
||||
- [x] Task 2: 巡检模板 CRUD(Service + Impl + Controller + VOs)
|
||||
- [x] Task 3: 获取动态表单接口(list-by-area,area_id → function_type → template 查询链路)
|
||||
- [x] Task 4: 蓝牙位置校验(InspectionLocationService + verify-location 端点)
|
||||
|
||||
## Notes
|
||||
- 巡检是保洁业务线内的子功能,代码放 viewsh-module-environment-biz
|
||||
|
||||
Reference in New Issue
Block a user