Jelajahi Sumber

app 消息列表返回 字段转换

sunhh 1 tahun lalu
induk
melakukan
e93492bd0e

+ 2 - 2
business-service/src/main/resources/mapper/service/MsgAppPushMapper.xml

@@ -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>