|
|
@ -48,7 +48,8 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
"recharge_name, id_card, ", |
|
|
|
"recharge_name, id_card, ", |
|
|
|
"create_timed, pay_time, ", |
|
|
|
"create_timed, pay_time, ", |
|
|
|
"cancel_time, finish_time, ", |
|
|
|
"cancel_time, finish_time, ", |
|
|
|
"remarks)", |
|
|
|
"remarks, out_refund_no, ", |
|
|
|
|
|
|
|
"refund_fee)", |
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, ", |
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, ", |
|
|
|
"#{userName,jdbcType=VARCHAR}, #{userPhone,jdbcType=VARCHAR}, ", |
|
|
|
"#{userName,jdbcType=VARCHAR}, #{userPhone,jdbcType=VARCHAR}, ", |
|
|
|
"#{rechargeModel,jdbcType=INTEGER}, #{payType,jdbcType=INTEGER}, ", |
|
|
|
"#{rechargeModel,jdbcType=INTEGER}, #{payType,jdbcType=INTEGER}, ", |
|
|
@ -58,7 +59,8 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
"#{rechargeName,jdbcType=VARCHAR}, #{idCard,jdbcType=VARCHAR}, ", |
|
|
|
"#{rechargeName,jdbcType=VARCHAR}, #{idCard,jdbcType=VARCHAR}, ", |
|
|
|
"#{createTimed,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{createTimed,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{cancelTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{cancelTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{remarks,jdbcType=VARCHAR})" |
|
|
|
"#{remarks,jdbcType=VARCHAR}, #{outRefundNo,jdbcType=VARCHAR}, ", |
|
|
|
|
|
|
|
"#{refundFee,jdbcType=DECIMAL})" |
|
|
|
}) |
|
|
|
}) |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
int insert(OutRechargeOrder record); |
|
|
|
int insert(OutRechargeOrder record); |
|
|
@ -88,7 +90,9 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
@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="remarks", property="remarks", jdbcType=JdbcType.VARCHAR) |
|
|
|
@Result(column="remarks", property="remarks", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="out_refund_no", property="outRefundNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="refund_fee", property="refundFee", jdbcType=JdbcType.DECIMAL) |
|
|
|
}) |
|
|
|
}) |
|
|
|
List<OutRechargeOrder> selectByExample(OutRechargeOrderExample example); |
|
|
|
List<OutRechargeOrder> selectByExample(OutRechargeOrderExample example); |
|
|
|
|
|
|
|
|
|
|
@ -96,7 +100,8 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, order_no, user_id, user_name, user_phone, recharge_model, pay_type, pay_price, ", |
|
|
|
"id, order_no, user_id, user_name, user_phone, recharge_model, pay_type, pay_price, ", |
|
|
|
"order_price, pay_real_price, pay_serial_no, `status`, recharge_content, recharge_name, ", |
|
|
|
"order_price, pay_real_price, pay_serial_no, `status`, recharge_content, recharge_name, ", |
|
|
|
"id_card, create_timed, pay_time, cancel_time, finish_time, remarks", |
|
|
|
"id_card, create_timed, pay_time, cancel_time, finish_time, remarks, out_refund_no, ", |
|
|
|
|
|
|
|
"refund_fee", |
|
|
|
"from out_recharge_order", |
|
|
|
"from out_recharge_order", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -120,7 +125,9 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
@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="remarks", property="remarks", jdbcType=JdbcType.VARCHAR) |
|
|
|
@Result(column="remarks", property="remarks", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="out_refund_no", property="outRefundNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="refund_fee", property="refundFee", jdbcType=JdbcType.DECIMAL) |
|
|
|
}) |
|
|
|
}) |
|
|
|
OutRechargeOrder selectByPrimaryKey(Long id); |
|
|
|
OutRechargeOrder selectByPrimaryKey(Long id); |
|
|
|
|
|
|
|
|
|
|
@ -153,7 +160,9 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
"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},", |
|
|
|
"remarks = #{remarks,jdbcType=VARCHAR}", |
|
|
|
"remarks = #{remarks,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"out_refund_no = #{outRefundNo,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"refund_fee = #{refundFee,jdbcType=DECIMAL}", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
|
int updateByPrimaryKey(OutRechargeOrder record); |
|
|
|
int updateByPrimaryKey(OutRechargeOrder record); |
|
|
|