package com.jwipc.spe.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.spe.entity.SupAppraiseResultDetail;
import com.jwipc.spe.model.po.SupAppraiseResultDetailPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 供应商考核结果明细 Mapper 接口
 * </p>
 *
 * @author zhangjie
 * @since 2024-03-11
 */
public interface SupAppraiseResultDetailMapper extends BaseMapper<SupAppraiseResultDetail> {

    Object findVal(@Param("sql") String calculationFormula, @Param("d") Map<String, Object> params);

    List<SupAppraiseResultDetailPO> findBySupplierId(@Param("planId") Long planId);
}
