组委会角色登录首页数据接口(BUG)修改,学生角色登录首页数据接口

main
Gitea 4 months ago
parent a891b38642
commit 59c8c54318
  1. 2
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompetitionprojectregistration/controller/AnnualCompetitionProjectRegistrationController.java

@ -1056,7 +1056,6 @@ public class AnnualCompetitionProjectRegistrationController {
TeamManagement teamManagement = new TeamManagement(); TeamManagement teamManagement = new TeamManagement();
QueryWrapper<TeamManagement> queryWrappertm = QueryGenerator.initQueryWrapper(teamManagement, req.getParameterMap()); QueryWrapper<TeamManagement> queryWrappertm = QueryGenerator.initQueryWrapper(teamManagement, req.getParameterMap());
List<String> bmbhs = listbm.stream().map(AnnualCompetitionProjectRegistration::getEnrollCode).collect(Collectors.toList()); List<String> bmbhs = listbm.stream().map(AnnualCompetitionProjectRegistration::getEnrollCode).collect(Collectors.toList());
if (listbm.size() > 0) {
queryWrappertm.in(bmbhs.size() != 0, "enroll_code", bmbhs); queryWrappertm.in(bmbhs.size() != 0, "enroll_code", bmbhs);
List<TeamManagement> listtm = teamManagementService.list(queryWrappertm); List<TeamManagement> listtm = teamManagementService.list(queryWrappertm);
map.put("csNumber", listtm.size()); map.put("csNumber", listtm.size());
@ -1096,7 +1095,6 @@ public class AnnualCompetitionProjectRegistrationController {
List<AwardPersion> list5 = awardPersionService.list(queryWrapperap5); List<AwardPersion> list5 = awardPersionService.list(queryWrapperap5);
map.put("wdjNumber", list5.size()); map.put("wdjNumber", list5.size());
} }
}
//参赛院系用到的list //参赛院系用到的list
List<TeamManagement> listcs = new ArrayList<>(); List<TeamManagement> listcs = new ArrayList<>();
//个人赛人数 //个人赛人数

Loading…
Cancel
Save