This commit is contained in:
zhangqinlin
2021-11-03 10:51:03 +08:00
parent 5d7fec3e64
commit 405bf617af
2 changed files with 36 additions and 9 deletions
@@ -32,11 +32,16 @@ public class FirstPageStatisticsController {
@GetMapping(value = "/firstPage")
@ApiOperation(value = "首页统计", notes = "首页统计")
public Result<?> getFirstPage() {
//个人前十
List<PrincipalPeopleList> pageList = payWorkingGroupService.queryPageListForPrincipalFirstPage();
//工作组前十
List<PayWorkingGroupStatistics> pageList2 = payWorkingGroupService.queryPageListForStatisticsFirstPage();
//企业前十
List<CompanyComeMoneyList> pageList3 = payWorkingGroupService.queryPageListForCompanyFirstPage();
//部门前十
List<DepartStatistics> pageList4 = payWorkingGroupService.queryPageListForDepartFirstPage();
ArrayList<PrincipalPeopleList> list = new ArrayList<>();
for(PrincipalPeopleList s: pageList){
if(!(s.getComeAllMoney()== null || s.getComeAllMoney().equals("")|| s.getComeAllMoney().equals("0") )) {