|
|
@ -39,50 +39,50 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
int deleteByPrimaryKey(Long id); |
|
|
|
int deleteByPrimaryKey(Long id); |
|
|
|
|
|
|
|
|
|
|
|
@Insert({ |
|
|
|
@Insert({ |
|
|
|
"insert into out_recharge_order (recharge_price, `type`, ", |
|
|
|
"insert into out_recharge_order (`type`, operator_name, ", |
|
|
|
"operator_name, operator_type, ", |
|
|
|
"operator_type, recharge_price, ", |
|
|
|
"order_no, recharge_type, ", |
|
|
|
"order_no, child_order_no, ", |
|
|
|
"mem_discount_id, mem_discount_name, ", |
|
|
|
"mem_discount_id, mem_discount_name, ", |
|
|
|
"user_id, user_name, ", |
|
|
|
"user_id, user_name, ", |
|
|
|
"user_phone, goods_id, ", |
|
|
|
"user_phone, pay_type, ", |
|
|
|
"recharge_content, pay_type, ", |
|
|
|
|
|
|
|
"labor_union_card, integral_num, ", |
|
|
|
"labor_union_card, integral_num, ", |
|
|
|
"discount_deduction_price, integral_deduction_price, ", |
|
|
|
"discount_deduction_price, integral_deduction_price, ", |
|
|
|
"pay_price, pay_real_price, ", |
|
|
|
"pay_price, order_price, ", |
|
|
|
"pay_serial_no, create_timed, ", |
|
|
|
"pay_real_price, pay_serial_no, ", |
|
|
|
|
|
|
|
"pay_status, recharge_status, ", |
|
|
|
|
|
|
|
"recharge_name, create_timed, ", |
|
|
|
"pay_time, cancel_time, ", |
|
|
|
"pay_time, cancel_time, ", |
|
|
|
"finish_time, out_refund_no, ", |
|
|
|
"finish_time, remarks, ", |
|
|
|
"order_price, refund_time, ", |
|
|
|
"out_refund_no, refund_time, ", |
|
|
|
"tp_refund_order_no, refund_id, ", |
|
|
|
"tp_refund_order_no, refund_id, ", |
|
|
|
"refund_fee, company_id, ", |
|
|
|
"refund_fee, agent_key, ", |
|
|
|
"pay_status, merch_id, ", |
|
|
|
"object_id, recharge_type, ", |
|
|
|
"recharge_status, ext_1, ", |
|
|
|
"abnormal_msg, ext_1, ", |
|
|
|
"ext_2, ext_3, recharge_name, ", |
|
|
|
"ext_2, ext_3, goods_id, ", |
|
|
|
"remarks, agent_key, ", |
|
|
|
"recharge_content, company_id, ", |
|
|
|
"object_id, abnormal_msg, ", |
|
|
|
"merch_id, whether_rebate)", |
|
|
|
"whether_rebate)", |
|
|
|
"values (#{type,jdbcType=INTEGER}, #{operatorName,jdbcType=VARCHAR}, ", |
|
|
|
"values (#{rechargePrice,jdbcType=DECIMAL}, #{type,jdbcType=INTEGER}, ", |
|
|
|
"#{operatorType,jdbcType=INTEGER}, #{rechargePrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{operatorName,jdbcType=VARCHAR}, #{operatorType,jdbcType=INTEGER}, ", |
|
|
|
"#{orderNo,jdbcType=VARCHAR}, #{childOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{orderNo,jdbcType=VARCHAR}, #{rechargeType,jdbcType=INTEGER}, ", |
|
|
|
|
|
|
|
"#{memDiscountId,jdbcType=BIGINT}, #{memDiscountName,jdbcType=VARCHAR}, ", |
|
|
|
"#{memDiscountId,jdbcType=BIGINT}, #{memDiscountName,jdbcType=VARCHAR}, ", |
|
|
|
"#{userId,jdbcType=BIGINT}, #{userName,jdbcType=VARCHAR}, ", |
|
|
|
"#{userId,jdbcType=BIGINT}, #{userName,jdbcType=VARCHAR}, ", |
|
|
|
"#{userPhone,jdbcType=VARCHAR}, #{goodsId,jdbcType=BIGINT}, ", |
|
|
|
"#{userPhone,jdbcType=VARCHAR}, #{payType,jdbcType=INTEGER}, ", |
|
|
|
"#{rechargeContent,jdbcType=VARCHAR}, #{payType,jdbcType=INTEGER}, ", |
|
|
|
|
|
|
|
"#{laborUnionCard,jdbcType=VARCHAR}, #{integralNum,jdbcType=DECIMAL}, ", |
|
|
|
"#{laborUnionCard,jdbcType=VARCHAR}, #{integralNum,jdbcType=DECIMAL}, ", |
|
|
|
"#{discountDeductionPrice,jdbcType=DECIMAL}, #{integralDeductionPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{discountDeductionPrice,jdbcType=DECIMAL}, #{integralDeductionPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{payPrice,jdbcType=DECIMAL}, #{payRealPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{payPrice,jdbcType=DECIMAL}, #{orderPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{paySerialNo,jdbcType=VARCHAR}, #{createTimed,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{payRealPrice,jdbcType=DECIMAL}, #{paySerialNo,jdbcType=VARCHAR}, ", |
|
|
|
|
|
|
|
"#{payStatus,jdbcType=INTEGER}, #{rechargeStatus,jdbcType=INTEGER}, ", |
|
|
|
|
|
|
|
"#{rechargeName,jdbcType=VARCHAR}, #{createTimed,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{payTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{payTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{finishTime,jdbcType=TIMESTAMP}, #{outRefundNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{finishTime,jdbcType=TIMESTAMP}, #{remarks,jdbcType=VARCHAR}, ", |
|
|
|
"#{orderPrice,jdbcType=DECIMAL}, #{refundTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{outRefundNo,jdbcType=VARCHAR}, #{refundTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{tpRefundOrderNo,jdbcType=VARCHAR}, #{refundId,jdbcType=VARCHAR}, ", |
|
|
|
"#{tpRefundOrderNo,jdbcType=VARCHAR}, #{refundId,jdbcType=VARCHAR}, ", |
|
|
|
"#{refundFee,jdbcType=DECIMAL}, #{companyId,jdbcType=BIGINT}, ", |
|
|
|
"#{refundFee,jdbcType=DECIMAL}, #{agentKey,jdbcType=VARCHAR}, ", |
|
|
|
"#{payStatus,jdbcType=INTEGER}, #{merchId,jdbcType=VARCHAR}, ", |
|
|
|
"#{objectId,jdbcType=INTEGER}, #{rechargeType,jdbcType=INTEGER}, ", |
|
|
|
"#{rechargeStatus,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{abnormalMsg,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, #{rechargeName,jdbcType=VARCHAR}, ", |
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, #{goodsId,jdbcType=BIGINT}, ", |
|
|
|
"#{remarks,jdbcType=VARCHAR}, #{agentKey,jdbcType=VARCHAR}, ", |
|
|
|
"#{rechargeContent,jdbcType=VARCHAR}, #{companyId,jdbcType=BIGINT}, ", |
|
|
|
"#{objectId,jdbcType=BIGINT}, #{abnormalMsg,jdbcType=VARCHAR}, ", |
|
|
|
"#{merchId,jdbcType=VARCHAR}, #{whetherRebate,jdbcType=BIT})" |
|
|
|
"#{whetherRebate,jdbcType=BIT})" |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
int insert(OutRechargeOrder record); |
|
|
|
int insert(OutRechargeOrder record); |
|
|
@ -94,111 +94,113 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
@SelectProvider(type=OutRechargeOrderSqlProvider.class, method="selectByExample") |
|
|
|
@SelectProvider(type=OutRechargeOrderSqlProvider.class, method="selectByExample") |
|
|
|
@Results({ |
|
|
|
@Results({ |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="recharge_price", property="rechargePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="operator_name", property="operatorName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="operator_name", property="operatorName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="operator_type", property="operatorType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="operator_type", property="operatorType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="recharge_price", property="rechargePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="recharge_type", property="rechargeType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="child_order_no", property="childOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="mem_discount_id", property="memDiscountId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="mem_discount_id", property="memDiscountId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="mem_discount_name", property="memDiscountName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="mem_discount_name", property="memDiscountName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="user_name", property="userName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="user_name", property="userName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="user_phone", property="userPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="user_phone", property="userPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="goods_id", property="goodsId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
|
|
|
@Result(column="recharge_content", property="rechargeContent", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="labor_union_card", property="laborUnionCard", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="labor_union_card", property="laborUnionCard", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="integral_num", property="integralNum", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="integral_num", property="integralNum", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="discount_deduction_price", property="discountDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="discount_deduction_price", property="discountDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="integral_deduction_price", property="integralDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="integral_deduction_price", property="integralDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="order_price", property="orderPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="pay_status", property="payStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="recharge_status", property="rechargeStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="recharge_name", property="rechargeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="create_timed", property="createTimed", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_timed", property="createTimed", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@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="out_refund_no", property="outRefundNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="out_refund_no", property="outRefundNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="order_price", property="orderPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="tp_refund_order_no", property="tpRefundOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="tp_refund_order_no", property="tpRefundOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="refund_id", property="refundId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@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="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="agent_key", property="agentKey", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_status", property="payStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="object_id", property="objectId", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="merch_id", property="merchId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="recharge_type", property="rechargeType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="recharge_status", property="rechargeStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="abnormal_msg", property="abnormalMsg", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="recharge_name", property="rechargeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="goods_id", property="goodsId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="remarks", property="remarks", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="recharge_content", property="rechargeContent", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="agent_key", property="agentKey", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="object_id", property="objectId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="merch_id", property="merchId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="abnormal_msg", property="abnormalMsg", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="whether_rebate", property="whetherRebate", jdbcType=JdbcType.BIT) |
|
|
|
@Result(column="whether_rebate", property="whetherRebate", jdbcType=JdbcType.BIT) |
|
|
|
}) |
|
|
|
}) |
|
|
|
List<OutRechargeOrder> selectByExample(OutRechargeOrderExample example); |
|
|
|
List<OutRechargeOrder> selectByExample(OutRechargeOrderExample example); |
|
|
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, recharge_price, `type`, operator_name, operator_type, order_no, recharge_type, ", |
|
|
|
"id, `type`, operator_name, operator_type, recharge_price, order_no, child_order_no, ", |
|
|
|
"mem_discount_id, mem_discount_name, user_id, user_name, user_phone, goods_id, ", |
|
|
|
"mem_discount_id, mem_discount_name, user_id, user_name, user_phone, pay_type, ", |
|
|
|
"recharge_content, pay_type, labor_union_card, integral_num, discount_deduction_price, ", |
|
|
|
"labor_union_card, integral_num, discount_deduction_price, integral_deduction_price, ", |
|
|
|
"integral_deduction_price, pay_price, pay_real_price, pay_serial_no, create_timed, ", |
|
|
|
"pay_price, order_price, pay_real_price, pay_serial_no, pay_status, recharge_status, ", |
|
|
|
"pay_time, cancel_time, finish_time, out_refund_no, order_price, refund_time, ", |
|
|
|
"recharge_name, create_timed, pay_time, cancel_time, finish_time, remarks, out_refund_no, ", |
|
|
|
"tp_refund_order_no, refund_id, refund_fee, company_id, pay_status, merch_id, ", |
|
|
|
"refund_time, tp_refund_order_no, refund_id, refund_fee, agent_key, object_id, ", |
|
|
|
"recharge_status, ext_1, ext_2, ext_3, recharge_name, remarks, agent_key, object_id, ", |
|
|
|
"recharge_type, abnormal_msg, ext_1, ext_2, ext_3, goods_id, recharge_content, ", |
|
|
|
"abnormal_msg, whether_rebate", |
|
|
|
"company_id, merch_id, whether_rebate", |
|
|
|
"from out_recharge_order", |
|
|
|
"from out_recharge_order", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
|
@Results({ |
|
|
|
@Results({ |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="recharge_price", property="rechargePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="operator_name", property="operatorName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="operator_name", property="operatorName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="operator_type", property="operatorType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="operator_type", property="operatorType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="recharge_price", property="rechargePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="recharge_type", property="rechargeType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="child_order_no", property="childOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="mem_discount_id", property="memDiscountId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="mem_discount_id", property="memDiscountId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="mem_discount_name", property="memDiscountName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="mem_discount_name", property="memDiscountName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="user_name", property="userName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="user_name", property="userName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="user_phone", property="userPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="user_phone", property="userPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="goods_id", property="goodsId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
|
|
|
@Result(column="recharge_content", property="rechargeContent", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="labor_union_card", property="laborUnionCard", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="labor_union_card", property="laborUnionCard", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="integral_num", property="integralNum", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="integral_num", property="integralNum", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="discount_deduction_price", property="discountDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="discount_deduction_price", property="discountDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="integral_deduction_price", property="integralDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="integral_deduction_price", property="integralDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="order_price", property="orderPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="pay_status", property="payStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="recharge_status", property="rechargeStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="recharge_name", property="rechargeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="create_timed", property="createTimed", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_timed", property="createTimed", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@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="out_refund_no", property="outRefundNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="out_refund_no", property="outRefundNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="order_price", property="orderPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="tp_refund_order_no", property="tpRefundOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="tp_refund_order_no", property="tpRefundOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="refund_id", property="refundId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@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="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="agent_key", property="agentKey", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_status", property="payStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="object_id", property="objectId", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="merch_id", property="merchId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="recharge_type", property="rechargeType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="recharge_status", property="rechargeStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="abnormal_msg", property="abnormalMsg", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="recharge_name", property="rechargeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="goods_id", property="goodsId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="remarks", property="remarks", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="recharge_content", property="rechargeContent", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="agent_key", property="agentKey", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="object_id", property="objectId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="merch_id", property="merchId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="abnormal_msg", property="abnormalMsg", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="whether_rebate", property="whetherRebate", jdbcType=JdbcType.BIT) |
|
|
|
@Result(column="whether_rebate", property="whetherRebate", jdbcType=JdbcType.BIT) |
|
|
|
}) |
|
|
|
}) |
|
|
|
OutRechargeOrder selectByPrimaryKey(Long id); |
|
|
|
OutRechargeOrder selectByPrimaryKey(Long id); |
|
|
@ -214,49 +216,50 @@ public interface OutRechargeOrderMapper extends OutRechargeOrderMapperExt { |
|
|
|
|
|
|
|
|
|
|
|
@Update({ |
|
|
|
@Update({ |
|
|
|
"update out_recharge_order", |
|
|
|
"update out_recharge_order", |
|
|
|
"set recharge_price = #{rechargePrice,jdbcType=DECIMAL},", |
|
|
|
"set `type` = #{type,jdbcType=INTEGER},", |
|
|
|
"`type` = #{type,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"operator_name = #{operatorName,jdbcType=VARCHAR},", |
|
|
|
"operator_name = #{operatorName,jdbcType=VARCHAR},", |
|
|
|
"operator_type = #{operatorType,jdbcType=INTEGER},", |
|
|
|
"operator_type = #{operatorType,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"recharge_price = #{rechargePrice,jdbcType=DECIMAL},", |
|
|
|
"order_no = #{orderNo,jdbcType=VARCHAR},", |
|
|
|
"order_no = #{orderNo,jdbcType=VARCHAR},", |
|
|
|
"recharge_type = #{rechargeType,jdbcType=INTEGER},", |
|
|
|
"child_order_no = #{childOrderNo,jdbcType=VARCHAR},", |
|
|
|
"mem_discount_id = #{memDiscountId,jdbcType=BIGINT},", |
|
|
|
"mem_discount_id = #{memDiscountId,jdbcType=BIGINT},", |
|
|
|
"mem_discount_name = #{memDiscountName,jdbcType=VARCHAR},", |
|
|
|
"mem_discount_name = #{memDiscountName,jdbcType=VARCHAR},", |
|
|
|
"user_id = #{userId,jdbcType=BIGINT},", |
|
|
|
"user_id = #{userId,jdbcType=BIGINT},", |
|
|
|
"user_name = #{userName,jdbcType=VARCHAR},", |
|
|
|
"user_name = #{userName,jdbcType=VARCHAR},", |
|
|
|
"user_phone = #{userPhone,jdbcType=VARCHAR},", |
|
|
|
"user_phone = #{userPhone,jdbcType=VARCHAR},", |
|
|
|
"goods_id = #{goodsId,jdbcType=BIGINT},", |
|
|
|
|
|
|
|
"recharge_content = #{rechargeContent,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"pay_type = #{payType,jdbcType=INTEGER},", |
|
|
|
"pay_type = #{payType,jdbcType=INTEGER},", |
|
|
|
"labor_union_card = #{laborUnionCard,jdbcType=VARCHAR},", |
|
|
|
"labor_union_card = #{laborUnionCard,jdbcType=VARCHAR},", |
|
|
|
"integral_num = #{integralNum,jdbcType=DECIMAL},", |
|
|
|
"integral_num = #{integralNum,jdbcType=DECIMAL},", |
|
|
|
"discount_deduction_price = #{discountDeductionPrice,jdbcType=DECIMAL},", |
|
|
|
"discount_deduction_price = #{discountDeductionPrice,jdbcType=DECIMAL},", |
|
|
|
"integral_deduction_price = #{integralDeductionPrice,jdbcType=DECIMAL},", |
|
|
|
"integral_deduction_price = #{integralDeductionPrice,jdbcType=DECIMAL},", |
|
|
|
"pay_price = #{payPrice,jdbcType=DECIMAL},", |
|
|
|
"pay_price = #{payPrice,jdbcType=DECIMAL},", |
|
|
|
|
|
|
|
"order_price = #{orderPrice,jdbcType=DECIMAL},", |
|
|
|
"pay_real_price = #{payRealPrice,jdbcType=DECIMAL},", |
|
|
|
"pay_real_price = #{payRealPrice,jdbcType=DECIMAL},", |
|
|
|
"pay_serial_no = #{paySerialNo,jdbcType=VARCHAR},", |
|
|
|
"pay_serial_no = #{paySerialNo,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"pay_status = #{payStatus,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"recharge_status = #{rechargeStatus,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"recharge_name = #{rechargeName,jdbcType=VARCHAR},", |
|
|
|
"create_timed = #{createTimed,jdbcType=TIMESTAMP},", |
|
|
|
"create_timed = #{createTimed,jdbcType=TIMESTAMP},", |
|
|
|
"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},", |
|
|
|
"out_refund_no = #{outRefundNo,jdbcType=VARCHAR},", |
|
|
|
"out_refund_no = #{outRefundNo,jdbcType=VARCHAR},", |
|
|
|
"order_price = #{orderPrice,jdbcType=DECIMAL},", |
|
|
|
|
|
|
|
"refund_time = #{refundTime,jdbcType=TIMESTAMP},", |
|
|
|
"refund_time = #{refundTime,jdbcType=TIMESTAMP},", |
|
|
|
"tp_refund_order_no = #{tpRefundOrderNo,jdbcType=VARCHAR},", |
|
|
|
"tp_refund_order_no = #{tpRefundOrderNo,jdbcType=VARCHAR},", |
|
|
|
"refund_id = #{refundId,jdbcType=VARCHAR},", |
|
|
|
"refund_id = #{refundId,jdbcType=VARCHAR},", |
|
|
|
"refund_fee = #{refundFee,jdbcType=DECIMAL},", |
|
|
|
"refund_fee = #{refundFee,jdbcType=DECIMAL},", |
|
|
|
"company_id = #{companyId,jdbcType=BIGINT},", |
|
|
|
"agent_key = #{agentKey,jdbcType=VARCHAR},", |
|
|
|
"pay_status = #{payStatus,jdbcType=INTEGER},", |
|
|
|
"object_id = #{objectId,jdbcType=INTEGER},", |
|
|
|
"merch_id = #{merchId,jdbcType=VARCHAR},", |
|
|
|
"recharge_type = #{rechargeType,jdbcType=INTEGER},", |
|
|
|
"recharge_status = #{rechargeStatus,jdbcType=INTEGER},", |
|
|
|
"abnormal_msg = #{abnormalMsg,jdbcType=VARCHAR},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR},", |
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR},", |
|
|
|
"recharge_name = #{rechargeName,jdbcType=VARCHAR},", |
|
|
|
"goods_id = #{goodsId,jdbcType=BIGINT},", |
|
|
|
"remarks = #{remarks,jdbcType=VARCHAR},", |
|
|
|
"recharge_content = #{rechargeContent,jdbcType=VARCHAR},", |
|
|
|
"agent_key = #{agentKey,jdbcType=VARCHAR},", |
|
|
|
"company_id = #{companyId,jdbcType=BIGINT},", |
|
|
|
"object_id = #{objectId,jdbcType=BIGINT},", |
|
|
|
"merch_id = #{merchId,jdbcType=VARCHAR},", |
|
|
|
"abnormal_msg = #{abnormalMsg,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"whether_rebate = #{whetherRebate,jdbcType=BIT}", |
|
|
|
"whether_rebate = #{whetherRebate,jdbcType=BIT}", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
|