|
@ -105,8 +105,8 @@ create_by, create_time, update_by, update_time, send_type, discount_type, event_ |
|
|
<if test="sendType != null and sendType != ''">send_type,</if> |
|
|
<if test="sendType != null and sendType != ''">send_type,</if> |
|
|
<if test="discountType != null and discountType != ''">discount_type,</if> |
|
|
<if test="discountType != null and discountType != ''">discount_type,</if> |
|
|
<if test="eventType != null and eventType != ''">event_type,</if> |
|
|
<if test="eventType != null and eventType != ''">event_type,</if> |
|
|
<if test="couponPoster != null and couponPoster != ''">coupon_poster,</if> |
|
|
|
|
|
<if test="giveNum != null and giveNum != ''">give_num,</if> |
|
|
<if test="giveNum != null and giveNum != ''">give_num,</if> |
|
|
|
|
|
<if test="couponPoster != null and couponPoster != ''">coupon_poster,</if> |
|
|
</trim> |
|
|
</trim> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<if test="id != null">#{id},</if> |
|
|
<if test="id != null">#{id},</if> |
|
@ -135,8 +135,8 @@ create_by, create_time, update_by, update_time, send_type, discount_type, event_ |
|
|
<if test="sendType != null and sendType != ''">#{sendType},</if> |
|
|
<if test="sendType != null and sendType != ''">#{sendType},</if> |
|
|
<if test="discountType != null and discountType != ''">#{discountType},</if> |
|
|
<if test="discountType != null and discountType != ''">#{discountType},</if> |
|
|
<if test="eventType != null and eventType != ''">#{eventType},</if> |
|
|
<if test="eventType != null and eventType != ''">#{eventType},</if> |
|
|
<if test="couponPoster != null and couponPoster != ''">couponPoster,</if> |
|
|
|
|
|
<if test="giveNum != null and giveNum != ''">giveNum,</if> |
|
|
<if test="giveNum != null and giveNum != ''">giveNum,</if> |
|
|
|
|
|
<if test="couponPoster != null and couponPoster != ''">#{couponPoster},</if> |
|
|
</trim> |
|
|
</trim> |
|
|
</insert> |
|
|
</insert> |
|
|
|
|
|
|
|
@ -168,6 +168,7 @@ create_by, create_time, update_by, update_time, send_type, discount_type, event_ |
|
|
<if test="sendType != null and sendType != ''">send_type = #{sendType},</if> |
|
|
<if test="sendType != null and sendType != ''">send_type = #{sendType},</if> |
|
|
<if test="discountType != null and discountType != ''">discount_type = #{discountType},</if> |
|
|
<if test="discountType != null and discountType != ''">discount_type = #{discountType},</if> |
|
|
<if test="eventType != null and eventType != ''">event_type = #{eventType},</if> |
|
|
<if test="eventType != null and eventType != ''">event_type = #{eventType},</if> |
|
|
|
|
|
<if test="couponPoster != null and couponPoster != ''">coupon_poster = #{couponPoster},</if> |
|
|
</trim> |
|
|
</trim> |
|
|
where id = #{id} |
|
|
where id = #{id} |
|
|
</update> |
|
|
</update> |
|
|