package com.ruoyi.system.service.impl;

import com.ruoyi.system.mapper.SysPostMapper;
import com.ruoyi.system.service.ISysUnitsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

/**
 * @author Shawn
 */
@Service
public class ISysUnitsServiceImpl implements ISysUnitsService {

    @Autowired
    private SysPostMapper postMapper;

    @Override
    public Set<String> selectUnitStaffList(String unitId) {
        Set<String> strings = postMapper.selectStaffListByUnitId(unitId);
        return strings;
    }
}
