package com.jwipc.spe.mapper;

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

import java.util.List;

/**
 * <p>
 * 供应商绩效考核维度 Mapper 接口
 * </p>
 *
 * @author AL
 * @since 2024-02-28
 */
public interface SupAppraiseDimensionMapper extends BaseMapper<SupAppraiseDimension> {

    List<SupAppraiseDimensionPO> findPageByQuery(@Param("query") SupAppraiseDimensionQuery query);

    List<SupAppraiseDimensionPO> findPageByQuery(Page<SupAppraiseDimension> dbPage, @Param("query") SupAppraiseDimensionQuery query);

    SupAppraiseDimensionPO getDataById(@Param("id") Integer id);

}
