|
|
|
@ -44,31 +44,31 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"user_name, user_phone, ", |
|
|
|
|
"recharge_model, pay_type, ", |
|
|
|
|
"pay_price, order_price, ", |
|
|
|
|
"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_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)", |
|
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{memDiscountId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{memDiscountName,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{userName,jdbcType=VARCHAR}, #{userPhone,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{rechargeModel,jdbcType=INTEGER}, #{payType,jdbcType=INTEGER}, ", |
|
|
|
|
"#{payPrice,jdbcType=DECIMAL}, #{orderPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{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})" |
|
|
|
|
"#{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})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(OutRechargeOrder record); |
|
|
|
@ -90,6 +90,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="order_price", property="orderPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="recharge_type", property="rechargeType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="deduction_price", property="deductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@ -115,10 +116,10 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"id, order_no, mem_discount_id, mem_discount_name, user_id, user_name, user_phone, ", |
|
|
|
|
"recharge_model, pay_type, pay_price, order_price, 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_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", |
|
|
|
|
"from out_recharge_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -134,6 +135,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="order_price", property="orderPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="recharge_type", property="rechargeType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="deduction_price", property="deductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@ -177,6 +179,7 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
"pay_type = #{payType,jdbcType=INTEGER},", |
|
|
|
|
"pay_price = #{payPrice,jdbcType=DECIMAL},", |
|
|
|
|
"order_price = #{orderPrice,jdbcType=DECIMAL},", |
|
|
|
|
"recharge_type = #{rechargeType,jdbcType=INTEGER},", |
|
|
|
|
"pay_real_price = #{payRealPrice,jdbcType=DECIMAL},", |
|
|
|
|
"pay_serial_no = #{paySerialNo,jdbcType=VARCHAR},", |
|
|
|
|
"deduction_price = #{deductionPrice,jdbcType=DECIMAL},", |
|
|
|
|