|
|
|
@ -405,6 +405,13 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint, |
|
|
|
|
awardPersion.setAwardname(name1); |
|
|
|
|
awardPersion.setAwardsort(1); |
|
|
|
|
awardPersion.setAwardid(list.get(i).getId()); |
|
|
|
|
TeamManagement teamManagement = new TeamManagement(); |
|
|
|
|
QueryWrapper<TeamManagement> queryWrappertm = QueryGenerator.initQueryWrapper(teamManagement, req.getParameterMap()); |
|
|
|
|
queryWrappertm.eq("enroll_code",listsp.get(j).getEnrollCode()); |
|
|
|
|
List<TeamManagement> listtm = teamManagementService.list(queryWrappertm); |
|
|
|
|
SysUser sysUser = sysUserService.getById(listtm.get(0).getUserId()); |
|
|
|
|
awardPersion.setStudentname(sysUser.getRealname()); |
|
|
|
|
awardPersion.setStudentcode(sysUser.getUsername()); |
|
|
|
|
awardPersionService.save(awardPersion); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -421,6 +428,13 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint, |
|
|
|
|
awardPersion.setAwardname(name2); |
|
|
|
|
awardPersion.setAwardsort(2); |
|
|
|
|
awardPersion.setAwardid(list.get(i).getId()); |
|
|
|
|
TeamManagement teamManagement = new TeamManagement(); |
|
|
|
|
QueryWrapper<TeamManagement> queryWrappertm = QueryGenerator.initQueryWrapper(teamManagement, req.getParameterMap()); |
|
|
|
|
queryWrappertm.eq("enroll_code",listsp.get(j).getEnrollCode()); |
|
|
|
|
List<TeamManagement> listtm = teamManagementService.list(queryWrappertm); |
|
|
|
|
SysUser sysUser = sysUserService.getById(listtm.get(0).getUserId()); |
|
|
|
|
awardPersion.setStudentname(sysUser.getRealname()); |
|
|
|
|
awardPersion.setStudentcode(sysUser.getUsername()); |
|
|
|
|
awardPersionService.save(awardPersion); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -438,6 +452,13 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint, |
|
|
|
|
awardPersion.setAwardname(name3); |
|
|
|
|
awardPersion.setAwardsort(3); |
|
|
|
|
awardPersion.setAwardid(list.get(i).getId()); |
|
|
|
|
TeamManagement teamManagement = new TeamManagement(); |
|
|
|
|
QueryWrapper<TeamManagement> queryWrappertm = QueryGenerator.initQueryWrapper(teamManagement, req.getParameterMap()); |
|
|
|
|
queryWrappertm.eq("enroll_code",listsp.get(j).getEnrollCode()); |
|
|
|
|
List<TeamManagement> listtm = teamManagementService.list(queryWrappertm); |
|
|
|
|
SysUser sysUser = sysUserService.getById(listtm.get(0).getUserId()); |
|
|
|
|
awardPersion.setStudentname(sysUser.getRealname()); |
|
|
|
|
awardPersion.setStudentcode(sysUser.getUsername()); |
|
|
|
|
awardPersionService.save(awardPersion); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -456,6 +477,13 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint, |
|
|
|
|
awardPersion.setAwardname(name4); |
|
|
|
|
awardPersion.setAwardsort(4); |
|
|
|
|
awardPersion.setAwardid(list.get(i).getId()); |
|
|
|
|
TeamManagement teamManagement = new TeamManagement(); |
|
|
|
|
QueryWrapper<TeamManagement> queryWrappertm = QueryGenerator.initQueryWrapper(teamManagement, req.getParameterMap()); |
|
|
|
|
queryWrappertm.eq("enroll_code",listsp.get(j).getEnrollCode()); |
|
|
|
|
List<TeamManagement> listtm = teamManagementService.list(queryWrappertm); |
|
|
|
|
SysUser sysUser = sysUserService.getById(listtm.get(0).getUserId()); |
|
|
|
|
awardPersion.setStudentname(sysUser.getRealname()); |
|
|
|
|
awardPersion.setStudentcode(sysUser.getUsername()); |
|
|
|
|
awardPersionService.save(awardPersion); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -475,6 +503,13 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint, |
|
|
|
|
awardPersion.setAwardname(name5); |
|
|
|
|
awardPersion.setAwardsort(5); |
|
|
|
|
awardPersion.setAwardid(list.get(i).getId()); |
|
|
|
|
TeamManagement teamManagement = new TeamManagement(); |
|
|
|
|
QueryWrapper<TeamManagement> queryWrappertm = QueryGenerator.initQueryWrapper(teamManagement, req.getParameterMap()); |
|
|
|
|
queryWrappertm.eq("enroll_code",listsp.get(j).getEnrollCode()); |
|
|
|
|
List<TeamManagement> listtm = teamManagementService.list(queryWrappertm); |
|
|
|
|
SysUser sysUser = sysUserService.getById(listtm.get(0).getUserId()); |
|
|
|
|
awardPersion.setStudentname(sysUser.getRealname()); |
|
|
|
|
awardPersion.setStudentcode(sysUser.getUsername()); |
|
|
|
|
awardPersionService.save(awardPersion); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -530,6 +565,13 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint, |
|
|
|
|
awardPersion1.setAwardname(name1); |
|
|
|
|
awardPersion1.setAwardsort(1); |
|
|
|
|
awardPersion1.setAwardid(list.get(i).getId()); |
|
|
|
|
TeamManagement teamManagement = new TeamManagement(); |
|
|
|
|
QueryWrapper<TeamManagement> queryWrappertm = QueryGenerator.initQueryWrapper(teamManagement, req.getParameterMap()); |
|
|
|
|
queryWrappertm.eq("enroll_code",listsp.get(j).getEnrollCode()); |
|
|
|
|
List<TeamManagement> listtm = teamManagementService.list(queryWrappertm); |
|
|
|
|
SysUser sysUser = sysUserService.getById(listtm.get(0).getUserId()); |
|
|
|
|
awardPersion.setStudentname(sysUser.getRealname()); |
|
|
|
|
awardPersion.setStudentcode(sysUser.getUsername()); |
|
|
|
|
awardPersionService.save(awardPersion1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -546,6 +588,13 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint, |
|
|
|
|
awardPersion1.setAwardname(name2); |
|
|
|
|
awardPersion1.setAwardsort(2); |
|
|
|
|
awardPersion1.setAwardid(list.get(i).getId()); |
|
|
|
|
TeamManagement teamManagement = new TeamManagement(); |
|
|
|
|
QueryWrapper<TeamManagement> queryWrappertm = QueryGenerator.initQueryWrapper(teamManagement, req.getParameterMap()); |
|
|
|
|
queryWrappertm.eq("enroll_code",listsp.get(j).getEnrollCode()); |
|
|
|
|
List<TeamManagement> listtm = teamManagementService.list(queryWrappertm); |
|
|
|
|
SysUser sysUser = sysUserService.getById(listtm.get(0).getUserId()); |
|
|
|
|
awardPersion.setStudentname(sysUser.getRealname()); |
|
|
|
|
awardPersion.setStudentcode(sysUser.getUsername()); |
|
|
|
|
awardPersionService.save(awardPersion1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -563,6 +612,13 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint, |
|
|
|
|
awardPersion1.setAwardname(name3); |
|
|
|
|
awardPersion1.setAwardsort(3); |
|
|
|
|
awardPersion1.setAwardid(list.get(i).getId()); |
|
|
|
|
TeamManagement teamManagement = new TeamManagement(); |
|
|
|
|
QueryWrapper<TeamManagement> queryWrappertm = QueryGenerator.initQueryWrapper(teamManagement, req.getParameterMap()); |
|
|
|
|
queryWrappertm.eq("enroll_code",listsp.get(j).getEnrollCode()); |
|
|
|
|
List<TeamManagement> listtm = teamManagementService.list(queryWrappertm); |
|
|
|
|
SysUser sysUser = sysUserService.getById(listtm.get(0).getUserId()); |
|
|
|
|
awardPersion.setStudentname(sysUser.getRealname()); |
|
|
|
|
awardPersion.setStudentcode(sysUser.getUsername()); |
|
|
|
|
awardPersionService.save(awardPersion1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -581,6 +637,13 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint, |
|
|
|
|
awardPersion1.setAwardname(name4); |
|
|
|
|
awardPersion1.setAwardsort(4); |
|
|
|
|
awardPersion1.setAwardid(list.get(i).getId()); |
|
|
|
|
TeamManagement teamManagement = new TeamManagement(); |
|
|
|
|
QueryWrapper<TeamManagement> queryWrappertm = QueryGenerator.initQueryWrapper(teamManagement, req.getParameterMap()); |
|
|
|
|
queryWrappertm.eq("enroll_code",listsp.get(j).getEnrollCode()); |
|
|
|
|
List<TeamManagement> listtm = teamManagementService.list(queryWrappertm); |
|
|
|
|
SysUser sysUser = sysUserService.getById(listtm.get(0).getUserId()); |
|
|
|
|
awardPersion.setStudentname(sysUser.getRealname()); |
|
|
|
|
awardPersion.setStudentcode(sysUser.getUsername()); |
|
|
|
|
awardPersionService.save(awardPersion1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -600,6 +663,13 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint, |
|
|
|
|
awardPersion1.setAwardname(name5); |
|
|
|
|
awardPersion1.setAwardsort(5); |
|
|
|
|
awardPersion1.setAwardid(list.get(i).getId()); |
|
|
|
|
TeamManagement teamManagement = new TeamManagement(); |
|
|
|
|
QueryWrapper<TeamManagement> queryWrappertm = QueryGenerator.initQueryWrapper(teamManagement, req.getParameterMap()); |
|
|
|
|
queryWrappertm.eq("enroll_code",listsp.get(j).getEnrollCode()); |
|
|
|
|
List<TeamManagement> listtm = teamManagementService.list(queryWrappertm); |
|
|
|
|
SysUser sysUser = sysUserService.getById(listtm.get(0).getUserId()); |
|
|
|
|
awardPersion.setStudentname(sysUser.getRealname()); |
|
|
|
|
awardPersion.setStudentcode(sysUser.getUsername()); |
|
|
|
|
awardPersionService.save(awardPersion1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|