|
|
@@ -200,6 +200,23 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
{ |
|
|
|
foreach (var lessontime in item.paike.timeText.TrimEnd(',').Split(',')) |
|
|
|
{ |
|
|
|
string tmplessontime = ""; |
|
|
|
if (item.paike.section == "7") |
|
|
|
{ |
|
|
|
tmplessontime = "18:00-18:45"; |
|
|
|
} |
|
|
|
if (item.paike.section == "8") |
|
|
|
{ |
|
|
|
tmplessontime = "18:45-19:30"; |
|
|
|
} |
|
|
|
if (item.paike.section == "9") |
|
|
|
{ |
|
|
|
tmplessontime = "20:30-21:15"; |
|
|
|
} |
|
|
|
if (item.paike.section == "10") |
|
|
|
{ |
|
|
|
tmplessontime = "21:15-22:00"; |
|
|
|
} |
|
|
|
var insertData = new ArrangeLessonTermOfElectiveEntity |
|
|
|
{ |
|
|
|
Id = Guid.NewGuid().ToString(), |
|
|
@@ -210,7 +227,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
LessonNo = item.paike.curriculunNumber, |
|
|
|
LessonName = item.paike.curriculunName, |
|
|
|
LessonSortNo = "2", |
|
|
|
LessonTime = (item.paike.section == "7" ? "16:20-17:05" : "17:15-18:00"), |
|
|
|
LessonTime = tmplessontime, |
|
|
|
LessonSection = item.paike.week + item.paike.section, |
|
|
|
StudyScore = lessonData.FirstOrDefault(x => x.LessonNo == item.paike.curriculunNumber)?.StudyScore, |
|
|
|
EmpNo = item.paike.teacherNumber, |
|
|
|