コード例 #1
0
 public static EditPracticeReport_M ToViewModel(T_StuBatchReg AllComment)
 {
     return(new EditPracticeReport_M()
     {
         _AllComment = AllComment
     });
 }
コード例 #2
0
ファイル: PracticeReport_M.cs プロジェクト: YUJIAYI/Scsxxt
 public static PracticeReport_M ToViewModel(T_StuBatchReg AllComment,string uid)
 {
     return new PracticeReport_M()
     {
         AllComment= AllComment,
         uid= uid
     };
 }
コード例 #3
0
 public static PracticeReportDetail_M ToViewModel(int careerstatus, T_StuBatchReg AllComment, string uid)
 {
     return(new PracticeReportDetail_M()
     {
         AllComment = AllComment,
         uid = uid,
         _careerstatus = careerstatus
     });
 }
コード例 #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
     });
 }
コード例 #5
0
ファイル: PracticeOverView_M.cs プロジェクト: YUJIAYI/Scsxxt
 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
     });
 }
コード例 #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
         });
     }
 }
コード例 #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
     });
 }
コード例 #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
         };
     }
 }
コード例 #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
     });
 }