package com.jwipc.tender.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.tender.entity.ExpertManage;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.tender.model.po.ExpertManagePO;
import com.jwipc.tender.model.query.ExpertManageQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 专家管理 Mapper 接口
 * </p>
 *
 * @author AL
 * @since 2024-02-27
 */
public interface ExpertManageMapper extends BaseMapper<ExpertManage> {

    List<ExpertManagePO> findPageByQuery(@Param("query") ExpertManageQuery query);

    List<ExpertManagePO> findPageByQuery(Page<ExpertManage> dbPage, @Param("query") ExpertManageQuery query);

    ExpertManagePO getDataById(@Param("id") Long id);

}
