瀏覽代碼

消息添加返回字段

caiaa 1 年之前
父節點
當前提交
7f4ad522cf
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/main/resources/mapper/NoticeInfoMapper.xml

+ 2 - 1
src/main/resources/mapper/NoticeInfoMapper.xml

@@ -4,7 +4,8 @@
 
 
     <select id="queryPage" resultType="com.dragon.tj.portal.entity.NoticeInfo">
-        SELECT b.id,member_id,scope_type,scope_id,message_type,read_status,title,content,attachment_path,a.id as target_id from notice_info_scope a
+        SELECT b.id,member_id,scope_type,scope_id,message_type,read_status,title,content,attachment_path,a.id as target_id,b.message_level, b.create_user, b.create_time
+        from notice_info_scope a
         LEFT JOIN notice_info b on a.notice_info_id = b.id
         where b.del_flag = 0
         <if test="req.messageType != null">