Ver a proveniência

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

临城职教中职
ndbs há 2 anos
ascendente
cometimento
e767a127f4
2 ficheiros alterados com 6 adições e 3 eliminações
  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 Ver ficheiro

@@ -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 Ver ficheiro

@@ -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



Carregando…
Cancelar
Guardar