|
@@ -138,13 +138,31 @@
|
|
</update>
|
|
</update>
|
|
|
|
|
|
<update id="updataDeleteBannerTemplateStatus" parameterType="HashMap">
|
|
<update id="updataDeleteBannerTemplateStatus" parameterType="HashMap">
|
|
-update t_banner_template a,t_banner b
|
|
|
|
-set a.status=#{status},b.status=#{status},a.updated = #{updated}, b.updated = #{updated},b.supdated = #{updated}
|
|
|
|
-where b.banner_template_id = a.id and a.id in
|
|
|
|
-<foreach close=")" separator="," open="(" collection="idList" item="id"> #{id} </foreach>
|
|
|
|
|
|
+update t_banner_template
|
|
|
|
+set status=#{status},
|
|
|
|
+updated = #{updated}
|
|
|
|
+where id in
|
|
|
|
+ <foreach item="id" collection="idList" open="(" separator=","
|
|
|
|
+ close=")">
|
|
|
|
+ #{id}
|
|
|
|
+ </foreach>
|
|
|
|
|
|
</update>
|
|
</update>
|
|
|
|
|
|
|
|
+<update id="updataDeleteBannerStatus" parameterType="HashMap">
|
|
|
|
+update t_banner
|
|
|
|
+set status=#{status},
|
|
|
|
+ updated = #{updated},supdated = #{updated}
|
|
|
|
+where banner_template_id in
|
|
|
|
+ <foreach item="id" collection="idList" open="(" separator=","
|
|
|
|
+ close=")">
|
|
|
|
+ #{id}
|
|
|
|
+ </foreach>
|
|
|
|
+
|
|
|
|
+</update>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
<update id="updataDeleteBannerTemplateOperatorStatus" parameterType="HashMap">
|
|
<update id="updataDeleteBannerTemplateOperatorStatus" parameterType="HashMap">
|
|
update t_banner_operator
|
|
update t_banner_operator
|
|
set checked =3,
|
|
set checked =3,
|