|
@@ -84,10 +84,10 @@
|
|
|
join msg_alarm AS b on a.alarm_id = b.alarm_id
|
|
|
join base_camera_management AS c on b.camera_code = c.camera_code
|
|
|
<where>
|
|
|
- <if test="userId != null and userId != 0">
|
|
|
+ <if test="userId != null and userId != ''">
|
|
|
and a.receive_by = #{userId}
|
|
|
</if>
|
|
|
- <if test="status != null and status != ''">
|
|
|
+ <if test="status != null and status != 0">
|
|
|
and a.status = #{status}
|
|
|
</if>
|
|
|
</where>
|