|
|
|
@ -88,7 +88,11 @@ public class Ghre_PlanServices : BaseServices<Ghre_Plan, Ghre_PlanDto, InsertGhr |
|
|
|
|
if (DT_TableDataT1[i].CourseId.IsNotEmptyOrNull() && DT_TableDataT1[i].CourseName.IsNullOrEmpty()) |
|
|
|
|
DT_TableDataT1[i].CourseName = courses.Where(x => x.Id == DT_TableDataT1[i].CourseId).Select(x => x.CourseName).FirstOrDefault(); |
|
|
|
|
if (DT_TableDataT1[i].DeptId.IsNotEmptyOrNull()) |
|
|
|
|
{ |
|
|
|
|
DT_TableDataT1[i].DeptName = depts.Where(x => x.DeptID == DT_TableDataT1[i].DeptId).Select(x => x.DeptName).FirstOrDefault(); |
|
|
|
|
DT_TableDataT1[i].DeptNo = depts.Where(x => x.DeptID == DT_TableDataT1[i].DeptId).Select(x => x.DeptNo).FirstOrDefault(); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
if (DT_TableDataT1[i].SchoolId.IsNotEmptyOrNull()) |
|
|
|
|
DT_TableDataT1[i].SchoolName = schools.Where(x => x.Id == DT_TableDataT1[i].SchoolId).Select(x => x.SchoolName).FirstOrDefault(); |
|
|
|
|
|
|
|
|
@ -585,7 +589,7 @@ public class Ghre_PlanServices : BaseServices<Ghre_Plan, Ghre_PlanDto, InsertGhr |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dict.Add("Month", JsonHelper.ObjToJson(value2)); |
|
|
|
|
dict.Add("Month", JsonHelper.ObjToJson(value2)); |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
@ -648,7 +652,8 @@ public class Ghre_PlanServices : BaseServices<Ghre_Plan, Ghre_PlanDto, InsertGhr |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}else |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
dict.Add(x.field, null); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|