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

正文內(nèi)容

工資管理系統(tǒng)畢業(yè)設(shè)計(jì)論文(參考版)

2025-06-27 03:27本頁面
  

【正文】 $(resourceSn+_D).checked = dState =。 $(resourceSn+_R).checked = rState == 0 ? false : true。 var extState = data[i][5]。 var uState = data[i][3]。 var cState = data[i][1]。 i。 /c:if } } function initACL() { /*alert(${ } + + ${ })。User39。 $(+_D).checked = false。 $(+_R).checked = false。 /c:if } else { (${ }, ${ }, )。User39。 saveOrUpdatePermission($(+_D))。 saveOrUpdatePermission($(+_R))。 } function usePermission(field){ (false)。 } /c:if } (${ }, ${ }, , , )。User39。 } } /script 4) :script type=text/javascript //修改或保存函數(shù) function saveOrUpdatePermission(field){ if(){ if(!$(+_USE).checked){ $(+_USE).checked = true。 } return false。status:no。resizable:no。 if(confirm(c)){ return (url,window123,dialogHeight:150px。 } (roleForm).submit()。 if( == 0) { alert(角色名稱不能為空)。AclAction通過調(diào)用AclService、UserService、 RoleService、ModuleService接口中的方法用實(shí)現(xiàn)數(shù)據(jù)庫表(acl、user、moudule)的操作。 (dept)。 (人事部)。 } Test//添加和保存部門 public void testsaveOrUpdate(Department d) { Department dept=new Department()。 } Test public void testfind() { Department dpt =(1)。//部門管理業(yè)務(wù)操作服務(wù)接口 Before protected void setUp() throws Exception { ApplicationContext cxt = new FileSystemXmlApplicationContext(/WebRoot/WEBINF/)。 return delete。 } } } } 5)Action中的刪除部門的方法 public String delete() throws Exception { (department)。amp。 } else { Department dep = (())。 return update。 } //修改 InputConfig(resultName = updateInput) public String update() throws Exception { (department)。 } 4)Action中的修改部門的方法 public String edit() throws Exception { (dep, department)。 } } 3)Action中的客服端響應(yīng)方法 public String show() throws Exception { (dep, department)。 } //驗(yàn)證 public void validateSave() { if(isNull(())){ addFieldError(name, 部門名稱不能為空)。 (notice, 添加部門成功)。 }2) Action中的添加部門的方法 public String add() throws Exception { return add。 if(true.equals(select)){ return select。 try { offset = (())。 } (depForm).submit()。 if( == 0) { alert(部門名稱不能為空)。 } }}6 模塊二系統(tǒng)模塊 功能模塊一部門管理模塊實(shí)現(xiàn) Strusts的配置 運(yùn)用strusts2開發(fā)需要一個(gè)動(dòng)作對(duì)應(yīng)到一個(gè)Action,但這些Action的有些屬性和方法是相同的,本系統(tǒng)中我們用到了調(diào)用數(shù)據(jù)庫對(duì)應(yīng)模塊的路徑實(shí)現(xiàn)分層調(diào)用,系統(tǒng)管理模塊,需要在包中添加包含文件: include file=cs/xj/action/department// !部門管理 :?xml version= encoding=UTF8 ?!DOCTYPE struts PUBLIC //Apache Software Foundation//DTD Struts Configuration struts package name=department extends=strutsdefault namespace=/department interceptors interceptor name=securityInterceptor class=/interceptor /interceptors globalresults result name=error/pages//result result name=login type=redirect//result /globalresults action name=departmentAction class=! departmentAction對(duì)應(yīng)的Action result name=find/pages/department//result!顯示部門管理界面 result name=select/pages/department//result!顯示查找部門管理界面 result name=add/pages/department//result!顯示添加部門管理界面 result name=saveInput/pages/department//result!顯示保存部門管理界面 result name=save type=redirect/pages/mon//result!顯示添加部門管理成功界面 result name=show/pages/department//result!顯示部門管理界面 result name=edit/pages/department//result!顯示修改部門管理界面 resultname=updateInput/pages/department//result!顯示修改部門管理界面保存 result name=update type=redirect/pages/mon//result!顯示部門管理成功界面 result name=delete type=redirect/pages/mon//result!顯示刪除部門管理成功界面 interceptorref name=paramsPrepareParamsStack/interceptorref interceptorref name=securityInterceptor/interceptorref /action /package/struts BaseAction 通過調(diào)用DepartmentService接口中的方法用實(shí)現(xiàn)數(shù)據(jù)庫表(department )的操作。 for(Object[] obj : list){ for(Object o : obj){ (o + )。 } public void testSaveOrUpdatePermission() { (Role, 10, 8, 0, true)。 (1, true)。 (2)。 } Test public void testSave() { ACL acl = new ACL()。//權(quán)限控制服務(wù)接口 Before protected void setUp() throws Exception { ApplicationContext cxt = new FileSystemXmlApplicationContext(/WebRoot/WEBINF/)。 (userRole)。 (u)。 (u)。 (())。 (u, 5)。 (李二)。 userService = (UserService)(userService)。 } 接口1) 登錄模塊接口調(diào)用圖LoginAction類用于響應(yīng)表示層的用戶登錄和權(quán)限控制AclService權(quán)限控制服務(wù)接口AclDao操作數(shù)據(jù)庫中的權(quán)限控制表acl的方法的接口UserService用戶服務(wù)接口UserDao操作用戶表的Dao接口調(diào)用調(diào)用調(diào)用調(diào)用 圖53用戶登錄登錄模塊接口調(diào)用圖 子功能模塊的測(cè)試1) 管理員登錄測(cè)試圖 2) 部門經(jīng)理登錄測(cè)試3) 通過用戶服務(wù)接口操作用戶表的測(cè)試代碼:public class UserServiceTest extends TestCase { private UserService userService。//拋出模塊列表 (count, count)。 } } count = ()。 ().equals(().getId())) { ().add(mod)。 for(Module mod : modules) {//增強(qiáng)for循環(huán) if(() != null amp。 for(Module m : modules) { if(() == null){ ml = new ModuleList()。 modules = (())。//保存User對(duì)象為login modules = new ArrayListModule()。 } if(isNull(password)){ addFieldError(password, 密碼不能為空)。 return logout。 } return result。 } else{ (notice, 賬號(hào)或密碼不正確)。 if(user != null){ (login, user)。 } /script3) :、內(nèi)容body、部分代碼如下:frameset rows=120,*,60 framespacing=0 frameborder=no frame name=banner scrolling=no noresize src=${cxt }/pages/ frameset cols=168,* framespacing=0 frameborder=no id=mainframeChange frame name=contents scrolling=no noresize src=${cxt }/pages/ frame name=main src=${cxt }/pages/ /frameset frame name=banner1 scrolling=no noresize src=${cxt }/pages/ noframes body LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 /body /noframes /frameset 部分算法
點(diǎn)擊復(fù)制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1