全所统计

This commit is contained in:
zhangqinlin
2021-09-26 09:27:42 +08:00
parent 1a45e57c7f
commit f535e64966
2 changed files with 6 additions and 5 deletions
@@ -37,10 +37,10 @@ public class FirstPageStatisticsController {
List<CompanyComeMoneyList> pageList3 = payWorkingGroupService.queryPageListForCompanyFirstPage(); List<CompanyComeMoneyList> pageList3 = payWorkingGroupService.queryPageListForCompanyFirstPage();
List<DepartStatistics> pageList4 = payWorkingGroupService.queryPageListForDepartFirstPage(); List<DepartStatistics> pageList4 = payWorkingGroupService.queryPageListForDepartFirstPage();
HashMap<String, Object> hashMap = new HashMap<>(); HashMap<String, Object> hashMap = new HashMap<>();
hashMap.put("PrincipalPeople",pageList); hashMap.put("principalPeople",pageList);
hashMap.put("PayWorkingGroup",pageList2); hashMap.put("payWorkingGroup",pageList2);
hashMap.put("Company",pageList3); hashMap.put("company",pageList3);
hashMap.put("Depart",pageList4); hashMap.put("depart",pageList4);
return Result.OK(hashMap); return Result.OK(hashMap);
} }
} }
@@ -82,7 +82,8 @@ public class PrincipalPeopleStatisticsController {
}else if( constant.QYRY.equals(roleCode)){ }else if( constant.QYRY.equals(roleCode)){
String userId = sysUser.getId(); String userId = sysUser.getId();
idList.add(userId); idList.add(userId);
}else { }
else {
idList=null; idList=null;
} }
Page<PrincipalPeopleList> page = new Page<>(pageNo, pageSize); Page<PrincipalPeopleList> page = new Page<>(pageNo, pageSize);