freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

物流管理系統(tǒng)倉儲管理數(shù)據(jù)庫設(shè)計畢業(yè)論文-資料下載頁

2025-06-22 21:40本頁面
  

【正文】 property=loginid style=width: 150px //td/trtrtd width=60 align=right height=35密 碼:/tdtdhtml:password property=loginpwd style=width:150px //td/trtrtd width=60 align=right height=35類 型:/tdtdhtml:select property=loginpower style=width:150c:forEach items=${lstgrade} var=gradehtml:option value=${}${}/html:option/c:forEach/html:select/td/trtrtd colspan=2 align=center html:submit value=登 錄/html:submit/td/tr西南科技大學(xué)自考畢業(yè)論文/table/html:formAction 從 ActionForm 中讀取到數(shù)據(jù),然后到數(shù)據(jù)庫中查詢是否有該登錄 ID 的記錄,如果找到就比較密碼是否正確,登錄類型是否正確,是否已通過管理員的審核。實現(xiàn)代碼如下:public ActionForward workerlogin(ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException {WorkerloginForm wform = (WorkerloginForm) form。// TODO Autogenerated// method stubString id = ()。Employeelogintb tb = (id)。boolean isok = true。if (tb != null) {if (!().equals(())) {// 登錄密碼是否正確isok = false。} else if (!().getGradeid().equals(())) {// 用戶類型是否正確isok = false。} else if (!().equals(1)) {//是否通過管理員審核isok = false。}} else {// 登錄ID 不存在isok = false。}String gotopage = 。if (isok) {gotopage = 。HttpSession session=()。(loginID, ())。(power, ().getGradeid())。(powername, ().getDescribe())。} else {gotopage = /loginpags/。(rs,西南科技大學(xué)自考畢業(yè)論文登錄操失敗原因可能為:,2. 密碼有誤, 未通過管理員審核!)。(lstgrade, ())。}(gotopage).forward(request, response)。return null。}成功登錄管理系統(tǒng)后,進(jìn)入系統(tǒng)管理頁面,如超級管理員的管理界面如圖 :圖 物流管理系統(tǒng)頁面 員工信息管理功能模塊的實現(xiàn)(1)增加員工信息的過程進(jìn)入注冊新員工信息頁面,如圖:西南科技大學(xué)自考畢業(yè)論文圖 注冊新員工信息頁面填寫好必填的數(shù)據(jù)后,系統(tǒng)就將頁面請求提交給相應(yīng)的 Action。Action 從 ActionForm中讀取到數(shù)據(jù),根據(jù)入職年份自動生成員工編號,然后將新員工信息注冊到數(shù)據(jù)庫,實現(xiàn)代碼如下:public ActionForward addEmployeeInfo(ActionMapping mapping,ActionForm form, HttpServletRequest request,HttpServletResponse response) throws ParseException, ServletException, IOException {EmployeeinfoForm eform = (EmployeeinfoForm) form。// TODO// Autogenerated// method stubString entryYear = ().substring(0, 4)。Employeeinfotb einfotblast = (employeeid, 39。% + entryYear + %39。)。int id = 0。if (einfotblast != null) {id = (()) + 1。} else {id = (entryYear + 0001)。}String employeeid = (id)。// 從頁面獲得值并放入到表對象中// SimpleDateFormat format = new SimpleDateFormat(yyyyMMdd)。// 設(shè)定日期格式Employeeinfotb einfotb = new Employeeinfotb()。西南科技大學(xué)自考畢業(yè)論文(employeeid)。(())。(())。(())。(())。(())。(())。(())。((Diplomasid()))。(())。((eform.getDepartmentid()))。((id()))。String rs=注冊新職員信息失??! 。try{(einfotb)。// 向表中添加新記錄// 以下代碼自動生成職員登錄信息Employeelogintb logintb = new Employeelogintb()。(())。(().substring(().length() 6))。((4))。(einfotb)。(0)。(logintb)。// 生成職員登錄信息完畢rs=注冊新職員信息成功!。}catch(Exception e){()。}(resultStr, rs)。(worker/).forward(request, response)。return null。} (2)查看所有員工信息在管理系統(tǒng)頁面單擊“員工信息管理”——“管理員工信息”后頁面顯示如下圖:西南科技大學(xué)自考畢業(yè)論文圖 顯示所有員工信息頁面實現(xiàn)步驟如下:① 單擊“管理員工信息”時向 Action 發(fā)出請求,實現(xiàn)代碼:?method=tolistAllEmply② 相應(yīng)的 Action 方法作相關(guān)處理后顯示到頁面上。實現(xiàn)代碼:public ActionForward tolistAllEmply(ActionMapping mapping,ActionForm form, HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {EmployeeinfoForm eform = (EmployeeinfoForm) form。// TODO(allemplyinfo, ())。(worker/).forward(request, response)。return null。} (3)查看員工詳細(xì)信息選擇所要查看的員工,然后單擊其后的“查看詳細(xì)”后頁面顯示如下圖:圖 顯示員工詳細(xì)信息頁面西南科技大學(xué)自考畢業(yè)論文(4)修改員工信息選擇所要修改的員工,然后單擊其后的“修改”頁面會向 Action 發(fā)出請求,代碼實現(xiàn):?method=toUpdateEmployeeamp。emplyid=${}Action 中的相應(yīng)方法根據(jù)員工編號在數(shù)據(jù)庫中霧里查找到相關(guān)記錄,返回數(shù)據(jù)記錄并將數(shù)據(jù)注入到 ActionForm 中然后跳轉(zhuǎn)到修改頁面,實現(xiàn)代碼如下:public ActionForward toUpdateEmployee(ActionMapping mapping,ActionForm form, HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {EmployeeinfoForm eform = (EmployeeinfoForm) form。// TODO// Autogenerated// method stub// 根據(jù)職員編號獲得職員信息// 并注入到ActionForm中String employeeid = (emplyid)。Employeeinfotb emplytb = (employeeid)。if (emplytb != null) {(())。(())。(())。((()))。(())。(())。(())。(().getDiplomasid())。((()))。(().getDepartmentid())。(().getPostid())。(())。}(lstDepartment, ())。// 獲得有哪些部門并設(shè)置到session中(lstpost, ())。// 獲得有哪些職務(wù)并設(shè)置到 session中(worker/).forward(request, response)。西南科技大學(xué)自考畢業(yè)論文return null。}頁面顯示結(jié)果如下:圖 修改員工信息頁面修改需要修改的數(shù)據(jù)后,單擊“提交”頁面將新的數(shù)據(jù)提交給Action,Action 作處理后提交給服務(wù)層,然后對數(shù)據(jù)庫數(shù)據(jù)進(jìn)行修改。public ActionForward updateEmployeeInfo(ActionMapping mapping,ActionForm form, HttpServletRequest request,HttpServletResponse response) throws ParseException, ServletException, IOException {EmployeeinfoForm eform = (EmployeeinfoForm) form。// TODO// Autogenerated// method stub// 從頁面獲得值并放入到表對象中Employeeinfotb einfotb = (eform.getEmployeeid())。// (employeeid)。(())。(())。(())。(())。(())。(())。西南科技大學(xué)自考畢業(yè)論文(())。((Diplomasid()))。(())。((eform.getDepartmentid()))。((id()))。String rs=修改失?。?。try{(einfotb)。// 修改表中的記錄信息rs=修改成功!。}catch(Exception e){()。}(resultStr, rs)。(allemplyinfo, ())。(worker/).forward(request, response)。return null。}(5)刪除員工信息 選擇所要刪除的員工,然后單擊其后的“刪除”頁面會向 Action 發(fā)出請求,代碼實現(xiàn):?method=deleteEmployeeInfoamp。emplyid=${}Action 中的 deleteEmployeeInfo()方法先找到所提供的員工編號相符的記錄刪除,然后返回顯示所有員工信息頁面:public ActionForward deleteEmployeeInfo(ActionMapping mapping,ActionForm form, HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {EmployeeinfoForm eform = (EmployeeinfoForm) form。// TODO// Autogenerated// method stubString employeeid = (emplyid)。Employeeinfotb emplytb = (employeeid)。Employeelogintb elogintb = (employeeid)。西南科技大學(xué)自考畢業(yè)論文String rs=刪除失?。?。if (emplytb != null) {(emplytb)。rs=刪除成功!。}(resultStr, rs)。(allemplyinfo, ())。(worker/).forward(request, response)。return null。}西南科技大學(xué)自考畢業(yè)
點擊復(fù)制文檔內(nèi)容
教學(xué)教案相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1