|
|
|
@ -51,9 +51,9 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"cancel_time, finish_time, ", |
|
|
|
|
"out_refund_no, order_price, ", |
|
|
|
|
"refund_time, tp_refund_order_no, ", |
|
|
|
|
"refund_fee, pay_status, ", |
|
|
|
|
"recharge_status, ext_1, ", |
|
|
|
|
"ext_2, ext_3)", |
|
|
|
|
"refund_id, refund_fee, ", |
|
|
|
|
"pay_status, recharge_status, ", |
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{rechargeType,jdbcType=INTEGER}, ", |
|
|
|
|
"#{memDiscountId,jdbcType=BIGINT}, #{memDiscountName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{userId,jdbcType=BIGINT}, #{userName,jdbcType=VARCHAR}, ", |
|
|
|
@ -66,9 +66,9 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"#{cancelTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{outRefundNo,jdbcType=VARCHAR}, #{orderPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{refundTime,jdbcType=TIMESTAMP}, #{tpRefundOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refundFee,jdbcType=DECIMAL}, #{payStatus,jdbcType=INTEGER}, ", |
|
|
|
|
"#{rechargeStatus,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
"#{refundId,jdbcType=VARCHAR}, #{refundFee,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{payStatus,jdbcType=INTEGER}, #{rechargeStatus,jdbcType=INTEGER}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(OutRechargeOrder record); |
|
|
|
@ -104,6 +104,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
@Result(column="order_price", property="orderPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="tp_refund_order_no", property="tpRefundOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_id", property="refundId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_fee", property="refundFee", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_status", property="payStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="recharge_status", property="rechargeStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@ -119,8 +120,8 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"user_phone, goods_id, recharge_content, pay_type, labor_union_card, integral_num, ", |
|
|
|
|
"discount_deduction_price, integral_deduction_price, pay_real_price, pay_serial_no, ", |
|
|
|
|
"create_timed, pay_time, cancel_time, finish_time, out_refund_no, order_price, ", |
|
|
|
|
"refund_time, tp_refund_order_no, refund_fee, pay_status, recharge_status, ext_1, ", |
|
|
|
|
"ext_2, ext_3", |
|
|
|
|
"refund_time, tp_refund_order_no, refund_id, refund_fee, pay_status, recharge_status, ", |
|
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
|
"from out_recharge_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -150,6 +151,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
@Result(column="order_price", property="orderPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="tp_refund_order_no", property="tpRefundOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_id", property="refundId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_fee", property="refundFee", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_status", property="payStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="recharge_status", property="rechargeStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@ -194,6 +196,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"order_price = #{orderPrice,jdbcType=DECIMAL},", |
|
|
|
|
"refund_time = #{refundTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"tp_refund_order_no = #{tpRefundOrderNo,jdbcType=VARCHAR},", |
|
|
|
|
"refund_id = #{refundId,jdbcType=VARCHAR},", |
|
|
|
|
"refund_fee = #{refundFee,jdbcType=DECIMAL},", |
|
|
|
|
"pay_status = #{payStatus,jdbcType=INTEGER},", |
|
|
|
|
"recharge_status = #{rechargeStatus,jdbcType=INTEGER},", |
|
|
|
|