|
|
@@ -30,7 +30,6 @@
|
|
|
<include refid="sceneJoinCamera"></include>
|
|
|
WHERE is_upgrade = 0 and p.rec_status = 'A'
|
|
|
<include refid="commonWhere"></include>
|
|
|
- AND
|
|
|
<include refid="commonSceneWhere"></include>
|
|
|
<if test="param.sceneName !=null and param.sceneName !=''">
|
|
|
and p.scene_name like CONCAT('%',#{param.sceneName},'%')
|
|
|
@@ -46,7 +45,6 @@
|
|
|
<include refid="sceneJoinCamera"></include>
|
|
|
WHERE p.rec_status = 'A'
|
|
|
<include refid="commonWhere"></include>
|
|
|
- AND
|
|
|
<include refid="commonSceneWhere"></include>
|
|
|
<if test="param.sceneName !=null and param.sceneName !=''">
|
|
|
and p.title like CONCAT('%',#{param.sceneName},'%')
|
|
|
@@ -111,7 +109,7 @@
|
|
|
|
|
|
<sql id="commonSceneWhere">
|
|
|
<if test="param.sourceList !=null and param.sourceList.size >0">
|
|
|
- scene_source in
|
|
|
+ AND scene_source in
|
|
|
<foreach item="sourceId" collection="param.sourceList" open="(" separator="," close=")">
|
|
|
#{sourceId}
|
|
|
</foreach>
|