Commit f5e651f0 authored by zhangsen's avatar zhangsen

排除标签量

parent 1164bbb1
...@@ -494,6 +494,7 @@ ...@@ -494,6 +494,7 @@
idx_biz_fan_point_process_variable_classification idx_biz_fan_point_process_variable_classification
<where> <where>
SUB_SYSTEM IS NOT NULL AND SUB_SYSTEM != '' SUB_SYSTEM IS NOT NULL AND SUB_SYSTEM != ''
AND TAG_CODE = '分析变量'
<if test="equipmentName != null and equipmentName != ''"> <if test="equipmentName != null and equipmentName != ''">
AND EQUIPMENT_NAME like concat( '%', #{equipmentName} ,'风机') AND EQUIPMENT_NAME like concat( '%', #{equipmentName} ,'风机')
</if> </if>
...@@ -512,7 +513,7 @@ ...@@ -512,7 +513,7 @@
FROM FROM
idx_biz_fan_point_process_variable_classification idx_biz_fan_point_process_variable_classification
<where> <where>
TAG_CODE != '标签量' TAG_CODE = '分析变量'
<if test="subSystem != null and subSystem != ''"> <if test="subSystem != null and subSystem != ''">
AND SUB_SYSTEM = #{subSystem} AND SUB_SYSTEM = #{subSystem}
</if> </if>
...@@ -628,6 +629,7 @@ ...@@ -628,6 +629,7 @@
<where> <where>
EQUIPMENT_NAME IS NOT NULL EQUIPMENT_NAME IS NOT NULL
AND EQUIPMENT_NAME != '' AND EQUIPMENT_NAME != ''
AND TAG_CODE = '分析变量'
<if test="subarray != null and subarray != ''"> <if test="subarray != null and subarray != ''">
AND SUBARRAY = concat('#', #{subarray}) AND SUBARRAY = concat('#', #{subarray})
</if> </if>
...@@ -688,7 +690,7 @@ ...@@ -688,7 +690,7 @@
FROM FROM
idx_biz_pv_point_process_variable_classification idx_biz_pv_point_process_variable_classification
<where> <where>
TAG_CODE != '标签量' TAG_CODE = '分析变量'
<if test="equipmentName != null and equipmentName != ''"> <if test="equipmentName != null and equipmentName != ''">
AND EQUIPMENT_NAME = #{equipmentName} AND EQUIPMENT_NAME = #{equipmentName}
</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