Browse Source

按条件同步排课数据:对日期进行处理

临城职教中职
ndbs 2 years ago
parent
commit
64b42f766f
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

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


Loading…
Cancel
Save