Browse Source

返回数据类型

hym 3 years ago
parent
commit
d92630ef75
1 changed files with 2 additions and 2 deletions
  1. 2 2
      message/src/main/resources/mapper/MessageMapper.xml

+ 2 - 2
message/src/main/resources/mapper/MessageMapper.xml

@@ -191,7 +191,7 @@
     </select>
     <select id="selectPage" resultMap="MessageMap">
         select
-        <include refid="Base_Column_List"/>,b.type typeName,b.path
+        <include refid="Base_Column_List"/>,b.type typeName,b.path,b.id typeId
         from uims_message a join uims_message_type b on a.message_type=b.id
         <where>
              a.status=1
@@ -248,7 +248,7 @@
         order by a.date_create desc
     </select>
     <select id="queryLastMessage" resultType="com.huaxu.entity.Message">
-        select a.date_create,a.message_content,b.short_name,b.path,b.id typeId,a.url
+        select a.date_create,a.message_content,b.short_name,b.path,b.id typeId,a.url,b.type typeName
         from uims_message a
             join uims_message_type b
          on a.message_type=b.id