报名导入BUG修改

main
王家东 3 months ago
parent cbda46433f
commit 85aea7bc2a
  1. 6
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java

@ -1203,7 +1203,7 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint,
ar.setEnrollCode(enrollCode); ar.setEnrollCode(enrollCode);
ar.setEnrollStatic("2"); ar.setEnrollStatic("2");
ar.setBackinfo(null); ar.setBackinfo(null);
ar.setEntryFormat("0"); ar.setEntryFormat("1");
ar.setTeamName(null); ar.setTeamName(null);
annualCompetitionProjectRegistrationService.save(ar); annualCompetitionProjectRegistrationService.save(ar);
//将学生信息姓名放入list //将学生信息姓名放入list
@ -1218,9 +1218,9 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint,
QueryWrapper<SysUser> qw1 = new QueryWrapper<>(); QueryWrapper<SysUser> qw1 = new QueryWrapper<>();
qw1.eq("work_no",teamworknolist.get(a)); qw1.eq("work_no",teamworknolist.get(a));
List<SysUser> listsys1 = sysUserService.list(qw1); List<SysUser> listsys1 = sysUserService.list(qw1);
tm.setUserId(listsys1.get(0).getId()); tm.setUserId(listsys1.get(a).getId());
if (a==0) { if (a==0) {
tm.setCaptain("0"); tm.setCaptain("1");
} }
teamManagementService.save(tm); teamManagementService.save(tm);
} }

Loading…
Cancel
Save