@@ -22,8 +22,8 @@
</select>
<select id="pageListAndFolder" resultType="com.fdkankan.ucenter.vo.response.SceneVo">
- SELECT * FROM (
<include refid="HasFolder"></include>
+ SELECT * FROM (
SELECT p.id ,null as name ,0 as isFolder,null as type,null as parentId ,p.create_time,num,scene_name,scene_dec,
p.status,pay_status,thumb,web_site,0 as is_upgrade,sn_code,view_count,p.build_type
FROM t_scene_pro p
@@ -68,6 +68,7 @@
<if test="param.folderId == null">
AND parent_id is null
</if>
+ order by create_time desc
UNION
</sql>