|
@@ -39,9 +39,6 @@
|
|
<if test="alarmItemCode != null and alarmItemCode != ''">
|
|
<if test="alarmItemCode != null and alarmItemCode != ''">
|
|
and a.alarm_item_code = #{alarmItemCode}
|
|
and a.alarm_item_code = #{alarmItemCode}
|
|
</if>
|
|
</if>
|
|
- <if test="equipName != null and equipName != ''">
|
|
|
|
- and b.obj_name like '%${equipName}%'
|
|
|
|
- </if>
|
|
|
|
</select>
|
|
</select>
|
|
<select id="queryList" resultMap="ProjectAlarmRuleMap">
|
|
<select id="queryList" resultMap="ProjectAlarmRuleMap">
|
|
select a.id,
|
|
select a.id,
|
|
@@ -63,9 +60,6 @@
|
|
<if test="alarmItemCode != null and alarmItemCode != ''">
|
|
<if test="alarmItemCode != null and alarmItemCode != ''">
|
|
and a.alarm_item_code = #{alarmItemCode}
|
|
and a.alarm_item_code = #{alarmItemCode}
|
|
</if>
|
|
</if>
|
|
- <if test="equipName != null and equipName != ''">
|
|
|
|
- and b.obj_name like '%${equipName}%'
|
|
|
|
- </if>
|
|
|
|
order by a.creation_time
|
|
order by a.creation_time
|
|
limit #{startIndex},#{size}
|
|
limit #{startIndex},#{size}
|
|
</select>
|
|
</select>
|