|
@@ -12,7 +12,7 @@
|
|
|
<if test="param.sceneName !=null and param.sceneName !=''">
|
|
|
and (p.scene_name like concat ('%',#{param.sceneName},'%') or p.laser_title like concat ('%',#{param.sceneName},'%') )
|
|
|
</if>
|
|
|
- and is_upgrade = 0
|
|
|
+ and is_upgrade = 0 and p.status = -2
|
|
|
UNION
|
|
|
SELECT p.id as id ,null as name ,0 as isFolder,null as type,null as parentId,p.create_time ,num,title as scene_name,description as scene_dec,
|
|
|
scene_status as status,pay_status,thumb,web_site,1 as is_upgrade,view_count,
|
|
@@ -23,6 +23,7 @@
|
|
|
<if test="param.sceneName !=null and param.sceneName !=''">
|
|
|
and (p.title like concat ('%',#{param.sceneName},'%') or p.laser_title like concat ('%',#{param.sceneName},'%') )
|
|
|
</if>
|
|
|
+ and p.scene_status = -2
|
|
|
) as tb
|
|
|
<if test="param.orderBy !=null and param.orderBy !=''">
|
|
|
ORDER BY ${param.orderBy}
|