|
@@ -121,7 +121,9 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
opfirst.LessonSection = deldatafirst.LessonSection; |
|
|
opfirst.LessonSection = deldatafirst.LessonSection; |
|
|
opfirst.LessonTime = deldatafirst.LessonTime; |
|
|
opfirst.LessonTime = deldatafirst.LessonTime; |
|
|
db.Update(opfirst); |
|
|
db.Update(opfirst); |
|
|
db.ExecuteBySql("insert into OpenLessonPlanOfElective select * from OpenLessonPlanOfElectiveDel where id='" + deldatalast.OLPOEId + "'"); |
|
|
|
|
|
|
|
|
db.ExecuteBySql(@"insert into OpenLessonPlanOfElective(Id, MakeDate, AcademicYearNo, Semester, LessonNo, PartCode, LessonName, LessonSortNo, LessonSortDetailNo, LessonSection, LessonTime, StudyScore, StartWeek, EndWeek, StartDate, EndDate, CheckStyleNo, ScoreRecordStyleNo, EmpNo, EmpName, ClassRoomNo, ClassRoomName, CheckMark, StuNumMax, StuNum, ModifyTime, ModifyUserId, ModifyUserName, F_SchoolId) |
|
|
|
|
|
select Id, MakeDate, AcademicYearNo, Semester, LessonNo, PartCode, LessonName, LessonSortNo, LessonSortDetailNo, LessonSection, LessonTime, StudyScore, StartWeek, EndWeek, StartDate, EndDate, CheckStyleNo, ScoreRecordStyleNo, EmpNo, EmpName, ClassRoomNo, ClassRoomName, CheckMark, StuNumMax, StuNum, ModifyTime, ModifyUserId, ModifyUserName, F_SchoolId |
|
|
|
|
|
from OpenLessonPlanOfElectiveDel where id='" + deldatalast.OLPOEId + "'"); |
|
|
db.ExecuteBySql("delete from OpenLessonPlanOfElectiveDel where id='" + deldatalast.OLPOEId + "'"); |
|
|
db.ExecuteBySql("delete from OpenLessonPlanOfElectiveDel where id='" + deldatalast.OLPOEId + "'"); |
|
|
db.Delete<ElectiveMergeItemEntity>(m => m.EmId == keyValue); |
|
|
db.Delete<ElectiveMergeItemEntity>(m => m.EmId == keyValue); |
|
|
db.Delete<ElectiveMergeEntity>(t => t.EMId == keyValue); |
|
|
db.Delete<ElectiveMergeEntity>(t => t.EMId == keyValue); |
|
|