package com.jwipc.spe.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.spe.entity.SupAppraiseQuota;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.spe.model.po.SupAppraiseQuotaPO;
import com.jwipc.spe.model.query.SupAppraiseQuotaQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 供应商绩效考核指标表 Mapper 接口
 * </p>
 *
 * @author AL
 * @since 2024-02-28
 */
public interface SupAppraiseQuotaMapper extends BaseMapper<SupAppraiseQuota> {

    List<SupAppraiseQuotaPO> findPageByQuery(@Param("query") SupAppraiseQuotaQuery query);

    List<SupAppraiseQuotaPO> findPageByQuery(Page<SupAppraiseQuota> dbPage,@Param("query") SupAppraiseQuotaQuery query);

    SupAppraiseQuotaPO getDataById(@Param("id") Integer id);
}
