|
@@ -35,6 +35,9 @@
|
|
|
<if test="param.sceneName !=null and param.sceneName !=''">
|
|
|
and p.scene_name like CONCAT('%',#{param.sceneName},'%')
|
|
|
</if>
|
|
|
+ <if test="param.isObj !=null ">
|
|
|
+ and p.is_obj = #{param.isObj}
|
|
|
+ </if>
|
|
|
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,sn_code,view_count,e.build_type
|
|
@@ -48,6 +51,9 @@
|
|
|
<if test="param.sceneName !=null and param.sceneName !=''">
|
|
|
and p.title like CONCAT('%',#{param.sceneName},'%')
|
|
|
</if>
|
|
|
+ <if test="param.isObj !=null ">
|
|
|
+ and e.is_obj = #{param.isObj}
|
|
|
+ </if>
|
|
|
ORDER BY create_time desc
|
|
|
) as scene_tb
|
|
|
</select>
|