package com.ssm.manage.dao.impl;

import com.ssm.core.impl.BaseDaoImpl;
import com.ssm.manage.dao.CooperateListDao;
import com.ssm.manage.dao.CooperateProjectDao;
import com.ssm.manage.entity.CooperateList;
import com.ssm.manage.entity.CooperateProject;
import com.ssm.manage.mapper.CooperateListMapper;
import com.ssm.manage.mapper.CooperateProjectMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class CooperateProjectDaoImpl extends BaseDaoImpl<CooperateProject> implements CooperateProjectDao {

    @Autowired
    private CooperateProjectMapper mapper;


    @Override
    public CooperateProjectMapper getMapper() {
        return mapper;
    }

    @Override
    public List<CooperateProject> selectByCooperateIds(List<Long> cooperateIds) {
        return mapper.selectByCooperateIds(cooperateIds);
    }
}
