package com.limap.core.basic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.limap.core.basic.domain.AquPayDevice;
import com.limap.core.basic.domain.AquPayOrder;


import java.util.List;

/**
 *
 * @author jjb
 * @date 2025-04-11
 */
public interface IAquPayOrderService extends IService<AquPayOrder> {

    /**
     * 查询指定小时内的支付订单
     * @param hour 小时内的订单
     * @return 支付订单列表
     */
    List<AquPayOrder> selectByHour(Integer hour);


    List<AquPayDevice> selectInfoByHour(Integer hour);

    /**
     * 补录用: 查询指定时间范围内所有订单(忽略profit_status)
     */
    List<AquPayDevice> selectInfoForBackfill(Integer hour);

    void updatePayDeviceStatus(List<AquPayDevice> list);

    void dealRechargeWarnCode();
}
