|
|
|
@ -48,15 +48,15 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"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_id, refund_fee, ", |
|
|
|
|
"company_id, pay_status, ", |
|
|
|
|
"recharge_status, ext_1, ", |
|
|
|
|
"ext_2, ext_3)", |
|
|
|
|
"pay_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_id, ", |
|
|
|
|
"refund_fee, company_id, ", |
|
|
|
|
"pay_status, recharge_status, ", |
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
"values (#{rechargePrice,jdbcType=DECIMAL}, #{type,jdbcType=INTEGER}, ", |
|
|
|
|
"#{operatorName,jdbcType=VARCHAR}, #{operatorType,jdbcType=INTEGER}, ", |
|
|
|
|
"#{orderNo,jdbcType=VARCHAR}, #{rechargeType,jdbcType=INTEGER}, ", |
|
|
|
@ -66,15 +66,15 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"#{rechargeContent,jdbcType=VARCHAR}, #{payType,jdbcType=INTEGER}, ", |
|
|
|
|
"#{laborUnionCard,jdbcType=VARCHAR}, #{integralNum,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{discountDeductionPrice,jdbcType=DECIMAL}, #{integralDeductionPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{payRealPrice,jdbcType=DECIMAL}, #{paySerialNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{createTimed,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{cancelTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{outRefundNo,jdbcType=VARCHAR}, #{orderPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{refundTime,jdbcType=TIMESTAMP}, #{tpRefundOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refundId,jdbcType=VARCHAR}, #{refundFee,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{companyId,jdbcType=BIGINT}, #{payStatus,jdbcType=INTEGER}, ", |
|
|
|
|
"#{rechargeStatus,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
"#{payPrice,jdbcType=DECIMAL}, #{payRealPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{paySerialNo,jdbcType=VARCHAR}, #{createTimed,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{payTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{finishTime,jdbcType=TIMESTAMP}, #{outRefundNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{orderPrice,jdbcType=DECIMAL}, #{refundTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{tpRefundOrderNo,jdbcType=VARCHAR}, #{refundId,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refundFee,jdbcType=DECIMAL}, #{companyId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{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="integral_num", property="integralNum", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="discount_deduction_price", property="discountDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="integral_deduction_price", property="integralDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_price", property="payPrice", 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="create_timed", property="createTimed", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@ -130,10 +131,10 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"id, recharge_price, `type`, operator_name, operator_type, 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, 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_id, refund_fee, company_id, pay_status, recharge_status, ext_1, ext_2, ", |
|
|
|
|
"ext_3", |
|
|
|
|
"integral_deduction_price, pay_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_id, refund_fee, company_id, pay_status, recharge_status, ", |
|
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
|
"from out_recharge_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -157,6 +158,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
@Result(column="integral_num", property="integralNum", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="discount_deduction_price", property="discountDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="integral_deduction_price", property="integralDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_price", property="payPrice", 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="create_timed", property="createTimed", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@ -207,6 +209,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"integral_num = #{integralNum,jdbcType=DECIMAL},", |
|
|
|
|
"discount_deduction_price = #{discountDeductionPrice,jdbcType=DECIMAL},", |
|
|
|
|
"integral_deduction_price = #{integralDeductionPrice,jdbcType=DECIMAL},", |
|
|
|
|
"pay_price = #{payPrice,jdbcType=DECIMAL},", |
|
|
|
|
"pay_real_price = #{payRealPrice,jdbcType=DECIMAL},", |
|
|
|
|
"pay_serial_no = #{paySerialNo,jdbcType=VARCHAR},", |
|
|
|
|
"create_timed = #{createTimed,jdbcType=TIMESTAMP},", |
|
|
|
|