Browse Source

同步开课计划 时间处理有误

北屯中职分支
ndbs 1 year ago
parent
commit
4c8edd2f8b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ArrangeLessonTerm/ArrangeLessonTermService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ArrangeLessonTerm/ArrangeLessonTermService.cs View File

@@ -1000,7 +1000,7 @@ WHERE (AcademicYearNo = '" + strAcademicYear + "') and semester='" + strSemest
foreach (var item in LessonList) foreach (var item in LessonList)
{ {
var classinfo = classData.FirstOrDefault(m => m.ClassNo == item.classnumber); var classinfo = classData.FirstOrDefault(m => m.ClassNo == item.classnumber);
var timesArr = item.timetext.Split(',');
var timesArr = item.timetext.Substring(0, item.timetext.Length - 1).Split(',');
foreach (var timesItem in timesArr) foreach (var timesItem in timesArr)
{ {
var insertData = new ArrangeLessonTermEntity var insertData = new ArrangeLessonTermEntity


Loading…
Cancel
Save