修改pc消息已读、未读接口
This commit is contained in:
@@ -3,6 +3,21 @@
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.cms.mapper.NoticeMapper">
|
||||
|
||||
|
||||
<sql id="selectNoticeleVo">
|
||||
select notice_id, title,sub_title, notice_type, notice_content, is_read,user_id,not_read_count,date, del_flag, create_by, create_time, update_by, remark,bussiness_id from notice
|
||||
</sql>
|
||||
|
||||
<select id="getNoticlist" parameterType="com.ruoyi.cms.domain.Notice" resultType="com.ruoyi.cms.domain.Notice">
|
||||
<include refid="selectNoticeleVo"/>
|
||||
<where> del_flag = '0'
|
||||
<if test="noticeType != null "> and notice_type = #{noticeType}</if>
|
||||
<if test="isRead != null "> and is_read = #{isRead}</if>
|
||||
<if test="userId != null "> and user_id = #{userId}</if>
|
||||
<if test="bussinessId != null "> and bussiness_id = #{bussinessId}</if>
|
||||
<if test="remark != null "> and remark = #{remark}</if>
|
||||
</where>
|
||||
order by create_time desc
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user