123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Linq.Expressions;
- using EMIS.Entities;
- using EMIS.DataLogic.Repositories;
- using EMIS.ViewModel.StudentManage.OnlineChecking;
- using EMIS.ViewModel.StudentManage.StudentProfile;
- namespace EMIS.DataLogic.StudentManage.OnlineChecking
- {
- public class CheckingCollectDAL
- {
- public StudentRecordChangeHistoryRepository StudentRecordChangeHistoryRepository { get; set; }
- public StudentEditColumnDescriptionRepository StudentEditColumnDescriptionRepository { get; set; }
- public StudentContrastRepository StudentContrastRepository { get; set; }
- public StudentSourceRepository StudentSourceRepository { get; set; }
- public StudentRepository StudentRepository { get; set; }
- public StudentProfileRepository StudentProfileRepository { get; set; }
- public StudentProfileContrastRepository StudentProfileContrastRepository { get; set; }
- public StudentProfileSourceRepository StudentProfileSourceRepository { get; set; }
- public StudentContactRepository StudentContactRepository { get; set; }
- public StudentContactContrastRepository StudentContactContrastRepository { get; set; }
- public StudentContactSourceRepository StudentContactSourceRepository { get; set; }
- public StudentAccountRepository StudentAccountRepository { get; set; }
- public StudentAccountContrastRepository StudentAccountContrastRepository { get; set; }
- public StudentAccountSourceRepository StudentAccountSourceRepository { get; set; }
- public RecruitstudentsRepository RecruitstudentsRepository { get; set; }
- public RecruitstudentsContrastRepository RecruitstudentsContrastRepository { get; set; }
- public RecruitstudentsSourceRepository RecruitstudentsSourceRepository { get; set; }
- public ClassmajorRepository ClassmajorRepository { get; set; }
- public GrademajorRepository GrademajorRepository { get; set; }
- public FacultymajorRepository FacultymajorRepository { get; set; }
- public CollegeRepository CollegeRepository { get; set; }
- public CampusRepository CampusRepository { get; set; }
- public UserRepository UserRepository { get; set; }
- public UserContrastRepository UserContrastRepository { get; set; }
- public UserSourceRepository UserSourceRepository { get; set; }
- /// <summary>
- /// 查询对应的校对记录信息CheckingHistoryView
- /// </summary>
- /// <param name="expStudentRecordChangeHistory"></param>
- /// <returns></returns>
- public IQueryable<CheckingHistoryView> GetCheckingHistoryViewQueryable(Expression<Func<CF_StudentRecordChangeHistory, bool>> expStudentRecordChangeHistory)
- {
- var query = from stuhis in StudentRecordChangeHistoryRepository.GetList(expStudentRecordChangeHistory)
- join stucst in StudentContrastRepository.Entities
- on stuhis.StudentContrastID equals stucst.StudentContrastID
- join stu in StudentRepository.Entities
- on stucst.UserID equals stu.UserID
- join stusou in StudentSourceRepository.Entities
- on stucst.StudentContrastID equals stusou.StudentContrastID
- join uscst in UserContrastRepository.Entities
- on stucst.StudentContrastID equals uscst.StudentContrastID
- join ussou in UserSourceRepository.Entities
- on stucst.StudentContrastID equals ussou.StudentContrastID
- join stupfcst in StudentProfileContrastRepository.Entities
- on stucst.StudentContrastID equals stupfcst.StudentContrastID
- join stupfsou in StudentProfileSourceRepository.Entities
- on stucst.StudentContrastID equals stupfsou.StudentContrastID
- join stuctcst in StudentContactContrastRepository.Entities
- on stucst.StudentContrastID equals stuctcst.StudentContrastID
- join stuctsou in StudentContactSourceRepository.Entities
- on stucst.StudentContrastID equals stuctsou.StudentContrastID
- join stuaccst in StudentAccountContrastRepository.Entities
- on stucst.StudentContrastID equals stuaccst.StudentContrastID
- join stuacsou in StudentAccountSourceRepository.Entities
- on stucst.StudentContrastID equals stuacsou.StudentContrastID
- join sturtcst in RecruitstudentsContrastRepository.Entities
- on stucst.StudentContrastID equals sturtcst.StudentContrastID
- join sturtsou in RecruitstudentsSourceRepository.Entities
- on stucst.StudentContrastID equals sturtsou.StudentContrastID
- join pf in StudentProfileRepository.Entities
- on stu.UserID equals pf.UserID into temppf
- from stupf in temppf.DefaultIfEmpty()
- join ct in StudentContactRepository.Entities
- on stu.UserID equals ct.UserID into tempct
- from stuct in tempct.DefaultIfEmpty()
- join ac in StudentAccountRepository.Entities
- on stu.UserID equals ac.UserID into tempac
- from stuac in tempac.DefaultIfEmpty()
- join rt in RecruitstudentsRepository.Entities
- on stu.UserID equals rt.UserID into temprt
- from sturt in temprt.DefaultIfEmpty()
- join cl in ClassmajorRepository.Entities
- on stu.ClassmajorID equals cl.ClassmajorID
- join gr in GrademajorRepository.Entities
- on cl.GrademajorID equals gr.GrademajorID
- join fa in FacultymajorRepository.Entities
- on gr.FacultymajorID equals fa.FacultymajorID
- join col in CollegeRepository.Entities
- on fa.CollegeID equals col.CollegeID
- join cam in CampusRepository.Entities
- on col.CampusID equals cam.CampusID
- join us in UserRepository.Entities
- on stu.UserID equals us.UserID
- join ecd in StudentEditColumnDescriptionRepository.Entities
- on new { stuhis.TableName, stuhis.ColumnName } equals new { ecd.TableName, ecd.ColumnName } into tempecd
- from stuecd in tempecd.DefaultIfEmpty()
- select new CheckingHistoryView
- {
- StudentRecordChangeHistoryID = stuhis.StudentRecordChangeHistoryID,
- StudentContrastID = stucst.StudentContrastID,
- TableName = stuhis.TableName,
- ColumnName = stuhis.ColumnName,
- DisplayPropertyName = stuecd.DisplayPropertyName,
- Description = stuecd.Description,
- CheckingTypeID = stuhis.CheckingTypeID,
- UserID = stu.UserID,
- StudentNo = us.LoginID,
- LoginID = us.LoginID,
- ExamineeNum = sturt.ExamineeNum,
- AdmissionTicketNo = sturt.AdmissionTicketNo,
- Name = us.Name,
- UserName = us.Name,
- UsedName = stupf.UsedName,
- ClassmajorID = stu.ClassmajorID,
- ClassmajorNo = cl.No,
- ClassmajorName = cl.Name,
- ClassNum = cl.ClassNum,
- StandardID = fa.StandardID,
- EducationID = fa.EducationID,
- LearningformID = fa.LearningformID,
- LearnSystem = fa.LearnSystem,
- FacultymajorID = gr.FacultymajorID,
- FacultymajorCode = fa.Code,
- FacultymajorName = fa.Name,
- GradeID = gr.GradeID,
- SemesterID = gr.SemesterID,
- GrademajorID = cl.GrademajorID,
- GrademajorCode = gr.Code,
- GrademajorName = gr.Name,
- CollegeID = fa.CollegeID,
- CollegeNo = col.No,
- CollegeName = col.Name,
- CampusID = col.CampusID,
- CampusCode = cam.No,
- CampusName = cam.Name,
- Country = stupf.Country,
- Place = stupf.Place,
- BornPlace = stupf.BornPlace,
- SexID = stu.SexID,
- BirthDate = stu.BirthDate,
- NationID = stu.NationID,
- PoliticsID = stu.PoliticsID,
- CertificatesType = stu.CertificatesType,
- IDNumber = stu.IDNumber,
- StudentType = stu.StudentType,
- InSchoolStatusID = stu.InSchoolStatusID,
- StudentStatus = stu.StudentStatus,
- ExamineeType = sturt.ExamineeType,
- EntranceDate = sturt.EntranceDate,
- LiteracyLevelID = stupf.LiteracyLevelID,
- CultureModelID = stupf.CultureModelID,
- IsDreamProject = stupf.IsDreamProject ?? false,
- Email = stuct.Email,
- Telephone = stuct.Telephone,
- Mobile = stuct.Mobile,
- ZIPCode = stuct.ZIPCode,
- WeChatNum = stuct.WeChatNum,
- QQ = stuct.QQ,
- HealthStateID = stupf.HealthStateID,
- BloodGroup = stupf.BloodGroup,
- Specialty = stupf.Specialty,
- Height = stupf.Height,
- Weight = stupf.Weight,
- DirectorName = stupf.DirectorName,
- Score = sturt.Score,
- EntranceWayID = sturt.EntranceWayID,
- FeaturesID = sturt.FeaturesID,
- TerritorialID = sturt.TerritorialID,
- Area = sturt.Area,
- HomeAddress = stuct.HomeAddress,
- WorkUnit = stuct.WorkUnit,
- Address = stuct.Address,
- Recipient = stuct.Recipient,
- Dormitory = stuct.Dormitory,
- BankName = stuac.BankName,
- CardNo = stuac.CardNo,
- StudentCardNo = stu.StudentCardNo,
- PhotoUrl = stu.PhotoUrl,
- PlanningGraduateDate = stu.PlanningGraduateDate,
- GraduateDate = stu.GraduateDate,
- GraduateCardNo = stu.GraduateCardNo,
- ReplaceGraduateNo = stu.ReplaceGraduateNo,
- DegreeStatus = stu.DegreeStatus ?? false,
- GraduationPictureUrl = stu.GraduationPictureUrl,
- Career = stu.Career,
- IsProofread = stu.IsProofread ?? false,
- Remark = stu.Remark,
- IP = stucst.IP,
- ApprovalStatus = stucst.ApprovalStatus,
- Comment = stucst.Comment,
- ApprovalTime = stucst.ModifyTime,
- StudentViewSource = new StudentView()
- {
- UserID = stucst.UserID,
- StudentNo = ussou.LoginID,
- LoginID = ussou.LoginID,
- ExamineeNum = sturtsou.ExamineeNum,
- AdmissionTicketNo = sturtsou.AdmissionTicketNo,
- Name = ussou.Name,
- UserName = ussou.Name,
- UsedName = stupfsou.UsedName,
- ClassmajorID = stu.ClassmajorID,
- ClassmajorNo = cl.No,
- ClassmajorName = cl.Name,
- ClassNum = cl.ClassNum,
- StandardID = fa.StandardID,
- EducationID = fa.EducationID,
- LearningformID = fa.LearningformID,
- LearnSystem = fa.LearnSystem,
- FacultymajorID = gr.FacultymajorID,
- FacultymajorCode = fa.Code,
- FacultymajorName = fa.Name,
- GradeID = gr.GradeID,
- SemesterID = gr.SemesterID,
- GrademajorID = cl.GrademajorID,
- GrademajorCode = gr.Code,
- GrademajorName = gr.Name,
- CollegeID = fa.CollegeID,
- CollegeNo = col.No,
- CollegeName = col.Name,
- CampusID = col.CampusID,
- CampusCode = cam.No,
- CampusName = cam.Name,
- Country = stupfsou.Country,
- Place = stupfsou.Place,
- BornPlace = stupfsou.BornPlace,
- SexID = stusou.SexID,
- BirthDate = stusou.BirthDate,
- NationID = stusou.NationID,
- PoliticsID = stusou.PoliticsID,
- CertificatesType = stusou.CertificatesType,
- IDNumber = stusou.IDNumber,
- StudentType = stusou.StudentType,
- InSchoolStatusID = stusou.InSchoolStatusID,
- StudentStatus = stusou.StudentStatus,
- ExamineeType = sturtsou.ExamineeType,
- EntranceDate = sturtsou.EntranceDate,
- LiteracyLevelID = stupfsou.LiteracyLevelID,
- CultureModelID = stupfsou.CultureModelID,
- IsDreamProject = stupfsou.IsDreamProject ?? false,
- Email = stuctsou.Email,
- Telephone = stuctsou.Telephone,
- Mobile = stuctsou.Mobile,
- ZIPCode = stuctsou.ZIPCode,
- WeChatNum = stuctsou.WeChatNum,
- QQ = stuctsou.QQ,
- HealthStateID = stupfsou.HealthStateID,
- BloodGroup = stupfsou.BloodGroup,
- Specialty = stupfsou.Specialty,
- Height = stupfsou.Height,
- Weight = stupfsou.Weight,
- DirectorName = stupfsou.DirectorName,
- Score = sturtsou.Score,
- EntranceWayID = sturtsou.EntranceWayID,
- FeaturesID = sturtsou.FeaturesID,
- TerritorialID = sturtsou.TerritorialID,
- Area = sturtsou.Area,
- HomeAddress = stuctsou.HomeAddress,
- WorkUnit = stuctsou.WorkUnit,
- Address = stuctsou.Address,
- Recipient = stuctsou.Recipient,
- Dormitory = stuctsou.Dormitory,
- BankName = stuacsou.BankName,
- CardNo = stuacsou.CardNo,
- RecruitPictureUrl = sturtsou.RecruitPictureUrl,
- StudentCardNo = stusou.StudentCardNo,
- PhotoUrl = stusou.PhotoUrl,
- PlanningGraduateDate = stusou.PlanningGraduateDate,
- GraduateDate = stusou.GraduateDate,
- GraduateCardNo = stusou.GraduateCardNo,
- ReplaceGraduateNo = stusou.ReplaceGraduateNo,
- DegreeStatus = stusou.DegreeStatus ?? false,
- GraduationPictureUrl = stusou.GraduationPictureUrl,
- Career = stusou.Career,
- IsPhotoComparison = stusou.IsPhotoComparison ?? false,
- IsProofread = stusou.IsProofread ?? false,
- Remark = stusou.Remark
- },
- StudentViewContrast = new StudentView()
- {
- UserID = stucst.UserID,
- StudentNo = uscst.LoginID,
- LoginID = uscst.LoginID,
- ExamineeNum = sturtcst.ExamineeNum,
- AdmissionTicketNo = sturtcst.AdmissionTicketNo,
- Name = uscst.Name,
- UserName = uscst.Name,
- UsedName = stupfcst.UsedName,
- ClassmajorID = stu.ClassmajorID,
- ClassmajorNo = cl.No,
- ClassmajorName = cl.Name,
- ClassNum = cl.ClassNum,
- StandardID = fa.StandardID,
- EducationID = fa.EducationID,
- LearningformID = fa.LearningformID,
- LearnSystem = fa.LearnSystem,
- FacultymajorID = gr.FacultymajorID,
- FacultymajorCode = fa.Code,
- FacultymajorName = fa.Name,
- GradeID = gr.GradeID,
- SemesterID = gr.SemesterID,
- GrademajorID = cl.GrademajorID,
- GrademajorCode = gr.Code,
- GrademajorName = gr.Name,
- CollegeID = fa.CollegeID,
- CollegeNo = col.No,
- CollegeName = col.Name,
- CampusID = col.CampusID,
- CampusCode = cam.No,
- CampusName = cam.Name,
- Country = stupfcst.Country,
- Place = stupfcst.Place,
- BornPlace = stupfcst.BornPlace,
- SexID = stucst.SexID,
- BirthDate = stucst.BirthDate,
- NationID = stucst.NationID,
- PoliticsID = stucst.PoliticsID,
- CertificatesType = stucst.CertificatesType,
- IDNumber = stucst.IDNumber,
- StudentType = stucst.StudentType,
- InSchoolStatusID = stucst.InSchoolStatusID,
- StudentStatus = stucst.StudentStatus,
- ExamineeType = sturtcst.ExamineeType,
- EntranceDate = sturtcst.EntranceDate,
- LiteracyLevelID = stupfcst.LiteracyLevelID,
- CultureModelID = stupfcst.CultureModelID,
- IsDreamProject = stupfcst.IsDreamProject ?? false,
- Email = stuctcst.Email,
- Telephone = stuctcst.Telephone,
- Mobile = stuctcst.Mobile,
- ZIPCode = stuctcst.ZIPCode,
- WeChatNum = stuctcst.WeChatNum,
- QQ = stuctcst.QQ,
- HealthStateID = stupfcst.HealthStateID,
- BloodGroup = stupfcst.BloodGroup,
- Specialty = stupfcst.Specialty,
- Height = stupfcst.Height,
- Weight = stupfcst.Weight,
- DirectorName = stupfcst.DirectorName,
- Score = sturtcst.Score,
- EntranceWayID = sturtcst.EntranceWayID,
- FeaturesID = sturtcst.FeaturesID,
- TerritorialID = sturtcst.TerritorialID,
- Area = sturtcst.Area,
- HomeAddress = stuctcst.HomeAddress,
- WorkUnit = stuctcst.WorkUnit,
- Address = stuctcst.Address,
- Recipient = stuctcst.Recipient,
- Dormitory = stuctcst.Dormitory,
- BankName = stuaccst.BankName,
- CardNo = stuaccst.CardNo,
- RecruitPictureUrl = sturtcst.RecruitPictureUrl,
- StudentCardNo = stucst.StudentCardNo,
- PhotoUrl = stucst.PhotoUrl,
- PlanningGraduateDate = stucst.PlanningGraduateDate,
- GraduateDate = stucst.GraduateDate,
- GraduateCardNo = stucst.GraduateCardNo,
- ReplaceGraduateNo = stucst.ReplaceGraduateNo,
- DegreeStatus = stucst.DegreeStatus ?? false,
- GraduationPictureUrl = stucst.GraduationPictureUrl,
- Career = stucst.Career,
- IsPhotoComparison = stucst.IsPhotoComparison ?? false,
- IsProofread = stucst.IsProofread ?? false,
- Remark = stucst.Remark
- },
- RecordStatus = stuhis.RecordStatus,
- CreateUserID = stuhis.CreateUserID,
- CreateTime = stuhis.CreateTime,
- ModifyUserID = stuhis.ModifyUserID,
- ModifyTime = stuhis.ModifyTime
- };
- return query;
- }
- /// <summary>
- /// 查询对应的校对记录信息CheckingHistoryView
- /// </summary>
- /// <param name="expStudentRecordChangeHistory"></param>
- /// <param name="expStudentContrast"></param>
- /// <param name="expStudent"></param>
- /// <returns></returns>
- public IQueryable<CheckingHistoryView> GetCheckingHistoryViewQueryable(Expression<Func<CF_StudentRecordChangeHistory, bool>> expStudentRecordChangeHistory,
- Expression<Func<CF_StudentContrast, bool>> expStudentContrast, Expression<Func<CF_Student, bool>> expStudent)
- {
- var query = from stuhis in StudentRecordChangeHistoryRepository.GetList(expStudentRecordChangeHistory)
- join stucst in StudentContrastRepository.GetList(expStudentContrast)
- on stuhis.StudentContrastID equals stucst.StudentContrastID
- join stu in StudentRepository.GetList(expStudent)
- on stucst.UserID equals stu.UserID
- join stusou in StudentSourceRepository.Entities
- on stucst.StudentContrastID equals stusou.StudentContrastID
- join uscst in UserContrastRepository.Entities
- on stucst.StudentContrastID equals uscst.StudentContrastID
- join ussou in UserSourceRepository.Entities
- on stucst.StudentContrastID equals ussou.StudentContrastID
- join stupfcst in StudentProfileContrastRepository.Entities
- on stucst.StudentContrastID equals stupfcst.StudentContrastID
- join stupfsou in StudentProfileSourceRepository.Entities
- on stucst.StudentContrastID equals stupfsou.StudentContrastID
- join stuctcst in StudentContactContrastRepository.Entities
- on stucst.StudentContrastID equals stuctcst.StudentContrastID
- join stuctsou in StudentContactSourceRepository.Entities
- on stucst.StudentContrastID equals stuctsou.StudentContrastID
- join stuaccst in StudentAccountContrastRepository.Entities
- on stucst.StudentContrastID equals stuaccst.StudentContrastID
- join stuacsou in StudentAccountSourceRepository.Entities
- on stucst.StudentContrastID equals stuacsou.StudentContrastID
- join sturtcst in RecruitstudentsContrastRepository.Entities
- on stucst.StudentContrastID equals sturtcst.StudentContrastID
- join sturtsou in RecruitstudentsSourceRepository.Entities
- on stucst.StudentContrastID equals sturtsou.StudentContrastID
- join pf in StudentProfileRepository.Entities
- on stu.UserID equals pf.UserID into temppf
- from stupf in temppf.DefaultIfEmpty()
- join ct in StudentContactRepository.Entities
- on stu.UserID equals ct.UserID into tempct
- from stuct in tempct.DefaultIfEmpty()
- join ac in StudentAccountRepository.Entities
- on stu.UserID equals ac.UserID into tempac
- from stuac in tempac.DefaultIfEmpty()
- join rt in RecruitstudentsRepository.Entities
- on stu.UserID equals rt.UserID into temprt
- from sturt in temprt.DefaultIfEmpty()
- join cl in ClassmajorRepository.Entities
- on stu.ClassmajorID equals cl.ClassmajorID
- join gr in GrademajorRepository.Entities
- on cl.GrademajorID equals gr.GrademajorID
- join fa in FacultymajorRepository.Entities
- on gr.FacultymajorID equals fa.FacultymajorID
- join col in CollegeRepository.Entities
- on fa.CollegeID equals col.CollegeID
- join cam in CampusRepository.Entities
- on col.CampusID equals cam.CampusID
- join us in UserRepository.Entities
- on stu.UserID equals us.UserID
- join ecd in StudentEditColumnDescriptionRepository.Entities
- on new { stuhis.TableName, stuhis.ColumnName } equals new { ecd.TableName, ecd.ColumnName } into tempecd
- from stuecd in tempecd.DefaultIfEmpty()
- select new CheckingHistoryView
- {
- StudentRecordChangeHistoryID = stuhis.StudentRecordChangeHistoryID,
- StudentContrastID = stucst.StudentContrastID,
- TableName = stuhis.TableName,
- ColumnName = stuhis.ColumnName,
- DisplayPropertyName = stuecd.DisplayPropertyName,
- Description = stuecd.Description,
- CheckingTypeID = stuhis.CheckingTypeID,
- UserID = stu.UserID,
- StudentNo = us.LoginID,
- LoginID = us.LoginID,
- ExamineeNum = sturt.ExamineeNum,
- AdmissionTicketNo = sturt.AdmissionTicketNo,
- Name = us.Name,
- UserName = us.Name,
- UsedName = stupf.UsedName,
- ClassmajorID = stu.ClassmajorID,
- ClassmajorNo = cl.No,
- ClassmajorName = cl.Name,
- ClassNum = cl.ClassNum,
- StandardID = fa.StandardID,
- EducationID = fa.EducationID,
- LearningformID = fa.LearningformID,
- LearnSystem = fa.LearnSystem,
- FacultymajorID = gr.FacultymajorID,
- FacultymajorCode = fa.Code,
- FacultymajorName = fa.Name,
- GradeID = gr.GradeID,
- SemesterID = gr.SemesterID,
- GrademajorID = cl.GrademajorID,
- GrademajorCode = gr.Code,
- GrademajorName = gr.Name,
- CollegeID = fa.CollegeID,
- CollegeNo = col.No,
- CollegeName = col.Name,
- CampusID = col.CampusID,
- CampusCode = cam.No,
- CampusName = cam.Name,
- Country = stupf.Country,
- Place = stupf.Place,
- BornPlace = stupf.BornPlace,
- SexID = stu.SexID,
- BirthDate = stu.BirthDate,
- NationID = stu.NationID,
- PoliticsID = stu.PoliticsID,
- CertificatesType = stu.CertificatesType,
- IDNumber = stu.IDNumber,
- StudentType = stu.StudentType,
- InSchoolStatusID = stu.InSchoolStatusID,
- StudentStatus = stu.StudentStatus,
- ExamineeType = sturt.ExamineeType,
- EntranceDate = sturt.EntranceDate,
- LiteracyLevelID = stupf.LiteracyLevelID,
- CultureModelID = stupf.CultureModelID,
- IsDreamProject = stupf.IsDreamProject ?? false,
- Email = stuct.Email,
- Telephone = stuct.Telephone,
- Mobile = stuct.Mobile,
- ZIPCode = stuct.ZIPCode,
- WeChatNum = stuct.WeChatNum,
- QQ = stuct.QQ,
- HealthStateID = stupf.HealthStateID,
- BloodGroup = stupf.BloodGroup,
- Specialty = stupf.Specialty,
- Height = stupf.Height,
- Weight = stupf.Weight,
- DirectorName = stupf.DirectorName,
- Score = sturt.Score,
- EntranceWayID = sturt.EntranceWayID,
- FeaturesID = sturt.FeaturesID,
- TerritorialID = sturt.TerritorialID,
- Area = sturt.Area,
- HomeAddress = stuct.HomeAddress,
- WorkUnit = stuct.WorkUnit,
- Address = stuct.Address,
- Recipient = stuct.Recipient,
- Dormitory = stuct.Dormitory,
- BankName = stuac.BankName,
- CardNo = stuac.CardNo,
- StudentCardNo = stu.StudentCardNo,
- PhotoUrl = stu.PhotoUrl,
- PlanningGraduateDate = stu.PlanningGraduateDate,
- GraduateDate = stu.GraduateDate,
- GraduateCardNo = stu.GraduateCardNo,
- ReplaceGraduateNo = stu.ReplaceGraduateNo,
- DegreeStatus = stu.DegreeStatus ?? false,
- GraduationPictureUrl = stu.GraduationPictureUrl,
- Career = stu.Career,
- IsProofread = stu.IsProofread ?? false,
- Remark = stu.Remark,
- IP = stucst.IP,
- ApprovalStatus = stucst.ApprovalStatus,
- Comment = stucst.Comment,
- ApprovalTime = stucst.ModifyTime,
- StudentViewSource = new StudentView()
- {
- UserID = stucst.UserID,
- StudentNo = ussou.LoginID,
- LoginID = ussou.LoginID,
- ExamineeNum = sturtsou.ExamineeNum,
- AdmissionTicketNo = sturtsou.AdmissionTicketNo,
- Name = ussou.Name,
- UserName = ussou.Name,
- UsedName = stupfsou.UsedName,
- ClassmajorID = stu.ClassmajorID,
- ClassmajorNo = cl.No,
- ClassmajorName = cl.Name,
- ClassNum = cl.ClassNum,
- StandardID = fa.StandardID,
- EducationID = fa.EducationID,
- LearningformID = fa.LearningformID,
- LearnSystem = fa.LearnSystem,
- FacultymajorID = gr.FacultymajorID,
- FacultymajorCode = fa.Code,
- FacultymajorName = fa.Name,
- GradeID = gr.GradeID,
- SemesterID = gr.SemesterID,
- GrademajorID = cl.GrademajorID,
- GrademajorCode = gr.Code,
- GrademajorName = gr.Name,
- CollegeID = fa.CollegeID,
- CollegeNo = col.No,
- CollegeName = col.Name,
- CampusID = col.CampusID,
- CampusCode = cam.No,
- CampusName = cam.Name,
- Country = stupfsou.Country,
- Place = stupfsou.Place,
- BornPlace = stupfsou.BornPlace,
- SexID = stusou.SexID,
- BirthDate = stusou.BirthDate,
- NationID = stusou.NationID,
- PoliticsID = stusou.PoliticsID,
- CertificatesType = stusou.CertificatesType,
- IDNumber = stusou.IDNumber,
- StudentType = stusou.StudentType,
- InSchoolStatusID = stusou.InSchoolStatusID,
- StudentStatus = stusou.StudentStatus,
- ExamineeType = sturtsou.ExamineeType,
- EntranceDate = sturtsou.EntranceDate,
- LiteracyLevelID = stupfsou.LiteracyLevelID,
- CultureModelID = stupfsou.CultureModelID,
- IsDreamProject = stupfsou.IsDreamProject ?? false,
- Email = stuctsou.Email,
- Telephone = stuctsou.Telephone,
- Mobile = stuctsou.Mobile,
- ZIPCode = stuctsou.ZIPCode,
- WeChatNum = stuctsou.WeChatNum,
- QQ = stuctsou.QQ,
- HealthStateID = stupfsou.HealthStateID,
- BloodGroup = stupfsou.BloodGroup,
- Specialty = stupfsou.Specialty,
- Height = stupfsou.Height,
- Weight = stupfsou.Weight,
- DirectorName = stupfsou.DirectorName,
- Score = sturtsou.Score,
- EntranceWayID = sturtsou.EntranceWayID,
- FeaturesID = sturtsou.FeaturesID,
- TerritorialID = sturtsou.TerritorialID,
- Area = sturtsou.Area,
- HomeAddress = stuctsou.HomeAddress,
- WorkUnit = stuctsou.WorkUnit,
- Address = stuctsou.Address,
- Recipient = stuctsou.Recipient,
- Dormitory = stuctsou.Dormitory,
- BankName = stuacsou.BankName,
- CardNo = stuacsou.CardNo,
- RecruitPictureUrl = sturtsou.RecruitPictureUrl,
- StudentCardNo = stusou.StudentCardNo,
- PhotoUrl = stusou.PhotoUrl,
- PlanningGraduateDate = stusou.PlanningGraduateDate,
- GraduateDate = stusou.GraduateDate,
- GraduateCardNo = stusou.GraduateCardNo,
- ReplaceGraduateNo = stusou.ReplaceGraduateNo,
- DegreeStatus = stusou.DegreeStatus ?? false,
- GraduationPictureUrl = stusou.GraduationPictureUrl,
- Career = stusou.Career,
- IsPhotoComparison = stusou.IsPhotoComparison ?? false,
- IsProofread = stusou.IsProofread ?? false,
- Remark = stusou.Remark
- },
- StudentViewContrast = new StudentView()
- {
- UserID = stucst.UserID,
- StudentNo = uscst.LoginID,
- LoginID = uscst.LoginID,
- ExamineeNum = sturtcst.ExamineeNum,
- AdmissionTicketNo = sturtcst.AdmissionTicketNo,
- Name = uscst.Name,
- UserName = uscst.Name,
- UsedName = stupfcst.UsedName,
- ClassmajorID = stu.ClassmajorID,
- ClassmajorNo = cl.No,
- ClassmajorName = cl.Name,
- ClassNum = cl.ClassNum,
- StandardID = fa.StandardID,
- EducationID = fa.EducationID,
- LearningformID = fa.LearningformID,
- LearnSystem = fa.LearnSystem,
- FacultymajorID = gr.FacultymajorID,
- FacultymajorCode = fa.Code,
- FacultymajorName = fa.Name,
- GradeID = gr.GradeID,
- SemesterID = gr.SemesterID,
- GrademajorID = cl.GrademajorID,
- GrademajorCode = gr.Code,
- GrademajorName = gr.Name,
- CollegeID = fa.CollegeID,
- CollegeNo = col.No,
- CollegeName = col.Name,
- CampusID = col.CampusID,
- CampusCode = cam.No,
- CampusName = cam.Name,
- Country = stupfcst.Country,
- Place = stupfcst.Place,
- BornPlace = stupfcst.BornPlace,
- SexID = stucst.SexID,
- BirthDate = stucst.BirthDate,
- NationID = stucst.NationID,
- PoliticsID = stucst.PoliticsID,
- CertificatesType = stucst.CertificatesType,
- IDNumber = stucst.IDNumber,
- StudentType = stucst.StudentType,
- InSchoolStatusID = stucst.InSchoolStatusID,
- StudentStatus = stucst.StudentStatus,
- ExamineeType = sturtcst.ExamineeType,
- EntranceDate = sturtcst.EntranceDate,
- LiteracyLevelID = stupfcst.LiteracyLevelID,
- CultureModelID = stupfcst.CultureModelID,
- IsDreamProject = stupfcst.IsDreamProject ?? false,
- Email = stuctcst.Email,
- Telephone = stuctcst.Telephone,
- Mobile = stuctcst.Mobile,
- ZIPCode = stuctcst.ZIPCode,
- WeChatNum = stuctcst.WeChatNum,
- QQ = stuctcst.QQ,
- HealthStateID = stupfcst.HealthStateID,
- BloodGroup = stupfcst.BloodGroup,
- Specialty = stupfcst.Specialty,
- Height = stupfcst.Height,
- Weight = stupfcst.Weight,
- DirectorName = stupfcst.DirectorName,
- Score = sturtcst.Score,
- EntranceWayID = sturtcst.EntranceWayID,
- FeaturesID = sturtcst.FeaturesID,
- TerritorialID = sturtcst.TerritorialID,
- Area = sturtcst.Area,
- HomeAddress = stuctcst.HomeAddress,
- WorkUnit = stuctcst.WorkUnit,
- Address = stuctcst.Address,
- Recipient = stuctcst.Recipient,
- Dormitory = stuctcst.Dormitory,
- BankName = stuaccst.BankName,
- CardNo = stuaccst.CardNo,
- RecruitPictureUrl = sturtcst.RecruitPictureUrl,
- StudentCardNo = stucst.StudentCardNo,
- PhotoUrl = stucst.PhotoUrl,
- PlanningGraduateDate = stucst.PlanningGraduateDate,
- GraduateDate = stucst.GraduateDate,
- GraduateCardNo = stucst.GraduateCardNo,
- ReplaceGraduateNo = stucst.ReplaceGraduateNo,
- DegreeStatus = stucst.DegreeStatus ?? false,
- GraduationPictureUrl = stucst.GraduationPictureUrl,
- Career = stucst.Career,
- IsPhotoComparison = stucst.IsPhotoComparison ?? false,
- IsProofread = stucst.IsProofread ?? false,
- Remark = stucst.Remark
- },
- RecordStatus = stuhis.RecordStatus,
- CreateUserID = stuhis.CreateUserID,
- CreateTime = stuhis.CreateTime,
- ModifyUserID = stuhis.ModifyUserID,
- ModifyTime = stuhis.ModifyTime
- };
- return query;
- }
- }
- }
|