|
|
@ -48,15 +48,15 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
"recharge_content, pay_type, ", |
|
|
|
"recharge_content, pay_type, ", |
|
|
|
"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_price, pay_real_price, ", |
|
|
|
"create_timed, pay_time, ", |
|
|
|
"pay_serial_no, create_timed, ", |
|
|
|
"cancel_time, finish_time, ", |
|
|
|
"pay_time, cancel_time, ", |
|
|
|
"out_refund_no, order_price, ", |
|
|
|
"finish_time, out_refund_no, ", |
|
|
|
"refund_time, tp_refund_order_no, ", |
|
|
|
"order_price, refund_time, ", |
|
|
|
"refund_id, refund_fee, ", |
|
|
|
"tp_refund_order_no, refund_id, ", |
|
|
|
"company_id, pay_status, ", |
|
|
|
"refund_fee, company_id, ", |
|
|
|
"recharge_status, ext_1, ", |
|
|
|
"pay_status, recharge_status, ", |
|
|
|
"ext_2, ext_3)", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"values (#{rechargePrice,jdbcType=DECIMAL}, #{type,jdbcType=INTEGER}, ", |
|
|
|
"values (#{rechargePrice,jdbcType=DECIMAL}, #{type,jdbcType=INTEGER}, ", |
|
|
|
"#{operatorName,jdbcType=VARCHAR}, #{operatorType,jdbcType=INTEGER}, ", |
|
|
|
"#{operatorName,jdbcType=VARCHAR}, #{operatorType,jdbcType=INTEGER}, ", |
|
|
|
"#{orderNo,jdbcType=VARCHAR}, #{rechargeType,jdbcType=INTEGER}, ", |
|
|
|
"#{orderNo,jdbcType=VARCHAR}, #{rechargeType,jdbcType=INTEGER}, ", |
|
|
@ -66,15 +66,15 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
"#{rechargeContent,jdbcType=VARCHAR}, #{payType,jdbcType=INTEGER}, ", |
|
|
|
"#{rechargeContent,jdbcType=VARCHAR}, #{payType,jdbcType=INTEGER}, ", |
|
|
|
"#{laborUnionCard,jdbcType=VARCHAR}, #{integralNum,jdbcType=DECIMAL}, ", |
|
|
|
"#{laborUnionCard,jdbcType=VARCHAR}, #{integralNum,jdbcType=DECIMAL}, ", |
|
|
|
"#{discountDeductionPrice,jdbcType=DECIMAL}, #{integralDeductionPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{discountDeductionPrice,jdbcType=DECIMAL}, #{integralDeductionPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{payRealPrice,jdbcType=DECIMAL}, #{paySerialNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{payPrice,jdbcType=DECIMAL}, #{payRealPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{createTimed,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{paySerialNo,jdbcType=VARCHAR}, #{createTimed,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{cancelTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{payTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{outRefundNo,jdbcType=VARCHAR}, #{orderPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{finishTime,jdbcType=TIMESTAMP}, #{outRefundNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{refundTime,jdbcType=TIMESTAMP}, #{tpRefundOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{orderPrice,jdbcType=DECIMAL}, #{refundTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{refundId,jdbcType=VARCHAR}, #{refundFee,jdbcType=DECIMAL}, ", |
|
|
|
"#{tpRefundOrderNo,jdbcType=VARCHAR}, #{refundId,jdbcType=VARCHAR}, ", |
|
|
|
"#{companyId,jdbcType=BIGINT}, #{payStatus,jdbcType=INTEGER}, ", |
|
|
|
"#{refundFee,jdbcType=DECIMAL}, #{companyId,jdbcType=BIGINT}, ", |
|
|
|
"#{rechargeStatus,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{payStatus,jdbcType=INTEGER}, #{rechargeStatus,jdbcType=INTEGER}, ", |
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
"#{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); |
|
|
@ -104,6 +104,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
@Result(column="integral_num", property="integralNum", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="integral_num", property="integralNum", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="discount_deduction_price", property="discountDeductionPrice", 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="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_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="create_timed", property="createTimed", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@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, ", |
|
|
|
"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, ", |
|
|
|
"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, ", |
|
|
|
"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, ", |
|
|
|
"integral_deduction_price, pay_price, pay_real_price, pay_serial_no, create_timed, ", |
|
|
|
"cancel_time, finish_time, out_refund_no, order_price, refund_time, tp_refund_order_no, ", |
|
|
|
"pay_time, cancel_time, finish_time, out_refund_no, order_price, refund_time, ", |
|
|
|
"refund_id, refund_fee, company_id, pay_status, recharge_status, ext_1, ext_2, ", |
|
|
|
"tp_refund_order_no, refund_id, refund_fee, company_id, pay_status, recharge_status, ", |
|
|
|
"ext_3", |
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
"from out_recharge_order", |
|
|
|
"from out_recharge_order", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"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="integral_num", property="integralNum", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="discount_deduction_price", property="discountDeductionPrice", 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="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_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="create_timed", property="createTimed", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_timed", property="createTimed", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -207,6 +209,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
"integral_num = #{integralNum,jdbcType=DECIMAL},", |
|
|
|
"integral_num = #{integralNum,jdbcType=DECIMAL},", |
|
|
|
"discount_deduction_price = #{discountDeductionPrice,jdbcType=DECIMAL},", |
|
|
|
"discount_deduction_price = #{discountDeductionPrice,jdbcType=DECIMAL},", |
|
|
|
"integral_deduction_price = #{integralDeductionPrice,jdbcType=DECIMAL},", |
|
|
|
"integral_deduction_price = #{integralDeductionPrice,jdbcType=DECIMAL},", |
|
|
|
|
|
|
|
"pay_price = #{payPrice,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},", |
|
|
|
"create_timed = #{createTimed,jdbcType=TIMESTAMP},", |
|
|
|
"create_timed = #{createTimed,jdbcType=TIMESTAMP},", |
|
|
|