private void GetPageValue(Qz_job_apply_head model) { model.DORMITORY = Post("DORMITORY"); if (model.TELEPHONE.Length == 0) { model.TELEPHONE = Post("TELEPHONE"); } if (model.BANK_ACCOUNT.Length == 0) { model.BANK_ACCOUNT = Post("BANK_ACCOUNT"); } if (model.BANK_CARD_NO.Length == 0) { model.BANK_CARD_NO = Post("BANK_CARD_NO"); } model.ENGLISH_LEVEL = Post("ENGLISH_LEVEL"); model.COMPUTER_LEVEL = Post("COMPUTER_LEVEL"); model.IS_FAIL = Post("IS_FAIL"); model.FAIL_NUM = comTran.ToDecimal(Post("FAIL_NUM")); model.FAMILY_TYPE = Post("FAMILY_TYPE"); model.SPECIALITY = Post("SPECIALITY"); model.WORK_EXPERIENCE = Post("WORK_EXPERIENCE"); model.APPLY_REASON = Post("APPLY_REASON"); model.MONDAY = Post("DAY1"); model.TUESDAY = Post("DAY2"); model.WEDNESDAY = Post("DAY3"); model.THURSDAY = Post("DAY4"); model.FRIDAY = Post("DAY5"); model.SATURDAY = Post("DAY6"); model.OP_TIME = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); model.OP_CODE = user.User_Id; model.OP_NAME = user.User_Name; model.DECL_TIME = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); }
private void GetStutentInfo(Qz_job_apply_head model) { DataTable dt = ds.ExecuteTxtDataTable(string.Format("SELECT A.*, B.BANKCODE, B.BANKNAME FROM BASIC_STU_INFO A LEFT JOIN BASIC_STU_BANK_INFO B ON A.NUMBER = B.NUMBER WHERE A.NUMBER = '{0}'", user.User_Id)); if (dt != null && dt.Rows.Count > 0) { model.STU_NUMBER = dt.Rows[0]["NUMBER"].ToString(); model.STU_NAME = dt.Rows[0]["NAME"].ToString(); model.SEX = dt.Rows[0]["SEX"].ToString(); model.NATION = dt.Rows[0]["NATION"].ToString(); model.POLISTATUS = dt.Rows[0]["POLISTATUS"].ToString(); model.GRADE = dt.Rows[0]["EDULENTH"].ToString(); model.COLLEGE = dt.Rows[0]["COLLEGE"].ToString(); model.MAJOR = dt.Rows[0]["MAJOR"].ToString(); model.CLASS_CODE = dt.Rows[0]["CLASS"].ToString(); model.IDCARDNO = dt.Rows[0]["IDCARDNO"].ToString(); model.TELEPHONE = dt.Rows[0]["MOBILENUM"].ToString(); model.BANK_ACCOUNT = dt.Rows[0]["BANKNAME"].ToString(); model.BANK_CARD_NO = dt.Rows[0]["BANKCODE"].ToString(); } }