diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java index 8e8020fa..5b2b5c14 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java +++ b/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 qw1 = new QueryWrapper<>(); qw1.eq("work_no",teamworknolist.get(a)); List listsys1 = sysUserService.list(qw1); - tm.setUserId(listsys1.get(0).getId()); + tm.setUserId(listsys1.get(a).getId()); if (a==0) { - tm.setCaptain("0"); + tm.setCaptain("1"); } teamManagementService.save(tm); }