lihui001 3 anni fa
parent
commit
0e8645e101

+ 1 - 1
zoniot-water/zoniot-water-core/src/main/java/com/zcxk/water/core/mapper/AlarmTypeDetailMapper.xml

@@ -62,7 +62,7 @@
                 and sat.`name` like concat('%', #{dto.alarmName}, '%')
             </if>
             <if test="dto.alarmCategory != null and dto.alarmCategory!=''" >
-                and sat.alarm_category like concat('%', #{dto.alarmCategory}, '%')
+                and sat.alarm_category = #{dto.alarmCategory}
             </if>
             <if test="dto.startTime != null">
                 and sad.alarm_start_time >=#{dto.startTime}