|
@@ -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());
|
|
|
});
|
|
|
}
|