|
@@ -16,7 +16,14 @@
|
|
<result property="buyType" column="buy_type" />
|
|
<result property="buyType" column="buy_type" />
|
|
<result property="clientId" column="client_id" />
|
|
<result property="clientId" column="client_id" />
|
|
<result property="customerNo" column="customer_no" />
|
|
<result property="customerNo" column="customer_no" />
|
|
-
|
|
|
|
|
|
+ <result property="roomId" column="room_id" />
|
|
|
|
+ <result property="transactionNumber" column="transaction_number" />
|
|
|
|
+ <result property="productTheme" column="product_theme" />
|
|
|
|
+ <result property="paymentStatus" column="payment_status" />
|
|
|
|
+ <result property="chargingStatus" column="charging_status" />
|
|
|
|
+ <result property="paymentTime" column="payment_time" />
|
|
|
|
+ <result property="openId" column="open_id" />
|
|
|
|
+ <result property="errorLog" column="error_log" />
|
|
</resultMap>
|
|
</resultMap>
|
|
<insert id="insert" parameterType="RechargeRecord">
|
|
<insert id="insert" parameterType="RechargeRecord">
|
|
<!--
|
|
<!--
|
|
@@ -26,7 +33,9 @@
|
|
-->
|
|
-->
|
|
<![CDATA[
|
|
<![CDATA[
|
|
insert into base_recharge_record
|
|
insert into base_recharge_record
|
|
- (id_,create_by,create_time,update_by,update_time,del_flag,serial_number,buy_amount,buy_electricity,buy_type,client_id,customer_no)
|
|
|
|
|
|
+ (id_,create_by,create_time,update_by,update_time,del_flag,serial_number,buy_amount,buy_electricity,buy_type,client_id,customer_no,
|
|
|
|
+ room_id,transaction_number,product_theme,payment_status,charging_status,payment_time,open_id,error_log
|
|
|
|
+ )
|
|
values
|
|
values
|
|
(
|
|
(
|
|
#{id,jdbcType=VARCHAR}
|
|
#{id,jdbcType=VARCHAR}
|
|
@@ -41,6 +50,14 @@
|
|
,#{buyType,jdbcType=VARCHAR}
|
|
,#{buyType,jdbcType=VARCHAR}
|
|
,#{clientId,jdbcType=VARCHAR}
|
|
,#{clientId,jdbcType=VARCHAR}
|
|
,#{customerNo,jdbcType=VARCHAR}
|
|
,#{customerNo,jdbcType=VARCHAR}
|
|
|
|
+,#{roomId,jdbcType=VARCHAR}
|
|
|
|
+,#{transactionNumber,jdbcType=VARCHAR}
|
|
|
|
+,#{productTheme,jdbcType=VARCHAR}
|
|
|
|
+,#{paymentStatus,jdbcType=VARCHAR}
|
|
|
|
+,#{chargingStatus,jdbcType=VARCHAR}
|
|
|
|
+,#{paymentTime,jdbcType=TIMESTAMP}
|
|
|
|
+,#{openId,jdbcType=VARCHAR}
|
|
|
|
+,#{errorLog,jdbcType=VARCHAR}
|
|
)
|
|
)
|
|
]]>
|
|
]]>
|
|
</insert>
|
|
</insert>
|
|
@@ -83,6 +100,31 @@
|
|
<if test="customerNo!=null">
|
|
<if test="customerNo!=null">
|
|
customer_no=#{customerNo,jdbcType=VARCHAR},
|
|
customer_no=#{customerNo,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+
|
|
|
|
+ <if test="roomId!=null">
|
|
|
|
+ room_id=#{roomId,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="transactionNumber!=null">
|
|
|
|
+ transaction_number=#{transactionNumber,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="productTheme!=null">
|
|
|
|
+ product_theme=#{productTheme,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="paymentStatus!=null">
|
|
|
|
+ payment_status=#{paymentStatus,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="chargingStatus!=null">
|
|
|
|
+ charging_status=#{chargingStatus,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="paymentTime!=null">
|
|
|
|
+ payment_time=#{paymentTime,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="openId!=null">
|
|
|
|
+ open_id=#{openId,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="errorLog!=null">
|
|
|
|
+ error_log=#{errorLog,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
where id_=#{id}
|
|
where id_=#{id}
|
|
</update>
|
|
</update>
|