学生分析报告

main
Gitea 4 months ago
parent 901f1b7723
commit 8fea6528fe
  1. 10
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompetitionprojectregistration/controller/AnnualCompetitionProjectRegistrationController.java

@ -1382,6 +1382,11 @@ public class AnnualCompetitionProjectRegistrationController {
map.put("xj",0);
}
//获奖数
QueryWrapper<AwardPersion> queryWrapperaphj = new QueryWrapper<>();
queryWrapperaphj.eq("studentcode",user.getUsername());
queryWrapperaphj.in(bmbhs.size()!=0,"enroll_code",bmbhs);
List<AwardPersion> listhj = awardPersionService.list(queryWrapperaphj);
map.put("hjNumber",listhj.size());
//一等奖数
AwardPersion awardPersion1 = new AwardPersion();
QueryWrapper<AwardPersion> queryWrapperap1 = QueryGenerator.initQueryWrapper(awardPersion1, req.getParameterMap());
@ -1637,6 +1642,11 @@ public class AnnualCompetitionProjectRegistrationController {
map.put("xj",0);
}
//获奖数
QueryWrapper<AwardPersion> queryWrapperaphj = new QueryWrapper<>();
queryWrapperaphj.eq("studentcode",user.getUsername());
queryWrapperaphj.in(bmbhs.size()!=0,"enroll_code",bmbhs);
List<AwardPersion> listhj = awardPersionService.list(queryWrapperaphj);
map.put("hjNumber",listhj.size());
//一等奖数
AwardPersion awardPersion1 = new AwardPersion();
QueryWrapper<AwardPersion> queryWrapperap1 = QueryGenerator.initQueryWrapper(awardPersion1, req.getParameterMap());

Loading…
Cancel
Save