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