fix(ops): 修复 AreaDeviceApi Feign 客户端不支持 relationType 为空的查询
This commit is contained in:
@@ -39,14 +39,14 @@ public interface AreaDeviceApi {
|
||||
@PathVariable("areaId") Long areaId
|
||||
);
|
||||
|
||||
@GetMapping(PREFIX + "/{areaId}/devices")
|
||||
@Operation(summary = "查询区域设备列表(按类型)")
|
||||
CommonResult<List<AreaDeviceDTO>> getDevicesByAreaAndType(
|
||||
@Parameter(description = "区域ID", required = true, example = "1302")
|
||||
@PathVariable("areaId") Long areaId,
|
||||
@Parameter(description = "关联类型(BADGE/TRAFFIC_COUNTER/BEACON)", required = true, example = "BADGE")
|
||||
@RequestParam("relationType") String relationType
|
||||
);
|
||||
@GetMapping(PREFIX + "/{areaId}/devices")
|
||||
@Operation(summary = "查询区域设备列表(按类型)")
|
||||
CommonResult<List<AreaDeviceDTO>> getDevicesByAreaAndType(
|
||||
@Parameter(description = "区域ID", required = true, example = "1302")
|
||||
@PathVariable("areaId") Long areaId,
|
||||
@Parameter(description = "关联类型(BADGE/TRAFFIC_COUNTER/BEACON)", required = false, example = "BADGE")
|
||||
@RequestParam(value = "relationType", required = false) String relationType
|
||||
);
|
||||
|
||||
// ==================== 按设备查询 ====================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user