package com.gxwebsoft.credit.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.credit.entity.CreditAdministrativeLicense;
import com.gxwebsoft.credit.param.CreditAdministrativeLicenseParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 行政许可Mapper
 *
 * @author 科技小王子
 * @since 2026-01-07 13:52:13
 */
public interface CreditAdministrativeLicenseMapper extends BaseMapper<CreditAdministrativeLicense> {

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

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

}
