Переглянути джерело

激光场景下载e57模型

lyhzzz 1 рік тому
батько
коміт
95dc612cc3

+ 2 - 1
src/main/resources/mapper/ucenter/ScenePlusMapper.xml

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