|
@@ -12,6 +12,7 @@
|
|
|
<result column="appid" property="appid" jdbcType="VARCHAR" />
|
|
|
<result column="mch_id" property="mchId" jdbcType="VARCHAR" />
|
|
|
<result column="out_trade_no" property="outTradeNo" jdbcType="VARCHAR" />
|
|
|
+ <result column="sub_order_id" property="subOrderId" jdbcType="VARCHAR" />
|
|
|
<result column="transaction_id" property="transactionId" jdbcType="VARCHAR" />
|
|
|
<result column="customs" property="customs" jdbcType="VARCHAR" />
|
|
|
<result column="mch_customs_no" property="mchCustomsNo" jdbcType="VARCHAR" />
|
|
@@ -47,7 +48,7 @@
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
|
|
wx_pay_sn, merch_sn, merch_name, merch_erp_order_sn, plat_sn, plat_name, third_party_merch_code, third_party_merch_name,
|
|
|
- appid, mch_id, out_trade_no, transaction_id, customs, mch_customs_no, duty, action_type,
|
|
|
+ appid, mch_id, out_trade_no, sub_order_id, transaction_id, customs, mch_customs_no, duty, action_type,
|
|
|
sub_order_no, fee_type, order_fee, transport_fee, product_fee, cert_type, cert_id,
|
|
|
name, doc_status, remark, return_code, return_msg, result_code, err_code, err_code_des,
|
|
|
creater_sn, create_time, moder_sn, mod_time, tstm, ex_field, ex_field2, ex_field3,
|
|
@@ -104,6 +105,9 @@
|
|
|
<if test="outTradeNo != null" >
|
|
|
out_trade_no,
|
|
|
</if>
|
|
|
+ <if test="subOrderId != null" >
|
|
|
+ sub_order_id,
|
|
|
+ </if>
|
|
|
<if test="transactionId != null" >
|
|
|
transaction_id,
|
|
|
</if>
|
|
@@ -229,6 +233,9 @@
|
|
|
<if test="outTradeNo != null" >
|
|
|
#{outTradeNo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="subOrderId != null" >
|
|
|
+ #{subOrderId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="transactionId != null" >
|
|
|
#{transactionId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -358,6 +365,9 @@
|
|
|
<if test="outTradeNo != null" >
|
|
|
out_trade_no = #{outTradeNo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="subOrderId != null" >
|
|
|
+ sub_order_id = #{subOrderId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="transactionId != null" >
|
|
|
transaction_id = #{transactionId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -475,6 +485,7 @@
|
|
|
appid,
|
|
|
mch_id,
|
|
|
out_trade_no,
|
|
|
+ sub_order_id,
|
|
|
transaction_id,
|
|
|
customs,
|
|
|
mch_customs_no,
|
|
@@ -519,6 +530,7 @@
|
|
|
#{appid,jdbcType=VARCHAR},
|
|
|
#{mchId,jdbcType=VARCHAR},
|
|
|
#{outTradeNo,jdbcType=VARCHAR},
|
|
|
+ #{subOrderId,jdbcType=VARCHAR},
|
|
|
#{transactionId,jdbcType=VARCHAR},
|
|
|
#{customs,jdbcType=VARCHAR},
|
|
|
#{mchCustomsNo,jdbcType=VARCHAR},
|
|
@@ -589,6 +601,9 @@
|
|
|
<if test="item.outTradeNo != null" >
|
|
|
out_trade_no = #{item.outTradeNo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="item.subOrderId != null" >
|
|
|
+ sub_order_id = #{item.subOrderId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="item.transactionId != null" >
|
|
|
transaction_id = #{item.transactionId,jdbcType=VARCHAR},
|
|
|
</if>
|