Esempio n. 1
0
 public static EditPracticeReport_M ToViewModel(T_StuBatchReg AllComment)
 {
     return(new EditPracticeReport_M()
     {
         _AllComment = AllComment
     });
 }
Esempio n. 2
0
 public static PracticeReport_M ToViewModel(T_StuBatchReg AllComment,string uid)
 {
     return new PracticeReport_M()
     {
         AllComment= AllComment,
         uid= uid
     };
 }
Esempio n. 3
0
 public static PracticeReportDetail_M ToViewModel(int careerstatus, T_StuBatchReg AllComment, string uid)
 {
     return(new PracticeReportDetail_M()
     {
         AllComment = AllComment,
         uid = uid,
         _careerstatus = careerstatus
     });
 }
Esempio n. 4
0
 public static Main_M ToViewModel(int careerstatus, string uid, T_StuBatchReg AllComment, int count, int EntCount, int EvaluateSchoolCount, int EvaluateEntCount, int DiaryCount, int CaseCount)
 {
     return(new Main_M()
     {
         Uid = uid,
         _careerstatus = careerstatus,
         _AllComment = AllComment,
         _EntCount = EntCount,
         _Count = count,
         _EvaluateSchoolCount = EvaluateSchoolCount,
         _EvaluateEntCount = EvaluateEntCount,
         _DiaryCount = DiaryCount,
         _CaseCount = CaseCount
     });
 }
Esempio n. 5
0
 public static PracticeOverView_M ToViewModel(
     string uid,
     List <SelectListItem> YetSubmit,
     int EntCount,
     int FinalVolunteerCount,
     int PrepareVolunteerCount,
     int FormalVolunteerCount,
     Volunteer FormalVolunteer,
     int CareerStatus,
     int DiaryCount,
     int PracticeCaseCount,
     T_StuBatchReg AllComment,
     int EvaluateEntCount,
     List <StuEvaluateEnt> EvaluateEnt,
     List <StuEvaluateSchool> EvaluateSchool,
     List <JobWanted> StuFindEnt,
     List <JobWanted> EntFindStu
     )
 {
     return(new PracticeOverView_M()
     {
         uid = uid,
         YetSubmit = YetSubmit,
         EntCount = EntCount,
         NoSubmit = EntCount - YetSubmit.Count,
         FormalVolunteer = FormalVolunteer,
         CareerStatus = CareerStatus,
         DiaryCount = DiaryCount,
         PrepareVolunteerCount = PrepareVolunteerCount,
         FormalVolunteerCount = FormalVolunteerCount,
         PracticeCaseCount = PracticeCaseCount,
         AllComment = AllComment,
         EvaluateEntCount = EvaluateEntCount,
         EvaluateEnt = EvaluateEnt,
         EvaluateSchool = EvaluateSchool,
         FinalVolunteerCount = FinalVolunteerCount,
         StuFindEnt = StuFindEnt,
         EntFindStu = EntFindStu
     });
 }
Esempio n. 6
0
 public static PositionEvlTable_M ToViewModel(List <EntEvaluateStu> EntEvaStu, UserInfo StuAllInfo, Volunteer volunteer, T_StuBatchReg AllComment)
 {
     if (volunteer == null)
     {
         return(new PositionEvlTable_M()
         {
             EntEvaStu = EntEvaStu,
             StuName = StuAllInfo.Name,
             EntName = "暂无企业录用",
             PositionName = "暂无企业录用",
             AllComment = AllComment,
             StuAllInfo = StuAllInfo,
             PracticeDept = "暂无企业录用",
             PracticeDivDept = "暂无企业录用",
         });
     }
     else
     {
         return(new PositionEvlTable_M()
         {
             EntEvaStu = EntEvaStu,
             StuName = StuAllInfo.Name,
             EntName = volunteer.EntName,
             PositionName = volunteer.PositionName,
             AllComment = AllComment,
             StuAllInfo = StuAllInfo,
             PracticeDept = volunteer.PracticeDept,
             PracticeDivDept = volunteer.PracticeDivDept
         });
     }
 }
Esempio n. 7
0
 public static IdentificationTable_M ToViewModel(string uid, Volunteer volunteer, UserInfo StuAllInfo, T_StuBatchReg AllComment)
 {
     return(new IdentificationTable_M()
     {
         uid = uid,
         EntName = volunteer.EntName,
         PositionName = volunteer.PositionName,
         StuAllInfo = StuAllInfo,
         AllComment = AllComment,
         StuName = StuAllInfo.Name,
         StuSex = StuAllInfo.Sex,
         EnteyYear = StuAllInfo.EntryYear,
         SpeName = StuAllInfo.SpeName,
         ClassName = StuAllInfo.ClassName,
         StuNo = StuAllInfo.StuNO
     });
 }
Esempio n. 8
0
 public static IdentificationTable_M ToViewModel(string schoolname, Volunteer volunteer, UserInfo StuAllInfo, T_StuBatchReg AllComment)
 {
     if (volunteer == null)
     {
         return new IdentificationTable_M()
         {
             _schoolname = schoolname,
             _EntName = "暂无企业录用",
             _PositionName = "暂无企业录用",
             StuAllInfo = StuAllInfo,
             AllComment = AllComment,
             _StuName = StuAllInfo.Name,
             _StuClass = StuAllInfo.ClassName,
             _EnterYear = StuAllInfo.EntryYear,
             _StuSex = StuAllInfo.Sex,
             _SpeName = StuAllInfo.SpeName,
             _ClassName = StuAllInfo.ClassName,
             _StuNo = StuAllInfo.StuNO
         };
     }
     else
     {
         return new IdentificationTable_M()
         {
             _schoolname = schoolname,
             _EntName = volunteer.EntName,
             _PositionName = volunteer.PositionName,
             StuAllInfo = StuAllInfo,
             AllComment = AllComment,
             _StuName = StuAllInfo.Name,
             _StuClass = StuAllInfo.ClassName,
             _EnterYear = StuAllInfo.EntryYear,
             _StuSex = StuAllInfo.Sex,
             _SpeName = StuAllInfo.SpeName,
             _ClassName = StuAllInfo.ClassName,
             _StuNo = StuAllInfo.StuNO
         };
     }
 }
Esempio n. 9
0
 public static PositionEvlTable_M ToViewModel(List <EntEvaluateStu> EntEvaStu, UserInfo StuAllInfo, Volunteer volunteer, T_StuBatchReg AllComment, string uid)
 {
     return(new PositionEvlTable_M()
     {
         EntEvaStu = EntEvaStu,
         StuName = StuAllInfo.Name,
         EntName = volunteer.EntName,
         PositionName = volunteer.PositionName,
         AllComment = AllComment,
         uid = uid,
         PracticeDept = volunteer.PracticeDept,
         PracticeDivDept = volunteer.PracticeDivDept
     });
 }