|
@@ -10,6 +10,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="discountTerm" column="discount_term" />
|
|
|
<result property="discountAmt" column="discount_amt" />
|
|
|
<result property="gasoilDiscountAmt" column="gasoil_discount_amt" />
|
|
|
+ <result property="activityDaySetting" column="activity_day_setting" />
|
|
|
+ <result property="activityDayType" column="activity_day_type" />
|
|
|
+ <result property="activityDayWeek" column="activity_day_week" />
|
|
|
+ <result property="activityDayMonth" column="activity_day_month" />
|
|
|
+ <result property="activityDayDate" column="activity_day_date" />
|
|
|
+ <result property="activityDayTime" column="activity_day_time" />
|
|
|
+ <result property="activityDayDistnct" column="activity_day_distnct" />
|
|
|
<result property="dieseloilDiscountAmt" column="dieseloil_discount_amt" />
|
|
|
<result property="vipDiscountyPlus" column="vip_discounty_plus" />
|
|
|
<result property="couponPlus" column="coupon_plus" />
|
|
@@ -31,6 +38,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="discountTerm != null and discountTerm != ''"> and discount_term = #{discountTerm}</if>
|
|
|
<if test="discountAmt != null and discountAmt != ''"> and discount_amt = #{discountAmt}</if>
|
|
|
<if test="gasoilDiscountAmt != null and gasoilDiscountAmt != ''"> and gasoil_discount_amt = #{gasoilDiscountAmt}</if>
|
|
|
+ <if test="activityDaySetting != null and activityDaySetting != ''"> and activity_day_setting = #{activityDaySetting}</if>
|
|
|
+ <if test="activityDayType != null and activityDayType != ''"> and activity_day_type = #{activityDayType}</if>
|
|
|
+ <if test="activityDayWeek != null and activityDayWeek != ''"> and activity_day_week = #{activityDayWeek}</if>
|
|
|
+ <if test="activityDayMonth != null and activityDayMonth != ''"> and activity_day_month = #{activityDayMonth}</if>
|
|
|
+ <if test="activityDayDate != null and activityDayDate != ''"> and activity_day_date = #{activityDayDate}</if>
|
|
|
+ <if test="activityDayTime != null and activityDayTime != ''"> and activity_day_time = #{activityDayTime}</if>
|
|
|
+ <if test="activityDayDistnct != null and activityDayDistnct != ''"> and activity_day_distnct = #{activityDayDistnct}</if>
|
|
|
<if test="dieseloilDiscountAmt != null and dieseloilDiscountAmt != ''"> and dieseloil_discount_amt = #{dieseloilDiscountAmt}</if>
|
|
|
<if test="vipDiscountyPlus != null and vipDiscountyPlus != ''"> and vip_discounty_plus = #{vipDiscountyPlus}</if>
|
|
|
<if test="couponPlus != null and couponPlus != ''"> and coupon_plus = #{couponPlus}</if>
|
|
@@ -69,6 +83,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="stationId != null">station_id,</if>
|
|
|
<if test="stationName != null">station_name,</if>
|
|
|
<if test="status != null">status,</if>
|
|
|
+ <if test="activityDaySetting != null ">activity_day_setting,</if>
|
|
|
+ <if test="activityDayType != null ">activity_day_type,</if>
|
|
|
+ <if test="activityDayWeek != null ">activity_day_week,</if>
|
|
|
+ <if test="activityDayMonth != null ">activity_day_month,</if>
|
|
|
+ <if test="activityDayDate != null">activity_day_date,</if>
|
|
|
+ <if test="activityDayTime != null">activity_day_time,</if>
|
|
|
+ <if test="activityDayDistnct != null">activity_day_distnct,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="grade != null">#{grade},</if>
|
|
@@ -83,6 +104,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="stationId != null">#{stationId},</if>
|
|
|
<if test="stationName != null">#{stationName},</if>
|
|
|
<if test="status != null">#{status},</if>
|
|
|
+ <if test="activityDaySetting != null ">#{activityDaySetting},</if>
|
|
|
+ <if test="activityDayType != null ">#{activityDayType},</if>
|
|
|
+ <if test="activityDayWeek != null ">#{activityDayWeek},</if>
|
|
|
+ <if test="activityDayMonth != null ">#{activityDayMonth},</if>
|
|
|
+ <if test="activityDayDate != null">#{activityDayDate},</if>
|
|
|
+ <if test="activityDayTime != null">#{activityDayTime},</if>
|
|
|
+ <if test="activityDayDistnct != null">#{activityDayDistnct},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -101,6 +129,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="stationId != null">station_id = #{stationId},</if>
|
|
|
<if test="stationName != null">station_name = #{stationName},</if>
|
|
|
<if test="status != null">status = #{status},</if>
|
|
|
+ <if test="activityDaySetting != null ">activityDaySetting = #{activityDaySetting},</if>
|
|
|
+ <if test="activityDayType != null ">activityDayType= #{activityDayType},</if>
|
|
|
+ <if test="activityDayWeek != null ">activityDayWeek = #{activityDayWeek},</if>
|
|
|
+ <if test="activityDayMonth != null "> activityDayMonth = #{activityDayMonth},</if>
|
|
|
+ <if test="activityDayDate != null">activityDayDate = #{activityDayDate},</if>
|
|
|
+ <if test="activityDayTime != null">activityDayTime = #{activityDayTime},</if>
|
|
|
+ <if test="activityDayDistnct != null">activityDayDistnct = #{activityDayDistnct},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|