|
|
@@ -89,7 +89,7 @@ namespace Learun.Application.WebApi.Modules |
|
|
|
public Response GetStuLessonInfo(dynamic _) |
|
|
|
{ |
|
|
|
var param = this.GetReqData<TimeParameter>(); |
|
|
|
var lessonInfos = stuAttendanceIBLL.GetStuLessonInfo(userInfo.account,param.StartDate,param.EndDate); |
|
|
|
var lessonInfos = stuAttendanceIBLL.GetStuLessonInfo(userInfo.account, param.StartDate, param.EndDate); |
|
|
|
var empNos = lessonInfos.Select(a => a.EmpNo).ToList(); |
|
|
|
var lessonTerms = arrangeLessonTermIBLL.GetListByEmpNo(empNos); |
|
|
|
|
|
|
@@ -223,10 +223,10 @@ namespace Learun.Application.WebApi.Modules |
|
|
|
else if (param.Description == "教师") |
|
|
|
{ |
|
|
|
//教师 |
|
|
|
var empInfo = empInfoIbll.GetAllList().Where(x => x.EmpNo == userInfo.account).FirstOrDefault().EmpNo; |
|
|
|
var empInfo = empInfoIbll.GetAllList().Where(x => x.EmpNo == param.Account).FirstOrDefault().EmpNo; |
|
|
|
if (empInfo != null) |
|
|
|
{ |
|
|
|
Data = arrangeLessonTermIBLL.GetTimeTableInEducation(param.StartDate, param.EndDate, "", param.EmpNo, ""); |
|
|
|
Data = arrangeLessonTermIBLL.GetTimeTableInEducation(param.StartDate, param.EndDate, "", param.Account, ""); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|