Procházet zdrojové kódy

消息添加返回字段

caiaa před 1 rokem
rodič
revize
7f4ad522cf
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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">