修改pc已读消息列表
This commit is contained in:
@@ -20,4 +20,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
order by create_time desc
|
||||
</select>
|
||||
|
||||
<select id="noticTotal" parameterType="com.ruoyi.cms.domain.Notice" resultType="com.ruoyi.cms.domain.vo.NoticeTotal">
|
||||
select count(user_id) qbxx,sum(case when is_read='0' then 1 else 0 end)
|
||||
wdxx from notice where del_flag='0'
|
||||
<if test="userId!=null">
|
||||
and user_id=#{userId}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user