Authored by zhaoqing

砍价

... ... @@ -42,7 +42,7 @@
</foreach>
</select>
<insert id="updateCollageActivity">
<insert id="updateCutDownPriceActivity">
INSERT INTO cutdown_price_activity
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="params.activityId != null and params.activityId != ''">
... ... @@ -64,7 +64,7 @@
update_time,
</if>
<if test="params.banner != null and params.banner != ''">
banner,
banner_url,
</if>
<if test="params.jumpUrl != null and params.jumpUrl != ''">
jump_url,
... ... @@ -120,10 +120,10 @@
status = VALUES(status),
</if>
<if test="params.banner != null and params.banner != ''">
banner = VALUES(banner),
banner_url = VALUES(banner_url),
</if>
<if test="params.jumpUrl != null and params.jumpUrl != ''">
jump_url = VALUES(jump_url)
jump_url = VALUES(jump_url),
</if>
<if test="params.status != null and params.status != ''">
status = VALUES(status),
... ...