Crazy 4 mēneši atpakaļ
vecāks
revīzija
7fe7e126eb

+ 1 - 1
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/studentSelectionProject/studentSelectionProjectController.java

@@ -119,7 +119,7 @@ public class studentSelectionProjectController {
 
             if (!removedSupervisorIds.isEmpty()) {
                 removedSupervisorIds.forEach(supervisorId -> {
-                    supervisorSelectionSettingDO settingDO = supervisorSelectionSettingService.getSettingBySupervisorId(supervisorId);
+                    supervisorSelectionSettingDO settingDO = supervisorSelectionSettingService.getSettingBySupervisorIdAndProjectId(supervisorId,project.getId());
                     supervisorSelectionSettingService.deleteSupervisorSelectionSetting(settingDO.getId());
                 });
             }