|
|
|
@ -50,7 +50,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"cancel_time, finish_time, ", |
|
|
|
|
"remarks, out_refund_no, ", |
|
|
|
|
"refund_time, refund_id, ", |
|
|
|
|
"refund_fee)", |
|
|
|
|
"refund_fee, agent_key)", |
|
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{userName,jdbcType=VARCHAR}, #{userPhone,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{rechargeModel,jdbcType=INTEGER}, #{payType,jdbcType=INTEGER}, ", |
|
|
|
@ -62,7 +62,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"#{cancelTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{remarks,jdbcType=VARCHAR}, #{outRefundNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refundTime,jdbcType=TIMESTAMP}, #{refundId,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refundFee,jdbcType=DECIMAL})" |
|
|
|
|
"#{refundFee,jdbcType=DECIMAL}, #{agentKey,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(OutRechargeOrder record); |
|
|
|
@ -96,7 +96,8 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
@Result(column="out_refund_no", property="outRefundNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@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="agent_key", property="agentKey", jdbcType=JdbcType.VARCHAR) |
|
|
|
|
}) |
|
|
|
|
List<OutRechargeOrder> selectByExample(OutRechargeOrderExample example); |
|
|
|
|
|
|
|
|
@ -105,7 +106,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"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, ", |
|
|
|
|
"id_card, create_timed, pay_time, cancel_time, finish_time, remarks, out_refund_no, ", |
|
|
|
|
"refund_time, refund_id, refund_fee", |
|
|
|
|
"refund_time, refund_id, refund_fee, agent_key", |
|
|
|
|
"from out_recharge_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -133,7 +134,8 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
@Result(column="out_refund_no", property="outRefundNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@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="agent_key", property="agentKey", jdbcType=JdbcType.VARCHAR) |
|
|
|
|
}) |
|
|
|
|
OutRechargeOrder selectByPrimaryKey(Long id); |
|
|
|
|
|
|
|
|
@ -170,7 +172,8 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"out_refund_no = #{outRefundNo,jdbcType=VARCHAR},", |
|
|
|
|
"refund_time = #{refundTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"refund_id = #{refundId,jdbcType=VARCHAR},", |
|
|
|
|
"refund_fee = #{refundFee,jdbcType=DECIMAL}", |
|
|
|
|
"refund_fee = #{refundFee,jdbcType=DECIMAL},", |
|
|
|
|
"agent_key = #{agentKey,jdbcType=VARCHAR}", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
|
int updateByPrimaryKey(OutRechargeOrder record); |
|
|
|
|