|
|
|
@ -47,13 +47,14 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"recharge_type, pay_real_price, ", |
|
|
|
|
"pay_serial_no, deduction_price, ", |
|
|
|
|
"`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, Identification_code)", |
|
|
|
|
"recharge_name, recharge_status, ", |
|
|
|
|
"id_card, create_timed, ", |
|
|
|
|
"pay_time, cancel_time, ", |
|
|
|
|
"finish_time, remarks, ", |
|
|
|
|
"out_refund_no, refund_time, ", |
|
|
|
|
"refund_id, refund_fee, ", |
|
|
|
|
"agent_key, object_id, ", |
|
|
|
|
"Identification_code, abnormal_msg)", |
|
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{memDiscountId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{memDiscountName,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{userName,jdbcType=VARCHAR}, #{userPhone,jdbcType=VARCHAR}, ", |
|
|
|
@ -62,13 +63,14 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"#{rechargeType,jdbcType=INTEGER}, #{payRealPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{paySerialNo,jdbcType=VARCHAR}, #{deductionPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{status,jdbcType=INTEGER}, #{rechargeContent,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{rechargeName,jdbcType=VARCHAR}, #{idCard,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{createTimed,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{cancelTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{remarks,jdbcType=VARCHAR}, #{outRefundNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refundTime,jdbcType=TIMESTAMP}, #{refundId,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refundFee,jdbcType=DECIMAL}, #{agentKey,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{objectId,jdbcType=INTEGER}, #{identificationCode,jdbcType=BIGINT})" |
|
|
|
|
"#{rechargeName,jdbcType=VARCHAR}, #{rechargeStatus,jdbcType=INTEGER}, ", |
|
|
|
|
"#{idCard,jdbcType=VARCHAR}, #{createTimed,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{payTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{finishTime,jdbcType=TIMESTAMP}, #{remarks,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{outRefundNo,jdbcType=VARCHAR}, #{refundTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{refundId,jdbcType=VARCHAR}, #{refundFee,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{agentKey,jdbcType=VARCHAR}, #{objectId,jdbcType=INTEGER}, ", |
|
|
|
|
"#{identificationCode,jdbcType=BIGINT}, #{abnormalMsg,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(OutRechargeOrder record); |
|
|
|
@ -97,6 +99,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="recharge_content", property="rechargeContent", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="recharge_name", property="rechargeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="recharge_status", property="rechargeStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="id_card", property="idCard", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="create_timed", property="createTimed", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@ -109,7 +112,8 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
@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.INTEGER), |
|
|
|
|
@Result(column="Identification_code", property="identificationCode", jdbcType=JdbcType.BIGINT) |
|
|
|
|
@Result(column="Identification_code", property="identificationCode", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="abnormal_msg", property="abnormalMsg", jdbcType=JdbcType.VARCHAR) |
|
|
|
|
}) |
|
|
|
|
List<OutRechargeOrder> selectByExample(OutRechargeOrderExample example); |
|
|
|
|
|
|
|
|
@ -117,9 +121,10 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"select", |
|
|
|
|
"id, order_no, mem_discount_id, mem_discount_name, user_id, user_name, user_phone, ", |
|
|
|
|
"recharge_model, pay_type, pay_price, order_price, recharge_type, pay_real_price, ", |
|
|
|
|
"pay_serial_no, deduction_price, `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, Identification_code", |
|
|
|
|
"pay_serial_no, deduction_price, `status`, recharge_content, recharge_name, recharge_status, ", |
|
|
|
|
"id_card, create_timed, pay_time, cancel_time, finish_time, remarks, out_refund_no, ", |
|
|
|
|
"refund_time, refund_id, refund_fee, agent_key, object_id, Identification_code, ", |
|
|
|
|
"abnormal_msg", |
|
|
|
|
"from out_recharge_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -142,6 +147,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="recharge_content", property="rechargeContent", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="recharge_name", property="rechargeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="recharge_status", property="rechargeStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="id_card", property="idCard", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="create_timed", property="createTimed", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@ -154,7 +160,8 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
@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.INTEGER), |
|
|
|
|
@Result(column="Identification_code", property="identificationCode", jdbcType=JdbcType.BIGINT) |
|
|
|
|
@Result(column="Identification_code", property="identificationCode", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="abnormal_msg", property="abnormalMsg", jdbcType=JdbcType.VARCHAR) |
|
|
|
|
}) |
|
|
|
|
OutRechargeOrder selectByPrimaryKey(Long id); |
|
|
|
|
|
|
|
|
@ -186,6 +193,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
|
"recharge_content = #{rechargeContent,jdbcType=VARCHAR},", |
|
|
|
|
"recharge_name = #{rechargeName,jdbcType=VARCHAR},", |
|
|
|
|
"recharge_status = #{rechargeStatus,jdbcType=INTEGER},", |
|
|
|
|
"id_card = #{idCard,jdbcType=VARCHAR},", |
|
|
|
|
"create_timed = #{createTimed,jdbcType=TIMESTAMP},", |
|
|
|
|
"pay_time = #{payTime,jdbcType=TIMESTAMP},", |
|
|
|
@ -198,7 +206,8 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"refund_fee = #{refundFee,jdbcType=DECIMAL},", |
|
|
|
|
"agent_key = #{agentKey,jdbcType=VARCHAR},", |
|
|
|
|
"object_id = #{objectId,jdbcType=INTEGER},", |
|
|
|
|
"Identification_code = #{identificationCode,jdbcType=BIGINT}", |
|
|
|
|
"Identification_code = #{identificationCode,jdbcType=BIGINT},", |
|
|
|
|
"abnormal_msg = #{abnormalMsg,jdbcType=VARCHAR}", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
|
int updateByPrimaryKey(OutRechargeOrder record); |
|
|
|
|