|
|
|
@ -1,6 +1,8 @@ |
|
|
|
|
package com.hai.dao; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.hai.entity.HighOrder; |
|
|
|
|
import com.hai.entity.OutRechargeOrder; |
|
|
|
|
import com.hai.model.OutOrderModel; |
|
|
|
|
import com.hai.model.OutRechargeOrderModel; |
|
|
|
|
import com.hai.model.OutUserOrderModel; |
|
|
|
@ -101,4 +103,40 @@ public interface OutRechargeOrderMapperExt { |
|
|
|
|
"</script>" |
|
|
|
|
}) |
|
|
|
|
List<OutRechargeOrderModel> selectOrderCount(@Param("map") Map<String,Object> map); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Select({"SELECT * FROM out_recharge_order ho WHERE TIMESTAMPDIFF(MINUTE,ho.create_timed,SYSDATE()) > 15 AND ho.status = 1"}) |
|
|
|
|
@Results({ |
|
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="mem_discount_id", property="memDiscountId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="mem_discount_name", property="memDiscountName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="user_name", property="userName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="user_phone", property="userPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="recharge_model", property="rechargeModel", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@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="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), |
|
|
|
|
@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="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), |
|
|
|
|
@Result(column="cancel_time", property="cancelTime", 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="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="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) |
|
|
|
|
}) |
|
|
|
|
List<OutRechargeOrder> getCloseOrder(); |
|
|
|
|
} |
|
|
|
|