...
This commit is contained in:
parent
ad54ba9ac1
commit
f1c2cbc28e
|
@ -2056,7 +2056,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Object selectDeptDetailTypeCountList(Map params) {
|
public Object selectDeptDetailTypeCountList(Map params) {
|
||||||
if (params.containsKey("deptId") && params.get("deptId") != null) {
|
if (params.containsKey("deptId") && org.apache.commons.lang3.StringUtils.isEmpty(params.get("deptId").toString())) {
|
||||||
List<Map<String, Object>> typeCountListByDept = resourceDao.selectDeptDetailTypeCountList(params);
|
List<Map<String, Object>> typeCountListByDept = resourceDao.selectDeptDetailTypeCountList(params);
|
||||||
Map<String, List<Map<String, Object>>> typeCountListMap = typeCountListByDept.stream().collect(Collectors.groupingBy(m -> m.get("deptName").toString()));
|
Map<String, List<Map<String, Object>>> typeCountListMap = typeCountListByDept.stream().collect(Collectors.groupingBy(m -> m.get("deptName").toString()));
|
||||||
ArrayList<Map> resultList = new ArrayList<>();
|
ArrayList<Map> resultList = new ArrayList<>();
|
||||||
|
|
Loading…
Reference in New Issue