|
@@ -49,54 +49,24 @@
|
|
|
<update id="update" parameterType="com.ym.mec.biz.dal.entity.MemberFeeSetting">
|
|
|
UPDATE member_fee_setting
|
|
|
<set>
|
|
|
- <if test="originalHalfYearFee != null">
|
|
|
original_half_year_fee_ = #{originalHalfYearFee},
|
|
|
- </if>
|
|
|
- <if test="originalQuarterlyFee != null">
|
|
|
original_quarterly_fee_ = #{originalQuarterlyFee},
|
|
|
- </if>
|
|
|
- <if test="originalDayFee != null">
|
|
|
original_day_fee_ = #{originalDayFee},
|
|
|
- </if>
|
|
|
<if test="id != null">
|
|
|
id_ = #{id},
|
|
|
</if>
|
|
|
- <if test="currentHalfYearFee != null">
|
|
|
current_half_year_fee_ = #{currentHalfYearFee},
|
|
|
- </if>
|
|
|
- <if test="currentQuarterlyFee != null">
|
|
|
current_quarterly_fee_ = #{currentQuarterlyFee},
|
|
|
- </if>
|
|
|
- <if test="currentDayFee != null">
|
|
|
current_day_fee_ = #{currentDayFee},
|
|
|
- </if>
|
|
|
- <if test="groupPurchaseQuarterlyFee != null">
|
|
|
group_purchase_quarterly_fee_ = #{groupPurchaseQuarterlyFee},
|
|
|
- </if>
|
|
|
- <if test="groupPurchaseHalfYearFee != null">
|
|
|
group_purchase_half_year_fee_ = #{groupPurchaseHalfYearFee},
|
|
|
- </if>
|
|
|
- <if test="currentYearFee != null">
|
|
|
current_year_fee_ = #{currentYearFee},
|
|
|
- </if>
|
|
|
- <if test="groupPurchaseDayFee != null">
|
|
|
group_purchase_day_fee_ = #{groupPurchaseDayFee},
|
|
|
- </if>
|
|
|
- <if test="groupPurchaseMonthFee != null">
|
|
|
group_purchase_month_fee_ = #{groupPurchaseMonthFee},
|
|
|
- </if>
|
|
|
- <if test="groupPurchaseYearFee != null">
|
|
|
group_purchase_year_fee_ = #{groupPurchaseYearFee},
|
|
|
- </if>
|
|
|
- <if test="currentMonthFee != null">
|
|
|
current_month_fee_ = #{currentMonthFee},
|
|
|
- </if>
|
|
|
- <if test="originalMonthFee != null">
|
|
|
original_month_fee_ = #{originalMonthFee},
|
|
|
- </if>
|
|
|
- <if test="originalYearFee != null">
|
|
|
- original_year_fee_ = #{originalYearFee},
|
|
|
- </if>
|
|
|
+ original_year_fee_ = #{originalYearFee}
|
|
|
</set>
|
|
|
WHERE id_ = #{id}
|
|
|
</update>
|