学校综合报告 7.29

main
zhc077 4 months ago
parent 0ae957c41c
commit 112b09b2ea
  1. 3
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/homepage/service/UserHomePageServiceImpl.java

@ -496,7 +496,7 @@ public class UserHomePageServiceImpl implements UserHomePageService {
Optional.ofNullable(awardPersionList).orElse(new LinkedList<>()).stream().forEach(p -> { Optional.ofNullable(awardPersionList).orElse(new LinkedList<>()).stream().forEach(p -> {
ReportCompVo compVo = new ReportCompVo(); ReportCompVo compVo = new ReportCompVo();
compVo.setStuName(p.getStudentname()); compVo.setStuName(p.getStudentname());
// BeanUtils.copyProperties(p, compVo); compVo.setAwardName(p.getAwardname());
AnnualCompPoint point = iAnnualCompPointService.getById(p.getAnnualCompP()); AnnualCompPoint point = iAnnualCompPointService.getById(p.getAnnualCompP());
if (!ObjectUtils.isEmpty(point)) { if (!ObjectUtils.isEmpty(point)) {
compVo.setPointName(point.getObjName()); compVo.setPointName(point.getObjName());
@ -740,6 +740,7 @@ public class UserHomePageServiceImpl implements UserHomePageService {
Optional.ofNullable(awardPersionList).orElse(new LinkedList<>()).stream().forEach(p -> { Optional.ofNullable(awardPersionList).orElse(new LinkedList<>()).stream().forEach(p -> {
ReportCompVo compVo = new ReportCompVo(); ReportCompVo compVo = new ReportCompVo();
compVo.setStuName(p.getStudentname()); compVo.setStuName(p.getStudentname());
compVo.setAwardName(p.getAwardname());
AnnualCompPoint point = iAnnualCompPointService.getById(p.getAnnualCompP()); AnnualCompPoint point = iAnnualCompPointService.getById(p.getAnnualCompP());
if (!ObjectUtils.isEmpty(point)) { if (!ObjectUtils.isEmpty(point)) {
compVo.setPointName(point.getObjName()); compVo.setPointName(point.getObjName());

Loading…
Cancel
Save