|
|
@@ -37,6 +37,7 @@ namespace Learun.Application.WebApi.Modules |
|
|
|
private EmpInfoIBLL empInfoIBLL = new EmpInfoBLL(); |
|
|
|
private AccommodationIBLL accdormitoryIBLL = new AccommodationBLL(); |
|
|
|
private FinaChargesStandardIBLL finaChargesStandardIBLL = new FinaChargesStandardBLL(); |
|
|
|
private ClassroomInfoIBLL classroomInfoIBLL = new ClassroomInfoBLL(); |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// 获取个人信息 |
|
|
@@ -60,19 +61,34 @@ namespace Learun.Application.WebApi.Modules |
|
|
|
if (classInfoEntity != null) |
|
|
|
{ |
|
|
|
StuInfoFreshEntity.ClassNo = classInfoEntity.ClassName; |
|
|
|
StuInfoFreshEntity.ClassTutorNo = classInfoEntity.ClassTutorNo; |
|
|
|
StuInfoFreshEntity.ClassDiredctorNo = classInfoEntity.ClassDiredctorNo; |
|
|
|
var empInfoEntity = empInfoIBLL.GetEmpInfoEntityByEmpNo(classInfoEntity.ClassTutorNo); |
|
|
|
if (empInfoEntity != null) |
|
|
|
if (classInfoEntity.ClassTutorNo != null) |
|
|
|
{ |
|
|
|
StuInfoFreshEntity.ClassTutorName = empInfoEntity.EmpName; |
|
|
|
StuInfoFreshEntity.ClassTutorMobile = empInfoEntity.mobile; |
|
|
|
StuInfoFreshEntity.ClassTutorNo = classInfoEntity.ClassTutorNo; |
|
|
|
var empInfoEntity = empInfoIBLL.GetEmpInfoEntityByEmpNo(classInfoEntity.ClassTutorNo); |
|
|
|
if (empInfoEntity != null) |
|
|
|
{ |
|
|
|
StuInfoFreshEntity.ClassTutorName = empInfoEntity.EmpName; |
|
|
|
StuInfoFreshEntity.ClassTutorMobile = empInfoEntity.mobile; |
|
|
|
} |
|
|
|
} |
|
|
|
var empInfoEntity2 = empInfoIBLL.GetEmpInfoEntityByEmpNo(classInfoEntity.ClassTutorNo); |
|
|
|
if (empInfoEntity2 != null) |
|
|
|
if (classInfoEntity.ClassDiredctorNo != null) |
|
|
|
{ |
|
|
|
StuInfoFreshEntity.ClassDiredctorName = empInfoEntity2.EmpName; |
|
|
|
StuInfoFreshEntity.ClassDiredctorMobile = empInfoEntity2.mobile; |
|
|
|
StuInfoFreshEntity.ClassDiredctorNo = classInfoEntity.ClassDiredctorNo; |
|
|
|
var empInfoEntity2 = empInfoIBLL.GetEmpInfoEntityByEmpNo(classInfoEntity.ClassDiredctorNo); |
|
|
|
if (empInfoEntity2 != null) |
|
|
|
{ |
|
|
|
StuInfoFreshEntity.ClassDiredctorName = empInfoEntity2.EmpName; |
|
|
|
StuInfoFreshEntity.ClassDiredctorMobile = empInfoEntity2.mobile; |
|
|
|
} |
|
|
|
} |
|
|
|
if (classInfoEntity.SerialNum != null) |
|
|
|
{ |
|
|
|
StuInfoFreshEntity.DefaultClassRoomNo = classInfoEntity.SerialNum; |
|
|
|
var classroomEntity = classroomInfoIBLL.GetClassroomInfoEntityByNo(classInfoEntity.SerialNum); |
|
|
|
if (classroomEntity != null) |
|
|
|
{ |
|
|
|
StuInfoFreshEntity.DefaultClassRoomName = classroomEntity.ClassroomName; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@@ -142,7 +158,7 @@ namespace Learun.Application.WebApi.Modules |
|
|
|
|
|
|
|
return Success(result); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// 保存完善个人信息 |
|
|
|
/// </summary> |
|
|
|