Commit 6de6e84a by 吕明尚

修改xml

parent 7604060d
......@@ -10,6 +10,8 @@
<result property="rechargeAmount" column="recharge_amount"/>
<result property="payType" column="pay_type"/>
<result property="giveAmount" column="give_amount"/>
<result property="giveDuration" column="give_duration"/>
<result property="giveIntegral" column="give_integral"/>
<result property="giveType" column="give_type"/>
<result property="status" column="status"/>
<result property="consumerCouponIds" column="consumer_coupon_ids"/>
......@@ -36,6 +38,8 @@
recharge_amount,
pay_type,
give_amount,
give_duration,
give_integral,
give_type,
status,
consumer_coupon_ids,
......@@ -61,6 +65,8 @@
r.recharge_amount,
r.pay_type,
r.give_amount,
r.give_duration,
r.give_integral,
r.give_type,
r. status,
r.consumer_coupon_ids,
......@@ -121,6 +127,8 @@
<if test="rechargeAmount != null">recharge_amount,</if>
<if test="payType != null">pay_type,</if>
<if test="giveAmount != null">give_amount,</if>
<if test="giveDuration != null">give_duration,</if>
<if test="giveIntegral != null">give_integral,</if>
<if test="giveType != null and giveType != ''">give_type,</if>
<if test="status != null">status,</if>
<if test="consumerCouponIds != null">consumer_coupon_ids,</if>
......@@ -143,6 +151,8 @@
<if test="rechargeAmount != null">#{rechargeAmount},</if>
<if test="payType != null">#{payType},</if>
<if test="giveAmount != null">#{giveAmount},</if>
<if test="giveDuration != null">#{giveDuration},</if>
<if test="giveIntegral != null">#{giveIntegral},</if>
<if test="giveType != null and giveType != ''">#{giveType},</if>
<if test="status != null">#{status},</if>
<if test="consumerCouponIds != null">#{consumerCouponIds},</if>
......@@ -169,6 +179,8 @@
<if test="rechargeAmount != null">recharge_amount = #{rechargeAmount},</if>
<if test="payType != null">pay_type = #{payType},</if>
<if test="giveAmount != null">give_amount = #{giveAmount},</if>
<if test="giveDuration != null">give_duration = #{giveDuration},</if>
<if test="giveIntegral != null">give_integral = #{giveIntegral},</if>
<if test="giveType != null and giveType != ''">give_type = #{giveType},</if>
<if test="status != null">status = #{status},</if>
<if test="consumerCouponIds != null">consumer_coupon_ids = #{consumerCouponIds},</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment