package com.hs.api.service.Impl;

import com.hs.api.mapper.SerDoctorMapper;
import com.hs.api.model.SerDoctor;
import com.hs.api.service.SerDoctorService;
import org.springframework.stereotype.Service;

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

@Service
public class SerDoctorServiceImpl implements SerDoctorService {
    @Resource
    private SerDoctorMapper serDoctorMapper;

    @Override
    public List<SerDoctor> getDoctor(String dept) {
        List<SerDoctor> list = serDoctorMapper.selectDoctor(dept);
        return list;
    }

}
