diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/OpenLessonPlanOfElective/OpenLessonPlanOfElectiveService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/OpenLessonPlanOfElective/OpenLessonPlanOfElectiveService.cs index f2c6b7315..08a0839eb 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/OpenLessonPlanOfElective/OpenLessonPlanOfElectiveService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/OpenLessonPlanOfElective/OpenLessonPlanOfElectiveService.cs @@ -445,7 +445,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration and LessonTime = '{lessonTimeArr[i]}' and LessonSection = '{lessonSectionArr[i]}'"); } //选课专业 - db.ExecuteBySql($"delete from ElectiveMajor where OLPEId='{entity.Id}'"); + db.ExecuteBySql($"delete from ElectiveMajor where OLPOEId='{entity.Id}'"); //删除选修课课程表 db.ExecuteBySql($"delete from OpenLessonPlanOfElective where Id='{entity.Id}'"); }