package com.admin.major.service.impl;

import com.admin.major.domain.MajorInfo;
import com.admin.major.domain.dto.MajorShuntCountDTO;
import com.admin.major.mapper.EnhanceMajorInfoMapper;
import com.admin.major.service.IEnhanceMajorInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class EnhanceMajorInfoServiceImpl implements IEnhanceMajorInfoService {

    @Resource
    private EnhanceMajorInfoMapper enhanceMajorInfoMapper;

    @Override
    public List<MajorShuntCountDTO> getMajorQuota(MajorInfo info) {
        return enhanceMajorInfoMapper.getMajorQuota(info);
    }
}
