package com.hotent.surveyinfo.manager.impl;

import com.hotent.surveyinfo.model.CostSurveyTemplateUpload;
import com.hotent.surveyinfo.dao.CostSurveyTemplateUploadDao;
import com.hotent.surveyinfo.manager.CostSurveyTemplateUploadManager;
import com.hotent.base.manager.impl.BaseManagerImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Collections;
import java.util.List;

/**
 * 成本调查表模板上传记录表 服务实现类
 *
 * @company 山西清众科技股份有限公司
 * @author 超级管理员
 * @since 2025-01-XX
 */
@Service
public class CostSurveyTemplateUploadManagerImpl extends BaseManagerImpl<CostSurveyTemplateUploadDao, CostSurveyTemplateUpload> implements CostSurveyTemplateUploadManager {

    @Override
    public List<CostSurveyTemplateUpload> listByCatalogId(String catalogId) {
        return baseMapper.selectListByCatalogId(catalogId);
    }

    @Override
    public List<CostSurveyTemplateUpload> listByTaskId(String taskId) {
        return baseMapper.selectListByTaskId(taskId);
    }
}

