Commit 78a10157 authored by KeYong's avatar KeYong

修改bug及去掉三维初始化告警信息请求头验证

parent c3671cac
...@@ -52,7 +52,6 @@ public class EquipmentSpecificIndexController extends BaseController { ...@@ -52,7 +52,6 @@ public class EquipmentSpecificIndexController extends BaseController {
return CommonResponseUtil.success(equipmentSpecificIndexService.queryInitAlarm(value, nameKeys, status)); return CommonResponseUtil.success(equipmentSpecificIndexService.queryInitAlarm(value, nameKeys, status));
} }
@Permission
@ApiOperation(httpMethod = "GET", value = "获取三维初始化告警信息", notes = "获取三维初始化告警信息") @ApiOperation(httpMethod = "GET", value = "获取三维初始化告警信息", notes = "获取三维初始化告警信息")
@RequestMapping(value = "/getInitAlarm", produces = "application/json;charset=UTF-8", method = RequestMethod.GET) @RequestMapping(value = "/getInitAlarm", produces = "application/json;charset=UTF-8", method = RequestMethod.GET)
public CommonResponse getInitAlarm(@ApiParam(value = "物联采集属性值") @RequestParam(required = false) String value, public CommonResponse getInitAlarm(@ApiParam(value = "物联采集属性值") @RequestParam(required = false) String value,
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
wl_equipment_specific wes wl_equipment_specific wes
LEFT JOIN wl_equipment_index ei ON ei.id = wes.realtime_iot_index_id LEFT JOIN wl_equipment_index ei ON ei.id = wes.realtime_iot_index_id
WHERE WHERE
ei.is_iot = 1 and substr(cat.code ,1,4) = '9204' ei.is_iot = 1 and substr(wes.equipment_code, 1, 4) = '9204'
<if test="value != null and value != ''"> <if test="value != null and value != ''">
AND wes.realtime_iot_index_value = #{value} AND wes.realtime_iot_index_value = #{value}
</if> </if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment