Преглед на файлове

同步专业开课计划 未同步课时

临城职教中职
ndbs преди 2 години
родител
ревизия
e767a127f4
променени са 2 файла, в които са добавени 6 реда и са изтрити 3 реда
  1. +4
    -3
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ArrangeLessonTerm/ArrangeLessonTermService.cs
  2. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachClass/TeachClassEntity.cs

+ 4
- 3
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ArrangeLessonTerm/ArrangeLessonTermService.cs Целия файл

@@ -1211,6 +1211,7 @@ WHERE (AcademicYearNo = '" + strAcademicYear + "') and semester='" + strSemest
.FirstOrDefault(m => m.LessonNo == item.LessonSortDetailNo)?.LessonSortDetailNo,
StartWeek = item.StartWeek,
EndWeek = item.EndWeek,
WeekLessonHour = item.ClassHour,
CheckStyleNo = "1",
ScoreRecordStyleNo = "1",
TeachDeptNo = majorData.FirstOrDefault(m => m.MajorNo == item.MajorNo)?.DeptNo,
@@ -1221,7 +1222,8 @@ WHERE (AcademicYearNo = '" + strAcademicYear + "') and semester='" + strSemest
CheckMarkDept = "1",
CheckMark = "1",
TestMark = 0,
F_SchoolId = item.F_SchoolId
F_SchoolId = item.F_SchoolId,
State = 0
};
if (openLessonPlanData.Count(m => m.AcademicYearNo == insertData.AcademicYearNo &&
m.Semester == insertData.Semester &&
@@ -1246,8 +1248,7 @@ WHERE (AcademicYearNo = '" + strAcademicYear + "') and semester='" + strSemest
}
await BaseRepository("CollegeMIS").InsertAsync(insertDataList);
}
#region MyRegion
//学生选课数据
#region 学生选课数据
var TeachClassData = (await BaseRepository("CollegeMIS").FindListAsync<TeachClassEntity>(@"SELECT *
FROM TeachClass
WHERE (AcademicYearNo = '" + entity.AcademicYearNo + "') and semester='" + entity.Semester + "' and F_SchoolId='" + entity.F_SchoolId + "' ")).ToList();


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachClass/TeachClassEntity.cs Целия файл

@@ -120,6 +120,8 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
public string LessonName { get; set; }
[NotMapped]
public string LessonSortDetailNo { get; set; }
[NotMapped]
public int? ClassHour { get; set; }

#endregion



Зареждане…
Отказ
Запис