package com.dgtis.dorm.manager.db.service;

import com.dgtis.dorm.manager.db.dao.DeptInfoMapper;
import org.springframework.stereotype.Service;

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

@Service
public class DeptInfoService {

    @Resource
    private DeptInfoMapper deptInfoMapper;

    /**
     * @descption: 查询所有的2级部门列表
     * @param:
     * @return: void
     * @auther: qxp
     * @date:19-8-6 15:36
     */
    public List<Map<String,Object>> getLeve2DeptList() {
       return deptInfoMapper.getLeve2DeptList();
    }
}
