Commit f5e651f0 authored by zhangsen's avatar zhangsen

排除标签量

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