Jelajahi Sumber

消息已读

sunhh 1 tahun lalu
induk
melakukan
cd22f968b8

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

@@ -75,7 +75,7 @@
             <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
             update_time = sysdate()
         </set>
-        where id = #{id}
+        where concat(push_id,id) = #{id}
     </update>
 
     <select id="messageMoreApp" parameterType="com.ozs.service.entity.vo.MsgAlarmVo" resultType="com.ozs.service.entity.MsgAlarm">

+ 1 - 1
business-service/src/main/resources/mapper/service/MsgWebPushMapper.xml

@@ -71,7 +71,7 @@
                 status = #{status}
             </if>
         </set>
-        where push_id = #{pushId}
+        where concat(push_id,id) = #{pushId}
     </update>
 
     <update id="readAll" parameterType="java.lang.String">