|
@@ -45,6 +45,7 @@
|
|
<include refid="sceneImageColumns"/>
|
|
<include refid="sceneImageColumns"/>
|
|
FROM sms_scene_image a
|
|
FROM sms_scene_image a
|
|
<where>
|
|
<where>
|
|
|
|
+ a.status=1
|
|
<if test="imageType != null ">and a.image_type = #{imageType}</if>
|
|
<if test="imageType != null ">and a.image_type = #{imageType}</if>
|
|
<if test="imagePath != null and imagePath != ''">and a.image_path = #{imagePath}</if>
|
|
<if test="imagePath != null and imagePath != ''">and a.image_path = #{imagePath}</if>
|
|
<if test="sceneId != null ">and a.scene_id = #{sceneId}</if>
|
|
<if test="sceneId != null ">and a.scene_id = #{sceneId}</if>
|
|
@@ -58,6 +59,7 @@
|
|
<include refid="sceneImageColumns"/>
|
|
<include refid="sceneImageColumns"/>
|
|
FROM sms_scene_image a
|
|
FROM sms_scene_image a
|
|
<where>
|
|
<where>
|
|
|
|
+ a.status=1
|
|
<if test="sceneImage.imageType != null ">and a.image_type = #{sceneImage.imageType}</if>
|
|
<if test="sceneImage.imageType != null ">and a.image_type = #{sceneImage.imageType}</if>
|
|
<if test="sceneImage.imagePath != null and sceneImage.imagePath != ''">and a.image_path =
|
|
<if test="sceneImage.imagePath != null and sceneImage.imagePath != ''">and a.image_path =
|
|
#{sceneImage.imagePath}
|
|
#{sceneImage.imagePath}
|