|
@@ -34,27 +34,4 @@
|
|
|
group by scene_source
|
|
|
</select>
|
|
|
|
|
|
- <select id="scenePostPage" resultType="com.fdkankan.fusion.entity.ScenePlus">
|
|
|
- select s.* from t_scene_plus s left join t_scene_plus_ext e on s.id = e.plus_id
|
|
|
- where s.rec_status = 'A' and ( s.scene_source not in (4,5,7,57) or ( s.scene_source in (4,5,7,57) and e.is_obj =1))
|
|
|
- <if test="param.numList != null and param.numList.size >0">
|
|
|
- and s.num in
|
|
|
- <foreach item="num" collection="param.numList" open="(" separator="," close=")">
|
|
|
- #{num}
|
|
|
- </foreach>
|
|
|
- </if>
|
|
|
- <if test="param.num !=null and param.num !=''">
|
|
|
- and s.num = #{param.num}
|
|
|
- </if>
|
|
|
- <if test="param.sceneName !=null and param.sceneName !=''">
|
|
|
- and s.title like concat ('%',#{param.sceneName},'%')
|
|
|
- </if>
|
|
|
- <if test="param.userId !=null">
|
|
|
- and s.user_id = #{param.userId}
|
|
|
- </if>
|
|
|
- <if test="param.sceneStatus !=null">
|
|
|
- and s.scene_status = #{param.sceneStatus}
|
|
|
- </if>
|
|
|
- order by s.id desc
|
|
|
- </select>
|
|
|
</mapper>
|