|
|
|
@ -51,7 +51,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"remarks, out_refund_no, ", |
|
|
|
|
"refund_time, refund_id, ", |
|
|
|
|
"refund_fee, agent_key, ", |
|
|
|
|
"object_id)", |
|
|
|
|
"object_id, Identification_code)", |
|
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{userName,jdbcType=VARCHAR}, #{userPhone,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{rechargeModel,jdbcType=INTEGER}, #{payType,jdbcType=INTEGER}, ", |
|
|
|
@ -64,7 +64,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"#{remarks,jdbcType=VARCHAR}, #{outRefundNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refundTime,jdbcType=TIMESTAMP}, #{refundId,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refundFee,jdbcType=DECIMAL}, #{agentKey,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{objectId,jdbcType=BIGINT})" |
|
|
|
|
"#{objectId,jdbcType=INTEGER}, #{identificationCode,jdbcType=BIGINT})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(OutRechargeOrder record); |
|
|
|
@ -100,7 +100,8 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
@Result(column="refund_id", property="refundId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_fee", property="refundFee", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="agent_key", property="agentKey", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="object_id", property="objectId", jdbcType=JdbcType.BIGINT) |
|
|
|
|
@Result(column="object_id", property="objectId", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="Identification_code", property="identificationCode", jdbcType=JdbcType.BIGINT) |
|
|
|
|
}) |
|
|
|
|
List<OutRechargeOrder> selectByExample(OutRechargeOrderExample example); |
|
|
|
|
|
|
|
|
@ -109,7 +110,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, agent_key, object_id", |
|
|
|
|
"refund_time, refund_id, refund_fee, agent_key, object_id, Identification_code", |
|
|
|
|
"from out_recharge_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -139,7 +140,8 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
@Result(column="refund_id", property="refundId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_fee", property="refundFee", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="agent_key", property="agentKey", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="object_id", property="objectId", jdbcType=JdbcType.BIGINT) |
|
|
|
|
@Result(column="object_id", property="objectId", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="Identification_code", property="identificationCode", jdbcType=JdbcType.BIGINT) |
|
|
|
|
}) |
|
|
|
|
OutRechargeOrder selectByPrimaryKey(Long id); |
|
|
|
|
|
|
|
|
@ -178,7 +180,8 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"refund_id = #{refundId,jdbcType=VARCHAR},", |
|
|
|
|
"refund_fee = #{refundFee,jdbcType=DECIMAL},", |
|
|
|
|
"agent_key = #{agentKey,jdbcType=VARCHAR},", |
|
|
|
|
"object_id = #{objectId,jdbcType=BIGINT}", |
|
|
|
|
"object_id = #{objectId,jdbcType=INTEGER},", |
|
|
|
|
"Identification_code = #{identificationCode,jdbcType=BIGINT}", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
|
int updateByPrimaryKey(OutRechargeOrder record); |
|
|
|
|