| | |
| | | package com.gkhy.system.service.impl; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Iterator; |
| | | import java.util.List; |
| | | import java.util.*; |
| | | import java.util.stream.Collectors; |
| | | |
| | | import cn.hutool.core.date.DateUtil; |
| | | import com.gkhy.system.domain.vo.DeptVo; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.gkhy.common.annotation.DataScope; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 统计安全检查数据 |
| | | * @param beginDate |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<DeptVo> selectDeptData(Date beginDate) { |
| | | if (beginDate == null){ |
| | | beginDate = new Date(); |
| | | } |
| | | List<DeptVo> deptVos = deptMapper.selectDeptData(beginDate); |
| | | return deptVos; |
| | | } |
| | | |
| | | /** |
| | | * 查询部门树结构信息 |
| | | * |
| | | * @param dept 部门信息 |