package com.gxwebsoft.glt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.glt.entity.GltTicketOrder;
import com.gxwebsoft.glt.param.GltTicketOrderParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 送水订单Mapper
 *
 * @author 科技小王子
 * @since 2026-02-05 18:50:20
 */
public interface GltTicketOrderMapper extends BaseMapper<GltTicketOrder> {

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<GltTicketOrder>
     */
    List<GltTicketOrder> selectPageRel(@Param("page") IPage<GltTicketOrder> page,
                             @Param("param") GltTicketOrderParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<GltTicketOrder> selectListRel(@Param("param") GltTicketOrderParam param);

}
