|
@@ -6,6 +6,7 @@
|
|
|
<!--@Table user_order_payment-->
|
|
|
<id column="id_" jdbcType="BIGINT" property="id" />
|
|
|
<result column="order_no_" jdbcType="VARCHAR" property="orderNo" />
|
|
|
+ <result column="payment_client_" jdbcType="VARCHAR" property="paymentClient" />
|
|
|
<result column="trans_no_" jdbcType="VARCHAR" property="transNo" />
|
|
|
<result column="open_type_" jdbcType="VARCHAR" property="openType" />
|
|
|
<result column="pay_channel_" jdbcType="VARCHAR" property="payChannel" />
|
|
@@ -25,7 +26,7 @@
|
|
|
<sql id="Base_Column_List">
|
|
|
<!--@mbg.generated-->
|
|
|
id_, order_no_, trans_no_, pay_channel_, pay_amt_, fee_amt_, pay_info_, status_,
|
|
|
- pay_fail_msg_, arrival_time_,close_status_,close_fail_msg_,close_time_,create_time_, update_time_,adapay_no_,open_type_
|
|
|
+ pay_fail_msg_, arrival_time_,close_status_,close_fail_msg_,close_time_,create_time_, update_time_,adapay_no_,open_type_,payment_client_
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
|
<!--@mbg.generated-->
|
|
@@ -44,12 +45,12 @@
|
|
|
insert into user_order_payment (order_no_, trans_no_, pay_channel_,
|
|
|
pay_amt_, fee_amt_, pay_info_,
|
|
|
status_, pay_fail_msg_, arrival_time_,
|
|
|
- create_time_, update_time_,close_status_,close_fail_msg_,close_time_,adapay_no_,open_type_)
|
|
|
+ create_time_, update_time_,close_status_,close_fail_msg_,close_time_,adapay_no_,open_type_,payment_client_)
|
|
|
values (#{orderNo,jdbcType=VARCHAR}, #{transNo,jdbcType=VARCHAR}, #{payChannel,jdbcType=VARCHAR},
|
|
|
#{payAmt,jdbcType=DECIMAL}, #{feeAmt,jdbcType=DECIMAL}, #{payInfo,jdbcType=VARCHAR},
|
|
|
#{status,jdbcType=VARCHAR}, #{payFailMsg,jdbcType=VARCHAR}, #{arrivalTime,jdbcType=TIMESTAMP},
|
|
|
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},#{closeStatus},#{closeFailMsg}
|
|
|
- ,#{closeTime},#{adapayNo},#{openType})
|
|
|
+ ,#{closeTime},#{adapayNo},#{openType},#{paymentClient})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" keyColumn="id_" keyProperty="id" parameterType="com.yonge.cooleshow.mbg.model.UserOrderPayment" useGeneratedKeys="true">
|
|
|
<!--@mbg.generated-->
|
|
@@ -103,6 +104,9 @@
|
|
|
<if test="openType != null">
|
|
|
open_type_,
|
|
|
</if>
|
|
|
+ <if test="paymentClient != null">
|
|
|
+ payment_client_,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="orderNo != null">
|
|
@@ -153,6 +157,9 @@
|
|
|
<if test="openType != null">
|
|
|
#{openType},
|
|
|
</if>
|
|
|
+ <if test="paymentClient != null">
|
|
|
+ #{paymentClient},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.yonge.cooleshow.mbg.model.UserOrderPayment">
|
|
@@ -205,7 +212,10 @@
|
|
|
adapay_no_ = #{adapayNo,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="openType != null">
|
|
|
- open_type_ = #{openType,jdbcType=TIMESTAMP},
|
|
|
+ open_type_ = #{openType},
|
|
|
+ </if>
|
|
|
+ <if test="paymentClient != null">
|
|
|
+ payment_client_ = #{paymentClient},
|
|
|
</if>
|
|
|
</set>
|
|
|
where id_ = #{id,jdbcType=BIGINT}
|
|
@@ -228,7 +238,8 @@
|
|
|
close_fail_msg_ = #{closeFailMsg},
|
|
|
close_time_ = #{closeTime,jdbcType=TIMESTAMP},
|
|
|
adapay_no_ = #{adapayNo,jdbcType=TIMESTAMP},
|
|
|
- open_type_ = #{openType,jdbcType=TIMESTAMP}
|
|
|
+ open_type_ = #{openType},
|
|
|
+ payment_client_= #{paymentClient}
|
|
|
where id_ = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
|