|
@@ -20,7 +20,7 @@
|
|
|
|
|
|
<update id="update" parameterType="java.util.List">
|
|
<update id="update" parameterType="java.util.List">
|
|
<foreach collection="dspAdvertiserList" item="item" index="index" open="" close="" separator=";">
|
|
<foreach collection="dspAdvertiserList" item="item" index="index" open="" close="" separator=";">
|
|
- update t_dsp_advertiser set
|
|
|
|
|
|
+ update t_dsp_advertiser set state = 1,
|
|
<trim suffix="" suffixOverrides=",">
|
|
<trim suffix="" suffixOverrides=",">
|
|
<if test="item.industryId != null and item.industryId != '' ">
|
|
<if test="item.industryId != null and item.industryId != '' ">
|
|
industry_id = #{item.industryId},
|
|
industry_id = #{item.industryId},
|
|
@@ -52,9 +52,6 @@
|
|
<if test="item.cpiPath != null and item.cpiPath != '' ">
|
|
<if test="item.cpiPath != null and item.cpiPath != '' ">
|
|
cpi_path = #{item.cpiPath},
|
|
cpi_path = #{item.cpiPath},
|
|
</if>
|
|
</if>
|
|
- <if test="item.state != null and item.state != '' ">
|
|
|
|
- state = #{item.state},
|
|
|
|
- </if>
|
|
|
|
<if test="item.memo != null and item.memo != '' ">
|
|
<if test="item.memo != null and item.memo != '' ">
|
|
memo = #{item.memo},
|
|
memo = #{item.memo},
|
|
</if>
|
|
</if>
|