SHSchool.Data.SHUpdateRecordRecord IUpdateRecordInfo.GetStudUpdateRecord() { // 檢查畫面 if (string.IsNullOrEmpty(cbxUpdateCode.Text)) { _epUpdateCode.SetError(cbxUpdateCode, "請輸入異動代碼."); } if (_epUpdateCode.GetError(cbxUpdateCode).Length > 0) { return(null); } // 畫面資料 _UpdateRec.UpdateCode = _faldn.GetFormData(cbxUpdateCode, "異動代碼"); _UpdateRec.UpdateDescription = _faldn.GetFormData(txtDesc, "原因及事項"); _UpdateRec.UpdateDate = _faldn.GetFormData(dtUpdateDate, "異動日期"); _UpdateRec.Comment = _faldn.GetFormData(txtMemo, "備註"); _UpdateRec.Department = _faldn.GetFormData(cbxDept, "科別"); _UpdateRec.ClassType = _faldn.GetFormData(cbxClass, "班別"); _UpdateRec.StudentName = _faldn.GetFormData(txtName, "姓名"); _UpdateRec.StudentNumber = _faldn.GetFormData(txtStudentNumber, "學號"); _UpdateRec.IDNumber = _faldn.GetFormData(txtIDNumber, "身分證字號"); _UpdateRec.Birthdate = _faldn.GetFormData(dtBirthday, "生日"); _UpdateRec.IDNumberComment = _faldn.GetFormData(txtIDNumber1, "註1"); _UpdateRec.Gender = _faldn.GetFormData(cbxGender, "性別"); _UpdateRec.LastADDate = _faldn.GetFormData(dtLastUpdateDate, "備查日期"); _UpdateRec.LastADNumber = _faldn.GetFormData(txtLastDocNo, "備查文號"); _UpdateRec.LastUpdateCode = _faldn.GetFormData(txtLastUpdateCode, "最後異動代號"); _UpdateRec.GraduateCertificateNumber = _faldn.GetFormData(txtGradeDocNo, "畢業證書字號"); _UpdateRec.ADDate = _faldn.GetFormData(dtADDate, "核准日期"); _UpdateRec.ADNumber = _faldn.GetFormData(txtADDocNo, "核准文號"); _UpdateRec.SpecialStatus = _faldn.GetFormData(txtSpecial, "特殊身分代碼"); _UpdateRec.ExpectGraduateSchoolYear = _faldn.GetFormData(txtSHSchoolYear, "應畢業學年度"); _prlp = _faldn.GetLogData(); return(_UpdateRec); }
SHUpdateRecordRecord IUpdateRecordInfo.GetStudUpdateRecord() { // 檢查畫面 if (string.IsNullOrEmpty(cbxUpdateCode.Text)) { _epUpdateCode.SetError(cbxUpdateCode, "請輸入異動代碼."); } if (_epUpdateCode.GetError(cbxUpdateCode).Length > 0) { return(null); } // 畫面資料 _UpdateRec.UpdateCode = _faldn.GetFormData(cbxUpdateCode, "資格代碼"); _UpdateRec.UpdateDescription = _faldn.GetFormData(txtDesc, "原因及事項"); _UpdateRec.UpdateDate = _faldn.GetFormData(dtUpdateDate, "異動日期"); _UpdateRec.Comment = _faldn.GetFormData(txtMemo, "備註"); _UpdateRec.Department = _faldn.GetFormData(cbxDept, "科別"); _UpdateRec.ClassType = _faldn.GetFormData(cbxClass, "班別"); _UpdateRec.SpecialStatus = _faldn.GetFormData(txtSpecial, "特殊身分代碼"); _UpdateRec.StudentName = _faldn.GetFormData(txtName, "姓名"); _UpdateRec.StudentNumber = _faldn.GetFormData(txtStudentNumber, "學號"); _UpdateRec.IDNumber = _faldn.GetFormData(txtIDNumber, "身分證字號"); _UpdateRec.Birthdate = _faldn.GetFormData(dtBirthday, "生日"); _UpdateRec.IDNumberComment = _faldn.GetFormData(txtIDNumber1, "註1"); _UpdateRec.Gender = _faldn.GetFormData(cbxGender, "性別"); _UpdateRec.GraduateSchool = _faldn.GetFormData(txtISchool, "入學資格(畢業國中)"); _UpdateRec.GraduateSchoolLocationCode = _faldn.GetFormData(txtISpaceCode, "所在地代碼"); _UpdateRec.GraduateSchoolYear = _faldn.GetFormData(txtIJHGradeYear, "國中畢業年度"); _UpdateRec.ADDate = _faldn.GetFormData(dtADDate, "核准日期"); _UpdateRec.ADNumber = _faldn.GetFormData(txtADDocNo, "核准文號"); _UpdateRec.GraduateDocument = _faldn.GetFormData(txtGradeDoc, "入學資格證明文件"); _UpdateRec.GraduateSchoolCode = _faldn.GetFormData(txtISchoolCode, "畢業國中學校代號"); _prlp = _faldn.GetLogData(); return(_UpdateRec); }
/// <summary> /// 異動資料 /// </summary> /// <returns></returns> SHSchool.Data.SHUpdateRecordRecord IUpdateRecordInfo.GetStudUpdateRecord() { // 檢查畫面 if (string.IsNullOrEmpty(cbxUpdateCode.Text)) { _epUpdateCode.SetError(cbxUpdateCode, "請輸入異動代碼."); } if (_epUpdateCode.GetError(cbxUpdateCode).Length > 0) { return(null); } // 載入資料 _UpdateRec.UpdateCode = _faldn.GetFormData(cbxUpdateCode, "異動代碼"); _UpdateRec.UpdateDescription = _faldn.GetFormData(txtDesc, "原因及事項"); _UpdateRec.UpdateDate = _faldn.GetFormData(dtUpdateDate, "異動日期"); _UpdateRec.Comment = _faldn.GetFormData(txtMemo, "備註"); _UpdateRec.Department = _faldn.GetFormData(cbxDept, "科別"); _UpdateRec.ClassType = _faldn.GetFormData(cbxClass, "班別"); _UpdateRec.SpecialStatus = _faldn.GetFormData(txtSpecial, "特殊身分代碼"); _UpdateRec.StudentName = _faldn.GetFormData(txtName, "姓名"); _UpdateRec.StudentNumber = _faldn.GetFormData(txtStudentNumber, "學號"); _UpdateRec.IDNumber = _faldn.GetFormData(txtIDNumber, "身分證字號"); _UpdateRec.Birthdate = _faldn.GetFormData(dtBirthday, "生日"); _UpdateRec.IDNumberComment = _faldn.GetFormData(txtIDNumber1, "註1"); _UpdateRec.Gender = _faldn.GetFormData(cbxGender, "性別"); _UpdateRec.PreviousSchool = _faldn.GetFormData(txtSSchool, "原就讀學校"); _UpdateRec.PreviousStudentNumber = _faldn.GetFormData(txtSStudentNumber, "原就讀學號"); _UpdateRec.PreviousDepartment = _faldn.GetFormData(txtSDept, "原就讀科別"); _UpdateRec.PreviousGradeYear = _faldn.GetFormData(txtSGradYear, "原就讀年級"); _UpdateRec.PreviousSchoolLastADDate = _faldn.GetFormData(dtSLastUpdateDate, "原就讀備查日期"); _UpdateRec.PreviousSchoolLastADNumber = _faldn.GetFormData(txtSLastDocNo, "原就讀備查文號"); _UpdateRec.PreviousSemester = _faldn.GetFormData(txtSSemester, "原就讀學期"); _UpdateRec.ADDate = _faldn.GetFormData(dtADDate, "核准日期"); _UpdateRec.ADNumber = _faldn.GetFormData(txtADDocNo, "核准文號"); _prlp = _faldn.GetLogData(); return(_UpdateRec); }
/// <summary> /// 取得異動資料 /// </summary> /// <returns></returns> SHUpdateRecordRecord IUpdateRecordInfo.GetStudUpdateRecord() { // 檢查畫面 if (string.IsNullOrEmpty(cbxUpdateCode.Text)) { _epUpdateCode.SetError(cbxUpdateCode, "請輸入異動代碼."); } if (_epUpdateCode.GetError(cbxUpdateCode).Length > 0) { return(null); } // 取得畫面資料 _UpdateRec.UpdateCode = _faldn.GetFormData(cbxUpdateCode, "異動代碼"); _UpdateRec.UpdateDescription = _faldn.GetFormData(txtDesc, "原因及事項"); _UpdateRec.UpdateDate = _faldn.GetFormData(dtUpdateDate, "異動日期"); _UpdateRec.Comment = _faldn.GetFormData(txtMemo, "備註"); _UpdateRec.Department = _faldn.GetFormData(cbxDept, "科別"); _UpdateRec.ClassType = _faldn.GetFormData(cbxClass, "班別"); _UpdateRec.SpecialStatus = _faldn.GetFormData(txtSpecial, "特殊身分代碼"); _UpdateRec.StudentName = _faldn.GetFormData(txtName, "姓名"); _UpdateRec.StudentNumber = _faldn.GetFormData(txtStudentNumber, "學號"); _UpdateRec.IDNumber = _faldn.GetFormData(txtIDNumber, "身分證字號"); _UpdateRec.NewData = _faldn.GetFormData(txtNewData, "新資料"); _UpdateRec.IDNumberComment = _faldn.GetFormData(txtIDNumber1, "註1"); _UpdateRec.Comment2 = _faldn.GetFormData(txtIDNumber2, "註2"); _UpdateRec.LastADDate = _faldn.GetFormData(dtLastUpdateDate, "備查日期"); _UpdateRec.LastADNumber = _faldn.GetFormData(txtLastDocNo, "備查文號"); _UpdateRec.ADDate = _faldn.GetFormData(dtADDate, "核准日期"); _UpdateRec.ADNumber = _faldn.GetFormData(txtADDocNo, "核准文號"); _UpdateRec.Birthdate = _faldn.GetFormData(dtBirthday, "生日"); _UpdateRec.Gender = _faldn.GetFormData(cbxGender, "性別"); _UpdateRec.ExpectGraduateSchoolYear = _faldn.GetFormData(txtSHSchoolYear, "應畢業學年度"); _UpdateRec.Code7SchoolCode = _faldn.GetFormData(txtC7SchoolCode, "借讀學校代碼"); _UpdateRec.Code7DeptCode = _faldn.GetFormData(txtC7DeptCode, "借讀科別代碼"); _UpdateRec.Code71BeginDate = _faldn.GetFormData(dtC71BeginDate, "申請開始日期"); _UpdateRec.Code71EndDate = _faldn.GetFormData(dtC71EndDate, "申請結束日期"); _UpdateRec.Code72BeginDate = _faldn.GetFormData(dtC72BeginDate, "實際開始日期"); _UpdateRec.Code72EndDate = _faldn.GetFormData(dtC72EndDate, "實際結束日期"); _UpdateRec.ReplicatedSchoolRollNumber = _faldn.GetFormData(txtReplicatedSchoolRollNumber, "雙重學籍編號"); // 取得 Log _prlp = _faldn.GetLogData(); return(_UpdateRec); }