修改pc已读消息列表

This commit is contained in:
sh
2025-11-06 15:03:34 +08:00
parent e270fcc531
commit 1b7d5c5451
11 changed files with 137 additions and 34 deletions

View File

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