Browse Source

消息推送,未登陆用户,登陆时推送消息

sunhh 1 year ago
parent
commit
e51f6d7109

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

@@ -90,6 +90,6 @@
     </update>
     </update>
 
 
     <select id="getByUserId" parameterType="java.lang.String" resultType="com.ozs.service.entity.MsgWebPush">
     <select id="getByUserId" parameterType="java.lang.String" resultType="com.ozs.service.entity.MsgWebPush">
-        select * from msg_web_push wehre online = '2' and receive_by = #{userId}
+        select * from msg_web_push where online = '2' and receive_by = #{userId}
     </select>
     </select>
 </mapper>
 </mapper>