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.SupTemDimension;
import com.jwipc.spe.entity.SupTemQuota;
import com.jwipc.spe.mapper.SupTemDimensionMapper;
import com.jwipc.spe.mapper.SupTemQuotaMapper;
import com.jwipc.spe.model.po.SupTemDimensionPO;
import com.jwipc.spe.model.po.SupTemQuotaPO;
import com.jwipc.spe.model.query.SupAppraiseTemplateQuery;
import com.jwipc.spe.service.ISupTemDimensionService;
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 SupTemDimensionServiceImpl extends ServiceImpl<SupTemDimensionMapper, SupTemDimension> implements ISupTemDimensionService {
    @Override
    public List<SupTemDimensionPO> findPageByQuery(SupAppraiseTemplateQuery query) {
//        if (dbPage==null){
            return baseMapper.findPageByQuery(query);
            //       }
//        return baseMapper.findPageByQuery(dbPage,query);
    }
//    @Override
//    public SupAppraiseTemplatePO getDataById(Integer id) {
//        return baseMapper.getDataById(id);
//    }
}
