瀏覽代碼

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

临城职教中职
ndbs 2 年之前
父節點
當前提交
64b42f766f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 查看文件

@@ -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…
取消
儲存