|
@@ -13,6 +13,9 @@
|
|
<if test="param.sceneName != null and param.sceneName!='' ">
|
|
<if test="param.sceneName != null and param.sceneName!='' ">
|
|
and (s.scene_name like concat ('%',#{param.sceneName},'%') or s.laser_title like concat ('%',#{param.sceneName},'%') )
|
|
and (s.scene_name like concat ('%',#{param.sceneName},'%') or s.laser_title like concat ('%',#{param.sceneName},'%') )
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="param.status != null ">
|
|
|
|
+ and s.status = #{param.status}
|
|
|
|
+ </if>
|
|
and is_upgrade = 0
|
|
and is_upgrade = 0
|
|
UNION
|
|
UNION
|
|
select s.title as sceneName ,s.num,s.create_time,c.sn_code,e.space as sceneSize
|
|
select s.title as sceneName ,s.num,s.create_time,c.sn_code,e.space as sceneSize
|
|
@@ -24,6 +27,9 @@
|
|
<if test="param.sceneName != null and param.sceneName!='' ">
|
|
<if test="param.sceneName != null and param.sceneName!='' ">
|
|
and (s.title like concat ('%',#{param.sceneName},'%') or s.laser_title like concat ('%',#{param.sceneName},'%') )
|
|
and (s.title like concat ('%',#{param.sceneName},'%') or s.laser_title like concat ('%',#{param.sceneName},'%') )
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="param.status != null ">
|
|
|
|
+ and s.scene_status = #{param.status}
|
|
|
|
+ </if>
|
|
) as tb
|
|
) as tb
|
|
order by create_time desc
|
|
order by create_time desc
|
|
</select>
|
|
</select>
|