|
@@ -192,7 +192,7 @@
|
|
|
</select>
|
|
|
<select id="selectPage" resultMap="MessageMap">
|
|
|
select
|
|
|
- <include refid="Base_Column_List"/>,b.type typeName,b.path,b.id typeId,b.app_id
|
|
|
+ <include refid="Base_Column_List"/>,b.type typeName,b.path,b.id typeId,b.app_id,a.scene_type
|
|
|
from uims_message a join uims_message_type b on a.message_type=b.id
|
|
|
<where>
|
|
|
a.status=1
|
|
@@ -249,7 +249,7 @@
|
|
|
order by a.date_create desc
|
|
|
</select>
|
|
|
<select id="queryLastMessage" resultType="com.zcxk.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,a.scene_type,
|
|
|
b.type typeName,b.app_id
|
|
|
from uims_message a
|
|
|
join uims_message_type b
|
|
@@ -262,7 +262,7 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="queryLastMessageBySceneType" resultType="com.zcxk.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,a.scene_type,
|
|
|
b.type typeName,b.app_id
|
|
|
from uims_message a
|
|
|
join uims_message_type b
|