|
|
@ -47,12 +47,13 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
"labor_union_card, integral_num, ", |
|
|
|
"labor_union_card, integral_num, ", |
|
|
|
"discount_deduction_price, integral_deduction_price, ", |
|
|
|
"discount_deduction_price, integral_deduction_price, ", |
|
|
|
"pay_real_price, pay_serial_no, ", |
|
|
|
"pay_real_price, pay_serial_no, ", |
|
|
|
"pay_status, recharge_status, ", |
|
|
|
|
|
|
|
"create_timed, pay_time, ", |
|
|
|
"create_timed, pay_time, ", |
|
|
|
"cancel_time, finish_time, ", |
|
|
|
"cancel_time, finish_time, ", |
|
|
|
"out_refund_no, refund_time, ", |
|
|
|
"out_refund_no, order_price, ", |
|
|
|
"tp_refund_order_no, refund_fee, ", |
|
|
|
"refund_time, tp_refund_order_no, ", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"refund_fee, pay_status, ", |
|
|
|
|
|
|
|
"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}, ", |
|
|
@ -61,12 +62,13 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
"#{laborUnionCard,jdbcType=VARCHAR}, #{integralNum,jdbcType=BIGINT}, ", |
|
|
|
"#{laborUnionCard,jdbcType=VARCHAR}, #{integralNum,jdbcType=BIGINT}, ", |
|
|
|
"#{discountDeductionPrice,jdbcType=DECIMAL}, #{integralDeductionPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{discountDeductionPrice,jdbcType=DECIMAL}, #{integralDeductionPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{payRealPrice,jdbcType=DECIMAL}, #{paySerialNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{payRealPrice,jdbcType=DECIMAL}, #{paySerialNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{payStatus,jdbcType=INTEGER}, #{rechargeStatus,jdbcType=INTEGER}, ", |
|
|
|
|
|
|
|
"#{createTimed,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{createTimed,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{cancelTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{cancelTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{outRefundNo,jdbcType=VARCHAR}, #{refundTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{outRefundNo,jdbcType=VARCHAR}, #{orderPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{tpRefundOrderNo,jdbcType=VARCHAR}, #{refundFee,jdbcType=DECIMAL}, ", |
|
|
|
"#{refundTime,jdbcType=TIMESTAMP}, #{tpRefundOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,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") |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
int insert(OutRechargeOrder record); |
|
|
|
int insert(OutRechargeOrder record); |
|
|
@ -94,16 +96,17 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
@Result(column="integral_deduction_price", property="integralDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="integral_deduction_price", property="integralDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_status", property="payStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="recharge_status", property="rechargeStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="create_timed", property="createTimed", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_timed", property="createTimed", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="finish_time", property="finishTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="finish_time", property="finishTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="out_refund_no", property="outRefundNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="out_refund_no", property="outRefundNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="order_price", property="orderPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@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_fee", property="refundFee", jdbcType=JdbcType.DECIMAL), |
|
|
|
@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), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR) |
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR) |
|
|
@ -115,8 +118,9 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
"id, order_no, recharge_type, mem_discount_id, mem_discount_name, user_id, user_name, ", |
|
|
|
"id, order_no, recharge_type, mem_discount_id, mem_discount_name, user_id, user_name, ", |
|
|
|
"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, ", |
|
|
|
"pay_status, recharge_status, create_timed, pay_time, cancel_time, finish_time, ", |
|
|
|
"create_timed, pay_time, cancel_time, finish_time, out_refund_no, order_price, ", |
|
|
|
"out_refund_no, refund_time, tp_refund_order_no, refund_fee, ext_1, ext_2, ext_3", |
|
|
|
"refund_time, tp_refund_order_no, refund_fee, pay_status, 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}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -138,16 +142,17 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
@Result(column="integral_deduction_price", property="integralDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="integral_deduction_price", property="integralDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_status", property="payStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="recharge_status", property="rechargeStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="create_timed", property="createTimed", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_timed", property="createTimed", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="finish_time", property="finishTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="finish_time", property="finishTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="out_refund_no", property="outRefundNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="out_refund_no", property="outRefundNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="order_price", property="orderPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@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_fee", property="refundFee", jdbcType=JdbcType.DECIMAL), |
|
|
|
@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), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR) |
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR) |
|
|
@ -181,16 +186,17 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
"integral_deduction_price = #{integralDeductionPrice,jdbcType=DECIMAL},", |
|
|
|
"integral_deduction_price = #{integralDeductionPrice,jdbcType=DECIMAL},", |
|
|
|
"pay_real_price = #{payRealPrice,jdbcType=DECIMAL},", |
|
|
|
"pay_real_price = #{payRealPrice,jdbcType=DECIMAL},", |
|
|
|
"pay_serial_no = #{paySerialNo,jdbcType=VARCHAR},", |
|
|
|
"pay_serial_no = #{paySerialNo,jdbcType=VARCHAR},", |
|
|
|
"pay_status = #{payStatus,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"recharge_status = #{rechargeStatus,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"create_timed = #{createTimed,jdbcType=TIMESTAMP},", |
|
|
|
"create_timed = #{createTimed,jdbcType=TIMESTAMP},", |
|
|
|
"pay_time = #{payTime,jdbcType=TIMESTAMP},", |
|
|
|
"pay_time = #{payTime,jdbcType=TIMESTAMP},", |
|
|
|
"cancel_time = #{cancelTime,jdbcType=TIMESTAMP},", |
|
|
|
"cancel_time = #{cancelTime,jdbcType=TIMESTAMP},", |
|
|
|
"finish_time = #{finishTime,jdbcType=TIMESTAMP},", |
|
|
|
"finish_time = #{finishTime,jdbcType=TIMESTAMP},", |
|
|
|
"out_refund_no = #{outRefundNo,jdbcType=VARCHAR},", |
|
|
|
"out_refund_no = #{outRefundNo,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"order_price = #{orderPrice,jdbcType=DECIMAL},", |
|
|
|
"refund_time = #{refundTime,jdbcType=TIMESTAMP},", |
|
|
|
"refund_time = #{refundTime,jdbcType=TIMESTAMP},", |
|
|
|
"tp_refund_order_no = #{tpRefundOrderNo,jdbcType=VARCHAR},", |
|
|
|
"tp_refund_order_no = #{tpRefundOrderNo,jdbcType=VARCHAR},", |
|
|
|
"refund_fee = #{refundFee,jdbcType=DECIMAL},", |
|
|
|
"refund_fee = #{refundFee,jdbcType=DECIMAL},", |
|
|
|
|
|
|
|
"pay_status = #{payStatus,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"recharge_status = #{rechargeStatus,jdbcType=INTEGER},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR}", |
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR}", |
|
|
|