diff --git a/schoolNewsServ/study/src/main/java/org/xyzh/study/service/impl/SCLearningTaskServiceImpl.java b/schoolNewsServ/study/src/main/java/org/xyzh/study/service/impl/SCLearningTaskServiceImpl.java index 8619130..d0f7ffb 100644 --- a/schoolNewsServ/study/src/main/java/org/xyzh/study/service/impl/SCLearningTaskServiceImpl.java +++ b/schoolNewsServ/study/src/main/java/org/xyzh/study/service/impl/SCLearningTaskServiceImpl.java @@ -435,7 +435,7 @@ public class SCLearningTaskServiceImpl implements LearningTaskService { // 找出要删除的用户关联 List userIDsToDelete = existingUserMap.values().stream() .filter(taskUser -> !newUserIDs.contains(taskUser.getUserID())) - .map(TbTaskUser::getID) + .map(TbTaskUser::getId) .collect(Collectors.toList()); if (!userIDsToDelete.isEmpty()) { diff --git a/schoolNewsServ/study/src/main/resources/mapper/TaskUserMapper.xml b/schoolNewsServ/study/src/main/resources/mapper/TaskUserMapper.xml index 02796ca..5650917 100644 --- a/schoolNewsServ/study/src/main/resources/mapper/TaskUserMapper.xml +++ b/schoolNewsServ/study/src/main/resources/mapper/TaskUserMapper.xml @@ -64,9 +64,22 @@ @@ -249,9 +262,22 @@