package com.jwipc.spe.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jwipc.spe.entity.SupAppraiseTemplate;
import com.jwipc.spe.entity.SupTemQuota;
import com.jwipc.spe.mapper.SupAppraiseTemplateMapper;
import com.jwipc.spe.mapper.SupTemQuotaMapper;
import com.jwipc.spe.model.po.SupAppraiseTemplatePO;
import com.jwipc.spe.model.po.SupTemQuotaPO;
import com.jwipc.spe.model.query.SupAppraiseTemplateQuery;
import com.jwipc.spe.service.ISupAppraiseTemplateService;
import com.jwipc.spe.service.ISupTemQuotaService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 供应商绩效考核模板 服务实现类
 * </p>
 *
 * @author AL
 * @since 2024-02-29
 */
@Service
public class SupTemQuotaServiceImpl extends ServiceImpl<SupTemQuotaMapper, SupTemQuota> implements ISupTemQuotaService {
    @Override
    public List<SupTemQuotaPO> findPageByQuery(SupAppraiseTemplateQuery query) {

            return baseMapper.findPageByQuery(query);

    }
//    @Override
//    public SupAppraiseTemplatePO getDataById(Integer id) {
//        return baseMapper.getDataById(id);
//    }
}
