package com.gxwebsoft.glt.mapper;

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

import java.util.List;

/**
 * 消费日志Mapper
 *
 * @author 科技小王子
 * @since 2026-02-03 18:55:55
 */
public interface GltUserTicketLogMapper extends BaseMapper<GltUserTicketLog> {

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

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

}
