|
|
@ -52,8 +52,9 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
"out_refund_no, order_price, ", |
|
|
|
"out_refund_no, order_price, ", |
|
|
|
"refund_time, tp_refund_order_no, ", |
|
|
|
"refund_time, tp_refund_order_no, ", |
|
|
|
"refund_id, refund_fee, ", |
|
|
|
"refund_id, refund_fee, ", |
|
|
|
"pay_status, recharge_status, ", |
|
|
|
"region_id, pay_status, ", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"recharge_status, ext_1, ", |
|
|
|
|
|
|
|
"ext_2, ext_3)", |
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{rechargeType,jdbcType=INTEGER}, ", |
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{rechargeType,jdbcType=INTEGER}, ", |
|
|
|
"#{memDiscountId,jdbcType=BIGINT}, #{memDiscountName,jdbcType=VARCHAR}, ", |
|
|
|
"#{memDiscountId,jdbcType=BIGINT}, #{memDiscountName,jdbcType=VARCHAR}, ", |
|
|
|
"#{userId,jdbcType=BIGINT}, #{userName,jdbcType=VARCHAR}, ", |
|
|
|
"#{userId,jdbcType=BIGINT}, #{userName,jdbcType=VARCHAR}, ", |
|
|
@ -67,8 +68,9 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
"#{outRefundNo,jdbcType=VARCHAR}, #{orderPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{outRefundNo,jdbcType=VARCHAR}, #{orderPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{refundTime,jdbcType=TIMESTAMP}, #{tpRefundOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{refundTime,jdbcType=TIMESTAMP}, #{tpRefundOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{refundId,jdbcType=VARCHAR}, #{refundFee,jdbcType=DECIMAL}, ", |
|
|
|
"#{refundId,jdbcType=VARCHAR}, #{refundFee,jdbcType=DECIMAL}, ", |
|
|
|
"#{payStatus,jdbcType=INTEGER}, #{rechargeStatus,jdbcType=INTEGER}, ", |
|
|
|
"#{regionId,jdbcType=VARCHAR}, #{payStatus,jdbcType=INTEGER}, ", |
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
"#{rechargeStatus,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
}) |
|
|
|
}) |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
int insert(OutRechargeOrder record); |
|
|
|
int insert(OutRechargeOrder record); |
|
|
@ -106,6 +108,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
@Result(column="tp_refund_order_no", property="tpRefundOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="tp_refund_order_no", property="tpRefundOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="refund_id", property="refundId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="refund_id", property="refundId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="refund_fee", property="refundFee", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="refund_fee", property="refundFee", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="region_id", property="regionId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_status", property="payStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_status", property="payStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="recharge_status", property="rechargeStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="recharge_status", property="rechargeStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
@ -120,8 +123,8 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
"user_phone, goods_id, recharge_content, pay_type, labor_union_card, integral_num, ", |
|
|
|
"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, ", |
|
|
|
"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, ", |
|
|
|
"create_timed, pay_time, cancel_time, finish_time, out_refund_no, order_price, ", |
|
|
|
"refund_time, tp_refund_order_no, refund_id, refund_fee, pay_status, recharge_status, ", |
|
|
|
"refund_time, tp_refund_order_no, refund_id, refund_fee, region_id, pay_status, ", |
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
"recharge_status, ext_1, ext_2, ext_3", |
|
|
|
"from out_recharge_order", |
|
|
|
"from out_recharge_order", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -153,6 +156,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
@Result(column="tp_refund_order_no", property="tpRefundOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="tp_refund_order_no", property="tpRefundOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="refund_id", property="refundId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="refund_id", property="refundId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="refund_fee", property="refundFee", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="refund_fee", property="refundFee", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="region_id", property="regionId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_status", property="payStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_status", property="payStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="recharge_status", property="rechargeStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="recharge_status", property="rechargeStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
@ -198,6 +202,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
"tp_refund_order_no = #{tpRefundOrderNo,jdbcType=VARCHAR},", |
|
|
|
"tp_refund_order_no = #{tpRefundOrderNo,jdbcType=VARCHAR},", |
|
|
|
"refund_id = #{refundId,jdbcType=VARCHAR},", |
|
|
|
"refund_id = #{refundId,jdbcType=VARCHAR},", |
|
|
|
"refund_fee = #{refundFee,jdbcType=DECIMAL},", |
|
|
|
"refund_fee = #{refundFee,jdbcType=DECIMAL},", |
|
|
|
|
|
|
|
"region_id = #{regionId,jdbcType=VARCHAR},", |
|
|
|
"pay_status = #{payStatus,jdbcType=INTEGER},", |
|
|
|
"pay_status = #{payStatus,jdbcType=INTEGER},", |
|
|
|
"recharge_status = #{rechargeStatus,jdbcType=INTEGER},", |
|
|
|
"recharge_status = #{rechargeStatus,jdbcType=INTEGER},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|