├── .gitattributes ├── LICENSE ├── README.md ├── whuasdoc ├── .classpath ├── .myhibernatedata ├── .mymetadata ├── .mystrutsdata ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── WebRoot │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── classes │ │ │ ├── .struts.mex │ │ │ ├── com │ │ │ │ └── workit │ │ │ │ │ ├── action │ │ │ │ │ ├── CarAction.class │ │ │ │ │ ├── CartypeAction.class │ │ │ │ │ ├── DeptAction.class │ │ │ │ │ ├── EndsetAction.class │ │ │ │ │ ├── OrderAction.class │ │ │ │ │ ├── OutsetAction.class │ │ │ │ │ ├── PowerAction.class │ │ │ │ │ ├── PreUserAction.class │ │ │ │ │ ├── RoleAction.class │ │ │ │ │ └── UserAction.class │ │ │ │ │ ├── bean │ │ │ │ │ ├── CarBean.class │ │ │ │ │ ├── CarBean.hbm.xml │ │ │ │ │ ├── CartypeBean.class │ │ │ │ │ ├── CartypeBean.hbm.xml │ │ │ │ │ ├── DeptBean.class │ │ │ │ │ ├── DeptBean.hbm.xml │ │ │ │ │ ├── EndsetBean.class │ │ │ │ │ ├── EndsetBean.hbm.xml │ │ │ │ │ ├── OutsetBean.class │ │ │ │ │ ├── OutsetBean.hbm.xml │ │ │ │ │ ├── PowerBean.class │ │ │ │ │ ├── PowerBean.hbm.xml │ │ │ │ │ ├── RoleBean.class │ │ │ │ │ ├── RoleBean.hbm.xml │ │ │ │ │ ├── UserBean.class │ │ │ │ │ ├── UserBean.hbm.xml │ │ │ │ │ ├── orderBean.class │ │ │ │ │ └── orderBean.hbm.xml │ │ │ │ │ ├── dao │ │ │ │ │ ├── CarDao.class │ │ │ │ │ ├── CartypeDao.class │ │ │ │ │ ├── DeptDao.class │ │ │ │ │ ├── EndsetDao.class │ │ │ │ │ ├── OrderDao.class │ │ │ │ │ ├── OutsetDao.class │ │ │ │ │ ├── PowerDao.class │ │ │ │ │ ├── RoleDao.class │ │ │ │ │ └── UserDao.class │ │ │ │ │ └── util │ │ │ │ │ ├── UserUtil.class │ │ │ │ │ └── hibernateUtil.class │ │ │ ├── hibernate.cfg.xml │ │ │ └── struts.xml │ │ ├── lib │ │ │ └── classes12.jar │ │ └── web.xml │ ├── carManage │ │ ├── savecar.jsp │ │ ├── showallcar.jsp │ │ └── updatecar.jsp │ ├── cartypeManage │ │ ├── savecartype.jsp │ │ ├── showallcartype.jsp │ │ └── updatecartype.jsp │ ├── css │ │ ├── admin.css │ │ ├── animate.css │ │ ├── bootstrap.min.css │ │ ├── component.css │ │ ├── demo.css │ │ ├── normalize.css │ │ ├── preloder.css │ │ ├── reset.css │ │ ├── style1.css │ │ └── style2.css │ ├── cusindex.jsp │ ├── deptManage │ │ ├── savedept.jsp │ │ ├── showalldept.jsp │ │ └── updatedept.jsp │ ├── endsetManage │ │ ├── saveendset.jsp │ │ ├── showallendset.jsp │ │ └── updateendset.jsp │ ├── findallpower.jsp │ ├── header.jsp │ ├── images │ │ ├── admin.css │ │ ├── admin_p.gif │ │ ├── body_bg.jpg │ │ ├── body_bg1.jpg │ │ ├── bt_login.gif │ │ ├── demo-1-bg.jpg │ │ ├── header_bg.jpg │ │ ├── header_left.jpg │ │ ├── header_right.jpg │ │ ├── image_background.png │ │ ├── login_1.jpg │ │ ├── login_2.jpg │ │ ├── login_3.jpg │ │ ├── login_4.jpg │ │ ├── login_5.jpg │ │ ├── login_6.gif │ │ ├── login_ico.png │ │ ├── menu_bg.jpg │ │ ├── menu_bt.jpg │ │ ├── menu_icon.gif │ │ ├── pattren_background.png │ │ ├── shadow_bg.jpg │ │ ├── title_bg1.jpg │ │ └── title_bg2.jpg │ ├── index.html │ ├── index.jsp │ ├── js │ │ ├── EasePack.min.js │ │ ├── TweenLite.min.js │ │ ├── canvas.js │ │ ├── custom.js │ │ ├── demo-1.js │ │ ├── html5.js │ │ ├── jquery-1.9.1.min.js │ │ ├── jquery.ajaxchimp.min.js │ │ ├── jquery.downCount.js │ │ ├── jquery.slicknav.min.js │ │ ├── owl.carousel.min.js │ │ └── rAF.js │ ├── main.jsp │ ├── manage.jsp │ ├── menu.jsp │ ├── null.jsp │ ├── orderManage │ │ ├── saveorder.jsp │ │ ├── showallorder.jsp │ │ └── updateorder.jsp │ ├── outsetManage │ │ ├── saveoutset.jsp │ │ ├── showalloutset.jsp │ │ └── updateoutset.jsp │ ├── powerManage │ │ ├── savepower.jsp │ │ ├── showallpower.jsp │ │ └── updatepower.jsp │ ├── roleManage │ │ ├── saverole.jsp │ │ ├── showallrole.jsp │ │ └── updaterole.jsp │ └── userManage │ │ ├── findalluser.jsp │ │ ├── saveuser.jsp │ │ ├── showalluser.jsp │ │ └── updateuser.jsp ├── hibernate.reveng.xml └── src │ ├── .struts.mex │ ├── com │ └── workit │ │ ├── action │ │ ├── CarAction.java │ │ ├── CartypeAction.java │ │ ├── DeptAction.java │ │ ├── EndsetAction.java │ │ ├── OrderAction.java │ │ ├── OutsetAction.java │ │ ├── PowerAction.java │ │ ├── PreUserAction.java │ │ ├── RoleAction.java │ │ └── UserAction.java │ │ ├── bean │ │ ├── CarBean.hbm.xml │ │ ├── CarBean.java │ │ ├── CartypeBean.hbm.xml │ │ ├── CartypeBean.java │ │ ├── DeptBean.hbm.xml │ │ ├── DeptBean.java │ │ ├── EndsetBean.hbm.xml │ │ ├── EndsetBean.java │ │ ├── OutsetBean.hbm.xml │ │ ├── OutsetBean.java │ │ ├── PowerBean.hbm.xml │ │ ├── PowerBean.java │ │ ├── RoleBean.hbm.xml │ │ ├── RoleBean.java │ │ ├── UserBean.hbm.xml │ │ ├── UserBean.java │ │ ├── orderBean.hbm.xml │ │ └── orderBean.java │ │ ├── dao │ │ ├── CarDao.java │ │ ├── CartypeDao.java │ │ ├── DeptDao.java │ │ ├── EndsetDao.java │ │ ├── OrderDao.java │ │ ├── OutsetDao.java │ │ ├── PowerDao.java │ │ ├── RoleDao.java │ │ └── UserDao.java │ │ └── util │ │ ├── UserUtil.java │ │ └── hibernateUtil.java │ ├── hibernate.cfg.xml │ └── struts.xml ├── 作品操作使用说明.docx ├── 制作调试过程及数据记录.docx └── 系统设计详细过程及步骤.docx /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Yocan 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Logistics Management System 2 | 毕业设计-->物流管理系统的设计与实现(Java版本) 3 | 4 | 5 | 采用Struts2+hibernate+Oracle10g+Tomcat 6 | 涉及车辆管理,配送点管理,运输方式管理,订单管理,员工管理,用户管理,部门管理,权限管理,角色管理等基础管理功能。 7 | -------------------------------------------------------------------------------- /whuasdoc/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /whuasdoc/.myhibernatedata: -------------------------------------------------------------------------------- 1 | #MyEclipse Hibernate Properties 2 | #Thu May 17 11:43:53 CST 2018 3 | sessionFactoryName= 4 | genBasicCompId=false 5 | profile= 6 | daoSFId= 7 | version=3.3 8 | jndiPath= 9 | detectM2M=true 10 | reStrategyClass= 11 | detectO2O=true 12 | springDaoFile= 13 | useJavaTypes=true 14 | keyGenerator=sequence 15 | libInstallFolder=/WebRoot/WEB-INF/lib 16 | addLibs2Project=true 17 | genVersionTag=false 18 | sessionFactoryId= 19 | basePersistenceClass= 20 | genAnnotations=false 21 | reSettingsFile=/whuasdoc/hibernate.reveng.xml 22 | configFile=/whuasdoc/src/hibernate.cfg.xml 23 | createConfigFile=true 24 | addLibs2Classpath=true 25 | -------------------------------------------------------------------------------- /whuasdoc/.mymetadata: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /whuasdoc/.mystrutsdata: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 4 | 5 | 0 6 | action 7 | 8 | -------------------------------------------------------------------------------- /whuasdoc/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | whuasdoc 4 | 5 | 6 | 7 | 8 | 9 | com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.jdt.core.javabuilder 15 | 16 | 17 | 18 | 19 | com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator 20 | 21 | 22 | 23 | 24 | com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator 25 | 26 | 27 | 28 | 29 | org.eclipse.wst.validation.validationbuilder 30 | 31 | 32 | 33 | 34 | com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder 35 | 36 | 37 | 38 | 39 | com.genuitec.eclipse.hibernate.HibernateBuilder 40 | 41 | 42 | 43 | 44 | 45 | com.genuitec.eclipse.ast.deploy.core.deploymentnature 46 | com.genuitec.eclipse.hibernate.hibernatenature 47 | com.genuitec.eclipse.j2eedt.core.webnature 48 | org.eclipse.jdt.core.javanature 49 | org.eclipse.wst.jsdt.core.jsNature 50 | com.genuitec.eclipse.cross.easystruts.eclipse.easystrutsnature 51 | 52 | 53 | -------------------------------------------------------------------------------- /whuasdoc/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Sun Nov 19 10:30:56 CST 2017 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 4 | org.eclipse.jdt.core.compiler.compliance=1.5 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.source=1.5 8 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/CarAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/CarAction.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/CartypeAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/CartypeAction.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/DeptAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/DeptAction.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/EndsetAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/EndsetAction.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/OrderAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/OrderAction.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/OutsetAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/OutsetAction.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/PowerAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/PowerAction.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/PreUserAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/PreUserAction.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/RoleAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/RoleAction.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/UserAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/action/UserAction.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/CarBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/CarBean.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/CarBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | seq_car 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/CartypeBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/CartypeBean.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/CartypeBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/DeptBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/DeptBean.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/DeptBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/EndsetBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/EndsetBean.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/EndsetBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | seq_endset 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/OutsetBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/OutsetBean.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/OutsetBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | seq_outset 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/PowerBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/PowerBean.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/PowerBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | seq_power 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/RoleBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/RoleBean.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/RoleBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | seq_role 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/UserBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/UserBean.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/UserBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | seq_user 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/orderBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/orderBean.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/bean/orderBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | seq_order 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/CarDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/CarDao.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/CartypeDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/CartypeDao.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/DeptDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/DeptDao.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/EndsetDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/EndsetDao.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/OrderDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/OrderDao.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/OutsetDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/OutsetDao.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/PowerDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/PowerDao.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/RoleDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/RoleDao.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/UserDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/dao/UserDao.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/util/UserUtil.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/util/UserUtil.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/com/workit/util/hibernateUtil.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/classes/com/workit/util/hibernateUtil.class -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/classes/hibernate.cfg.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | huasdoc 11 | 12 | jdbc:oracle:thin:@localhost:1521:oracle 13 | 14 | huasdoc 15 | huasdoc 16 | 17 | oracle.jdbc.driver.OracleDriver 18 | 19 | 20 | org.hibernate.dialect.Oracle9Dialect 21 | 22 | true 23 | true 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/lib/classes12.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/WEB-INF/lib/classes12.jar -------------------------------------------------------------------------------- /whuasdoc/WebRoot/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | index.html 9 | 10 | 11 | struts2 12 | 13 | org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter 14 | 15 | 16 | 17 | struts2 18 | /* 19 | 20 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/carManage/savecar.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 车辆信息添加管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 |
添加车辆
车牌号码
车辆种类 32 | 39 |
保质期
车辆状态
57 |
58 |
59 | yocan物流管理系统 version1.0 60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/carManage/showallcar.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 6 | %> 7 | 8 | 9 | 10 | 11 | 12 | 13 | My JSP 'showalluser.jsp' starting page 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
当前位置:>>运输方式管理>>车辆信息管理
35 | 36 | 37 | 38 | 39 | 40 | 44 | 45 | 46 | 47 |
车辆列表 42 |       |       43 | 【后台添加车辆】
48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 68 | 69 | 70 |
车辆ID车牌号码车辆种类车辆保质期车辆状态备注
${lcar.carid}${lcar.carnum}${lcar.cartypeBean.typename}${lcar.baozhitime} ${lcar.status} 【修改】 |  67 | 【删除】
71 | 72 | 73 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/carManage/updatecar.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 车辆信息管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 |
车辆信息修改
车辆编号
车牌号码
车辆种类 36 | 43 |
车辆保质期
车辆状态
59 |
60 |
61 | yocan物流管理系统 version1.0 62 |
63 | 64 | 65 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/cartypeManage/savecartype.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 车辆种类添加管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 |
添加车辆种类
种类名称
车辆类别
备注
46 |
47 |
48 | yocan物流管理系统 version1.0 49 |
50 | 51 | 52 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/cartypeManage/showallcartype.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 6 | %> 7 | 8 | 9 | 10 | 11 | 12 | 13 | My JSP 'showalluser.jsp' starting page 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
当前位置:>>运输方式管理>>车辆种类管理
35 | 36 | 37 | 38 | 39 | 40 | 44 | 45 | 46 | 47 |
车辆种类列表 42 |       |       43 | 【后台添加车辆种类】
48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 64 | 65 | 66 |
车辆种类ID种类名称车辆类别备注
${lcar.typeid}${lcar.typename}${lcar.cartype}${lcar.remark} 【修改】 |  63 | 【删除】
67 | 68 | 69 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/cartypeManage/updatecartype.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 车辆种类管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 |
车辆种类修改
车辆种类id
种类名称
车辆类别
备注
48 |
49 |
50 | yocan物流管理系统 version1.0 51 |
52 | 53 | 54 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/css/admin.css: -------------------------------------------------------------------------------- 1 | BODY { 2 | MARGIN: 0px 3 | } 4 | P { 5 | MARGIN: 0px 6 | } 7 | BODY { 8 | COLOR: #000; BACKGROUND-COLOR: #fff 9 | } 10 | BODY { 11 | FONT-SIZE: 12px; LINE-HEIGHT: 150%; FONT-FAMILY: "Verdana", "Arial", "Helvetica", "sans-serif" 12 | } 13 | TABLE { 14 | FONT-SIZE: 12px; LINE-HEIGHT: 150%; FONT-FAMILY: "Verdana", "Arial", "Helvetica", "sans-serif" 15 | } 16 | INPUT { 17 | FONT-SIZE: 12px; FONT-FAMILY: "Verdana", "Arial", "Helvetica", "sans-serif" 18 | } 19 | SELECT { 20 | FONT-SIZE: 12px; FONT-FAMILY: "Verdana", "Arial", "Helvetica", "sans-serif" 21 | } 22 | TEXTAREA { 23 | FONT-SIZE: 12px; FONT-FAMILY: "Verdana", "Arial", "Helvetica", "sans-serif" 24 | } 25 | A:link { 26 | COLOR: #036; TEXT-DECORATION: none 27 | } 28 | A:visited { 29 | COLOR: #036; TEXT-DECORATION: none 30 | } 31 | A:hover { 32 | COLOR: #f60; TEXT-DECORATION: underline 33 | } 34 | A.menuChild:link { 35 | COLOR: #036; TEXT-DECORATION: none 36 | } 37 | A.menuChild:visited { 38 | COLOR: #036; TEXT-DECORATION: none 39 | } 40 | A.menuChild:hover { 41 | COLOR: #f60; TEXT-DECORATION: underline 42 | } 43 | A.menuParent:link { 44 | COLOR: #000; TEXT-DECORATION: none 45 | } 46 | A.menuParent:visited { 47 | COLOR: #000; TEXT-DECORATION: none 48 | } 49 | A.menuParent:hover { 50 | COLOR: #f60; TEXT-DECORATION: none 51 | } 52 | TABLE.position { 53 | WIDTH: 100% 54 | } 55 | TR.position { 56 | HEIGHT: 25px; BACKGROUND-COLOR: #f4f7fc 57 | } 58 | TD.position { 59 | BORDER-RIGHT: #adceff 1px solid; PADDING-LEFT: 20px; BORDER-BOTTOM: #adceff 1px solid 60 | } 61 | TABLE.listTable { 62 | WIDTH: 98%; BACKGROUND-COLOR: #b1ceee 63 | } 64 | TR.listHeaderTr { 65 | FONT-WEIGHT: bold; HEIGHT: 25px; BACKGROUND-COLOR: #ebf4fd; TEXT-ALIGN: center 66 | } 67 | TR.listTr { 68 | HEIGHT: 25px; BACKGROUND-COLOR: #fff; TEXT-ALIGN: center 69 | } 70 | TR.listAlternatingTr { 71 | HEIGHT: 25px; BACKGROUND-COLOR: #fffdf0; TEXT-ALIGN: center 72 | } 73 | TR.listFooterTr { 74 | HEIGHT: 30px; BACKGROUND-COLOR: #ebf4fd; TEXT-ALIGN: center 75 | } 76 | TABLE.editTable { 77 | WIDTH: 98%; BACKGROUND-COLOR: #b1ceee 78 | } 79 | TR.editHeaderTr { 80 | HEIGHT: 25px; BACKGROUND-COLOR: #ebf4fd 81 | } 82 | TD.editHeaderTd { 83 | PADDING-LEFT: 50px; FONT-WEIGHT: bold 84 | } 85 | TR.editTr { 86 | HEIGHT: 30px 87 | } 88 | TD.editLeftTd { 89 | WIDTH: 150px; BACKGROUND-COLOR: #fffdf0; TEXT-ALIGN: center 90 | } 91 | TD.editRightTd { 92 | PADDING-LEFT: 10px; BACKGROUND-COLOR: #fff 93 | } 94 | TR.editFooterTr { 95 | HEIGHT: 40px; BACKGROUND-COLOR: #ebf4fd 96 | } 97 | TD.editFooterTd { 98 | PADDING-LEFT: 150px 99 | } 100 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/css/component.css: -------------------------------------------------------------------------------- 1 | /* Header */ 2 | .large-header { 3 | position: relative; 4 | width: 100%; 5 | background: #333; 6 | overflow: hidden; 7 | background-size: cover; 8 | background-position: center center; 9 | z-index: 1; 10 | } 11 | 12 | .demo-1 .large-header { 13 | background-image: url('../images/demo-1-bg.jpg'); 14 | } 15 | .logo_box{ 16 | width: 400px; 17 | height: 500px; 18 | padding: 35px; 19 | color: #EEE; 20 | position: absolute; 21 | left: 50%; 22 | top:50%; 23 | margin-left: -200px; 24 | margin-top: -250px; 25 | } 26 | .logo_box h3{ 27 | text-align: center; 28 | height: 20px; 29 | font: 20px "microsoft yahei",Helvetica,Tahoma,Arial,"Microsoft jhengHei",sans-serif; 30 | color: #FFFFFF; 31 | height: 20px; 32 | line-height: 20px; 33 | padding:0 0 35px 0; 34 | } 35 | .forms{ 36 | width: 280px; 37 | height: 485px; 38 | } 39 | .logon_inof{ 40 | width: 100%; 41 | min-height: 450px; 42 | padding-top: 35px; 43 | position: relative; 44 | } 45 | .input_outer{ 46 | height: 46px; 47 | padding: 0 5px; 48 | margin-bottom: 30px; 49 | border-radius: 50px; 50 | position: relative; 51 | border: rgba(255,255,255,0.2) 2px solid !important; 52 | } 53 | .u_user{ 54 | width: 25px; 55 | height: 25px; 56 | background: url(../images/login_ico.png); 57 | background-position: -125px 0; 58 | position: absolute; 59 | margin: 10px 13px; 60 | } 61 | .us_uer{ 62 | width: 25px; 63 | height: 25px; 64 | background-image: url(../images/login_ico.png); 65 | background-position: -125px -34px; 66 | position: absolute; 67 | margin: 10px 13px; 68 | } 69 | .l-login{ 70 | position: absolute; 71 | z-index: 1; 72 | left: 50px; 73 | top: 0; 74 | height: 46px; 75 | font: 14px "microsoft yahei",Helvetica,Tahoma,Arial,"Microsoft jhengHei"; 76 | line-height: 46px; 77 | } 78 | .text{ 79 | width: 220px; 80 | height: 46px; 81 | outline: none; 82 | display: inline-block; 83 | font: 14px "microsoft yahei",Helvetica,Tahoma,Arial,"Microsoft jhengHei"; 84 | margin-left: 50px; 85 | border: none; 86 | background: none; 87 | line-height: 46px; 88 | } 89 | /*///*/ 90 | .mb2{ 91 | margin-bottom: 20px 92 | } 93 | .mb2 a{ 94 | text-decoration: none; 95 | outline: none; 96 | } 97 | .submit { 98 | padding: 15px; 99 | margin-top: 20px; 100 | display: block; 101 | } 102 | .act-but{ 103 | line-height: 20px; 104 | text-align: center; 105 | font-size: 20px; 106 | border-radius: 50px; 107 | background: #0096e6; 108 | } -------------------------------------------------------------------------------- /whuasdoc/WebRoot/css/demo.css: -------------------------------------------------------------------------------- 1 | *, *:after, *:before { -webkit-box-sizing: border-box; box-sizing: border-box; } 2 | .clearfix:before, .clearfix:after { content: ''; display: table; } 3 | .clearfix:after { clear: both; } 4 | 5 | body { 6 | background: #fff; 7 | color: #383a3c; 8 | font-weight: 400; 9 | font-size: 1em; 10 | line-height: 1.25; 11 | font-family: 'Raleway', Calibri, Arial, sans-serif; 12 | } 13 | 14 | a, button { 15 | outline: none; 16 | } 17 | 18 | a { 19 | color: #566473; 20 | text-decoration: none; 21 | } 22 | 23 | a:hover, a:focus { 24 | color: #34495e; 25 | } 26 | 27 | section { 28 | padding: 1em; 29 | text-align: center; 30 | } 31 | 32 | p.ref { 33 | text-align: center; 34 | padding: 2em 1em; 35 | } -------------------------------------------------------------------------------- /whuasdoc/WebRoot/css/normalize.css: -------------------------------------------------------------------------------- 1 | article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em 0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C" "\201D" "\2018" "\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;} -------------------------------------------------------------------------------- /whuasdoc/WebRoot/css/reset.css: -------------------------------------------------------------------------------- 1 | html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:none;outline:0;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;text-decoration:none;margin:0;padding:0;} 2 | table{border-collapse:separate;border-spacing:0} 3 | blockquote:before,blockquote:after,q:before,q:after{content:""} 4 | *{margin:0;padding:0;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;} 5 | article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block; } 6 | ol, ul { list-style: none;} 7 | blockquote, q { quotes: none;} 8 | :focus { outline: 0;} 9 | table { border-collapse: collapse; border-spacing: 0;} 10 | img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; } 11 | a{text-decoration:none; position:relative; color:#000;} 12 | audio,video,canvas {max-width: 100%;} 13 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/cusindex.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> 2 | 3 | 4 | 5 | 6 | 7 | 8 | login 9 | 10 | 11 | 12 | 13 | 16 | 17 | 18 |
19 |
20 |
21 | 22 |
23 |

欢迎尊敬的客户陛下

24 |
25 |
26 | 27 | 28 |
29 |
30 | 31 | 32 |
33 |
34 | 35 | 36 | 37 | 38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 | 46 | 47 | 48 | 49 |
50 |

版权所有:康康陛下©

51 |
52 | 53 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/deptManage/savedept.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 部门添加管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 |
添加部门
部门名字
部门负责人
备注
45 |
46 |
47 | yocan物流管理系统 version1.0 48 |
49 | 50 | 51 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/deptManage/showalldept.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 6 | %> 7 | 8 | 9 | 10 | 11 | 12 | 13 | My JSP 'showalluser.jsp' starting page 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
当前位置:>>系统管理>>部门管理
35 | 36 | 37 | 38 | 39 | 40 | 44 | 45 | 46 | 47 |
部门列表 42 |       |       43 | 【后台添加部门】
48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 65 | 66 | 67 |
部门ID部门名称部门负责人备注操作
${ldept.deptid}${ldept.deptname}${ldept.chargeman}${ldept.remark}【修改】 |  64 | 【删除】
68 | 69 | 70 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/deptManage/updatedept.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 部门修改管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 |
部门修改
部门ID
部门名称
部门负责人
备注
47 |
48 |
49 | yocan物流管理系统 version1.0 50 |
51 | 52 | 53 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/endsetManage/saveendset.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 地点添加管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
添加地点
地点名称
地区负责人
备注
44 |
45 |
46 | yocan物流管理系统 version1.0 47 |
48 | 49 | 50 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/endsetManage/showallendset.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 6 | %> 7 | 8 | 9 | 10 | 11 | 12 | 13 | My JSP 'showalluser.jsp' starting page 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
当前位置:>>配送点管理>>地点(终点)管理
35 | 36 | 37 | 38 | 39 | 40 | 44 | 45 | 46 | 47 |
地点列表 42 |       |       43 | 【后台添加地点】
48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 65 | 66 | 67 |
地点ID地点名称地区负责人备注操作
${lendset.endsetid}${lendset.endsetname}${lendset.endsetmanager}${lendset.memo} 【修改】 |  64 | 【删除】
68 | 69 | 70 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/endsetManage/updateendset.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 地区修改管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 |
地区修改
地区ID
地区名称
地区负责人
备注
47 |
48 |
49 | yocan物流管理系统 version1.0 50 |
51 | 52 | 53 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/findallpower.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 6 | %> 7 | 8 | 9 | 10 | 11 | 12 | 13 | My JSP 'index.jsp' starting page 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 |
26 | 利用struts2+hibernate3+oracle10实现物流管理系统 27 |
28 | 29 | 36 |
37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/header.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@page import="com.workit.bean.UserBean"%> 3 | <%@ taglib uri="/struts-tags" prefix="s" %> 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 13 | 14 | 16 | 23 |
当前用户:${session.curruser.loginname}    修改口令    退出系统 22 |
25 | 26 | 27 |
28 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/admin.css: -------------------------------------------------------------------------------- 1 | BODY { 2 | MARGIN: 0px 3 | } 4 | P { 5 | MARGIN: 0px 6 | } 7 | BODY { 8 | COLOR: #000; BACKGROUND-COLOR: #fff 9 | } 10 | BODY { 11 | FONT-SIZE: 12px; LINE-HEIGHT: 150%; FONT-FAMILY: "Verdana", "Arial", "Helvetica", "sans-serif" 12 | } 13 | TABLE { 14 | FONT-SIZE: 12px; LINE-HEIGHT: 150%; FONT-FAMILY: "Verdana", "Arial", "Helvetica", "sans-serif" 15 | } 16 | INPUT { 17 | FONT-SIZE: 12px; FONT-FAMILY: "Verdana", "Arial", "Helvetica", "sans-serif" 18 | } 19 | SELECT { 20 | FONT-SIZE: 12px; FONT-FAMILY: "Verdana", "Arial", "Helvetica", "sans-serif" 21 | } 22 | TEXTAREA { 23 | FONT-SIZE: 12px; FONT-FAMILY: "Verdana", "Arial", "Helvetica", "sans-serif" 24 | } 25 | A:link { 26 | COLOR: #036; TEXT-DECORATION: none 27 | } 28 | A:visited { 29 | COLOR: #036; TEXT-DECORATION: none 30 | } 31 | A:hover { 32 | COLOR: #f60; TEXT-DECORATION: underline 33 | } 34 | A.menuChild:link { 35 | COLOR: #036; TEXT-DECORATION: none 36 | } 37 | A.menuChild:visited { 38 | COLOR: #036; TEXT-DECORATION: none 39 | } 40 | A.menuChild:hover { 41 | COLOR: #f60; TEXT-DECORATION: underline 42 | } 43 | A.menuParent:link { 44 | COLOR: #000; TEXT-DECORATION: none 45 | } 46 | A.menuParent:visited { 47 | COLOR: #000; TEXT-DECORATION: none 48 | } 49 | A.menuParent:hover { 50 | COLOR: #f60; TEXT-DECORATION: none 51 | } 52 | TABLE.position { 53 | WIDTH: 100% 54 | } 55 | TR.position { 56 | HEIGHT: 25px; BACKGROUND-COLOR: #f4f7fc 57 | } 58 | TD.position { 59 | BORDER-RIGHT: #adceff 1px solid; PADDING-LEFT: 20px; BORDER-BOTTOM: #adceff 1px solid 60 | } 61 | TABLE.listTable { 62 | WIDTH: 98%; BACKGROUND-COLOR: #b1ceee 63 | } 64 | TR.listHeaderTr { 65 | FONT-WEIGHT: bold; HEIGHT: 25px; BACKGROUND-COLOR: #ebf4fd; TEXT-ALIGN: center 66 | } 67 | TR.listTr { 68 | HEIGHT: 25px; BACKGROUND-COLOR: #fff; TEXT-ALIGN: center 69 | } 70 | TR.listAlternatingTr { 71 | HEIGHT: 25px; BACKGROUND-COLOR: #fffdf0; TEXT-ALIGN: center 72 | } 73 | TR.listFooterTr { 74 | HEIGHT: 30px; BACKGROUND-COLOR: #ebf4fd; TEXT-ALIGN: center 75 | } 76 | TABLE.editTable { 77 | WIDTH: 98%; BACKGROUND-COLOR: #b1ceee 78 | } 79 | TR.editHeaderTr { 80 | HEIGHT: 25px; BACKGROUND-COLOR: #ebf4fd 81 | } 82 | TD.editHeaderTd { 83 | PADDING-LEFT: 50px; FONT-WEIGHT: bold 84 | } 85 | TR.editTr { 86 | HEIGHT: 30px 87 | } 88 | TD.editLeftTd { 89 | WIDTH: 150px; BACKGROUND-COLOR: #fffdf0; TEXT-ALIGN: center 90 | } 91 | TD.editRightTd { 92 | PADDING-LEFT: 10px; BACKGROUND-COLOR: #fff 93 | } 94 | TR.editFooterTr { 95 | HEIGHT: 40px; BACKGROUND-COLOR: #ebf4fd 96 | } 97 | TD.editFooterTd { 98 | PADDING-LEFT: 150px 99 | } 100 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/admin_p.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/admin_p.gif -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/body_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/body_bg.jpg -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/body_bg1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/body_bg1.jpg -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/bt_login.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/bt_login.gif -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/demo-1-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/demo-1-bg.jpg -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/header_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/header_bg.jpg -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/header_left.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/header_left.jpg -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/header_right.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/header_right.jpg -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/image_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/image_background.png -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/login_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/login_1.jpg -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/login_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/login_2.jpg -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/login_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/login_3.jpg -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/login_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/login_4.jpg -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/login_5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/login_5.jpg -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/login_6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/login_6.gif -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/login_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/login_ico.png -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/menu_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/menu_bg.jpg -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/menu_bt.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/menu_bt.jpg -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/menu_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/menu_icon.gif -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/pattren_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/pattren_background.png -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/shadow_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/shadow_bg.jpg -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/title_bg1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/title_bg1.jpg -------------------------------------------------------------------------------- /whuasdoc/WebRoot/images/title_bg2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/whuasdoc/WebRoot/images/title_bg2.jpg -------------------------------------------------------------------------------- /whuasdoc/WebRoot/index.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> 2 | 3 | 4 | 5 | 6 | 7 | 8 | login 9 | 10 | 11 | 12 | 13 | 16 | 17 | 18 |
19 |
20 |
21 | 22 |
23 |

欢迎康康康康陛下

24 |
25 |
26 | 27 | 28 |
29 |
30 | 31 | 32 |
33 |
34 | 35 | 36 | 37 | 38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 | 46 | 47 | 48 | 49 |
50 |

版权所有:康康陛下©

51 |
52 | 53 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/js/html5.js: -------------------------------------------------------------------------------- 1 | /* 2 | HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 3 | */ 4 | (function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); 5 | a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; 6 | c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode|| 7 | "undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f); 8 | if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d 2 | <%@page import="com.workit.bean.UserBean"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | <% 11 | UserBean curruser = new UserBean(); 12 | curruser = (UserBean)session.getAttribute("curruser"); 13 | 14 | 15 | %> 16 | 17 | 18 | 19 | 20 | 21 |
当前位置:
22 | 23 | 24 | 26 | 27 | 37 | 38 |
  28 | 29 | 30 | 34 | 35 | 36 |
${session.curruser.loginname}
欢迎进入yocan物流后台管理中心!
39 | 40 | 41 | 42 | 43 | 45 | 46 | 47 | 48 |
您的相关信息
49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 |
登陆帐号:${session.curruser.username }
真实姓名:${session.curruser.loginname }
-------------------------------------------------------------------------------- /whuasdoc/WebRoot/manage.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | 3 | 4 | 5 | 物流管理系统 V1.0 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | This is my JSP page.
25 | 26 | 27 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/menu.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@page import="com.workit.bean.PowerBean"%> 3 | 4 | 5 | 6 | 7 | 8 | 24 | 25 | 26 | 28 | 29 | 83 | 84 | 85 |
30 | 31 | 32 | 33 | 34 | 35 |
36 | <% 37 | List listpower = new ArrayList(); 38 | if(session.getAttribute("listpower") != null) 39 | listpower = (List)session.getAttribute("listpower"); 40 | for (PowerBean fpower:listpower){ 41 | if (fpower.getLevels() == 1){ 42 | 43 | %> 44 | 45 | 46 | 49 | 50 | 51 | 52 | 53 |
47 | ) href="javascript:void(0);"><%=fpower.getPowername() %> 48 |
54 | 55 | style="DISPLAY: none" cellSpacing=0 cellPadding=0 56 | width=150 border=0> 57 | 58 | <% 59 | for (PowerBean spower:listpower){ 60 | if (fpower.getPowerid().equals(spower.getPpowerid())){ 61 | %> 62 | 63 | 66 | 70 | 71 | 72 | <% 73 | } 74 | } 75 | %> 76 |
64 | 65 | 67 | <%=spower.getPowername() %> 69 |
77 | <% 78 | } 79 | } 80 | %> 81 | 82 |
86 | 87 | 88 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/null.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 6 | %> 7 | 8 | 9 | 10 | 11 | 12 | 13 | My JSP 'index.jsp' starting page 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 |
26 |

功能尚未开放,请留意官网通知,谢谢您的支持

27 | 28 |
29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/orderManage/saveorder.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 订单管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 42 | 43 | 44 | 45 | 52 | 53 | 54 | 55 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 |
添加订单
订单号
订单负责人
订单起点 36 | 41 |
订单终点 46 | 51 |
车辆车牌号 56 | 61 |
备注
74 |
75 |
76 | yocan物流管理系统 version1.0 77 |
78 | 79 | 80 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/orderManage/showallorder.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 6 | %> 7 | 8 | 9 | 10 | 11 | 12 | 13 | My JSP 'showalluser.jsp' starting page 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
当前位置:>>订单管理>>订单查询
35 | 36 | 37 | 38 | 39 | 40 | 44 | 45 | 46 | 47 |
订单列表 42 |       |       43 | 【后台添加订单】
48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 71 | 72 | 73 |
订单ID订单号订单负责人起点终点车辆车牌号备注操作
${lorder.orderid}${lorder.ordernum}${lorder.orderman}${lorder.outsetBean.outsetname}${lorder.endsetBean.endsetname}${lorder.carBean.carnum}${lorder.memo} 【修改】 |  70 | 【删除】
74 | 75 | 76 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/orderManage/updateorder.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 订单修改管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 47 | 48 | 49 | 50 | 58 | 59 | 60 | 61 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 |
订单修改
订单ID
订单号
订单负责人
订单起点 40 | 46 |
订单终点 51 | 57 |
车辆车牌号 62 | 68 |
备注
81 |
82 |
83 | yocan物流管理系统 version1.0 84 |
85 | 86 | 87 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/outsetManage/saveoutset.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 地点添加管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
添加地点
地点名称
地区负责人
备注
44 |
45 |
46 | yocan物流管理系统 version1.0 47 |
48 | 49 | 50 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/outsetManage/showalloutset.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 6 | %> 7 | 8 | 9 | 10 | 11 | 12 | 13 | My JSP 'showalluser.jsp' starting page 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
当前位置:>>配送点管理>>出发点管理
35 | 36 | 37 | 38 | 39 | 40 | 44 | 45 | 46 | 47 |
地点列表 42 |       |       43 | 【后台添加地点(出发点)】
48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 65 | 66 | 67 |
地点ID地点名称地区负责人备注操作
${loutset.outsetid}${loutset.outsetname}${loutset.outsetmanager}${loutset.memo} 【修改】 |  64 | 【删除】
68 | 69 | 70 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/outsetManage/updateoutset.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 地区修改管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 |
地区修改
地区ID
地区名称
地区负责人
备注
47 |
48 |
49 | yocan物流管理系统 version1.0 50 |
51 | 52 | 53 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/powerManage/savepower.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 权限菜单添加管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 |
添加菜单
菜单名称
菜单等级
上级菜单 36 | 43 |
url地址
备注
60 |
61 |
62 | yocan物流管理系统 version1.0 63 |
64 | 65 | 66 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/powerManage/showallpower.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 6 | %> 7 | 8 | 9 | 10 | 11 | 12 | 13 | My JSP 'showalluser.jsp' starting page 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
当前位置:>>系统管理>>权限管理
35 | 36 | 37 | 38 | 39 | 40 | 44 | 45 | 46 | 47 |
权限列表 42 |       |       43 | 【后台添加权限菜单】
48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 68 | 69 | 70 |
权限ID权限名称权限等级上级菜单url地址备注
${lpower.powerid}${lpower.powername}${lpower.levels}${lpower.ppowerid} ${lpower.url} ${lpower.memo} 【修改】 |  67 | 【删除】
71 | 72 | 73 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/powerManage/updatepower.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 权限菜单修改管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 |
菜单修改
菜单编号
菜单名称
菜单等级
上级菜单 40 | 47 |
url地址
备注
63 |
64 |
65 | yocan物流管理系统 version1.0 66 |
67 | 68 | 69 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/roleManage/saverole.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 员工添加管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 60 | 61 | 62 | 63 | 70 | 71 | 72 | 73 | 74 | 75 | 76 |
添加员工
员工帐号
员工姓名
帐号密码
账号状态 40 | 44 |
备注
员工部门 54 | 59 |
员工角色 64 | 69 |
77 |
78 |
79 | yocan物流管理系统 version1.0 80 |
81 | 82 | 83 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/roleManage/showallrole.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 6 | %> 7 | 8 | 9 | 10 | 11 | 12 | 13 | My JSP 'showalluser.jsp' starting page 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
当前位置:>>系统管理>>角色管理
35 | 36 | 37 | 38 | 39 | 40 | 44 | 45 | 46 | 47 |
角色列表 42 |       |       43 | 【后台添加角色】
48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 62 | 63 | 64 | 66 | 67 | 68 |
角色ID角色名称角色权限备注操作
${lrole.roleid}${lrole.rolename} 61 | ${lrolepower.powername }、${lrole.memo} 【修改】 |  65 | 【删除】
69 | 70 | 71 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/roleManage/updaterole.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 角色修改管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 |
角色修改
角色ID
角色名称
角色权限 36 | 37 | 38 | 39 | 40 |
备注
52 |
53 |
54 | yocan物流管理系统 version1.0 55 |
56 | 57 | 58 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/userManage/findalluser.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s"%> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'findalluser.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 29 | 30 |
31 |
32 | 根据用户姓名    33 | 查询 34 |
35 |
36 | 37 | 38 |
39 | 40 | 41 |
42 |
43 |
44 | 45 | 46 | 47 | 48 | 51 | 52 | 53 | 54 | 57 | 58 | 59 | 60 | 63 | 64 | 65 | 66 | 67 | 70 | 71 | 72 | 73 | 74 | 77 | 78 | 79 | 80 | 83 | 84 | 85 | 89 | 90 |
登录账号 49 | 50 |
密码 55 | 56 |
用户 61 | 62 |
学校 68 | 69 |
部门 75 | 76 |
角色 81 | 82 |
86 | 确定 87 | 关闭 88 |
91 |
92 |
93 |
94 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/userManage/saveuser.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 员工添加管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 60 | 61 | 62 | 63 | 70 | 71 | 72 | 73 | 74 | 75 | 76 |
添加员工
员工帐号
员工姓名
帐号密码
账号状态 40 | 44 |
备注
员工部门 54 | 59 |
员工角色 64 | 69 |
77 |
78 |
79 | yocan物流管理系统 version1.0 80 |
81 | 82 | 83 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/userManage/showalluser.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 6 | %> 7 | 8 | 9 | 10 | 11 | 12 | 13 | My JSP 'showalluser.jsp' starting page 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
当前位置:>>系统管理>>员工管理
35 | 36 | 37 | 38 | 39 | 40 | 44 | 45 | 46 | 47 |
员工列表 42 |       |       43 | 【后台添加员工】
48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 70 | 71 | 72 |
用户ID用户账号用户名部门角色状态备注操作
${luser.userid}${luser.loginname}${luser.username}${luser.deptBean.deptname} ${luser.roleBean.rolename}${luser.status}${luser.remark}【修改】 |  69 | 【删除】
73 | 74 | 75 | -------------------------------------------------------------------------------- /whuasdoc/WebRoot/userManage/updateuser.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="/struts-tags" prefix="s" %> 3 | 4 | 5 | 6 | 7 | 8 | My JSP 'index.jsp' starting page 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 尊敬的管理员您好:
20 | 员工管理 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 64 | 65 | 66 | 67 | 74 | 75 | 76 | 77 | 78 | 79 | 80 |
员工修改
员工ID
员工帐号
员工姓名
帐号密码
账号状态 44 | 48 |
备注
员工部门 58 | 63 |
员工角色 68 | 73 |
81 |
82 |
83 | yocan物流管理系统 version1.0 84 |
85 | 86 | 87 | -------------------------------------------------------------------------------- /whuasdoc/hibernate.reveng.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | 11 |
12 | 14 | 15 | 16 | 17 |
18 | 20 | 21 | 22 | 23 |
24 | 26 | 27 | 28 | 29 |
30 | 32 | 33 | 34 | 35 |
36 | 38 | 39 | 40 | 41 |
42 | 44 | 45 | 46 | 47 |
48 | 50 | 51 | 52 | 53 |
54 | 56 | 57 | 58 | 59 |
60 |
-------------------------------------------------------------------------------- /whuasdoc/src/com/workit/action/CarAction.java: -------------------------------------------------------------------------------- 1 | package com.workit.action; 2 | 3 | import java.util.List; 4 | 5 | import com.opensymphony.xwork2.ActionContext; 6 | import com.workit.bean.CarBean; 7 | import com.workit.bean.PowerBean; 8 | import com.workit.bean.RoleBean; 9 | import com.workit.dao.CarDao; 10 | import com.workit.dao.PowerDao; 11 | import com.workit.dao.RoleDao; 12 | 13 | public class CarAction { 14 | private CarBean car; 15 | private List listcar ; 16 | private short carid; 17 | 18 | public CarBean getCar() { 19 | return car; 20 | } 21 | public void setCar(CarBean car) { 22 | this.car = car; 23 | } 24 | public List getListcar() { 25 | return listcar; 26 | } 27 | public void setListcar(List listcar) { 28 | this.listcar = listcar; 29 | } 30 | public short getCarid() { 31 | return carid; 32 | } 33 | public void setCarid(short carid) { 34 | this.carid = carid; 35 | } 36 | public String findallcar() 37 | { 38 | CarDao cardao = new CarDao(); 39 | listcar = cardao.findallcar(); 40 | ActionContext.getContext().getSession().put("listcar", listcar); 41 | return "findallcar"; 42 | } 43 | 44 | public String deletecar(){ 45 | CarDao cardao = new CarDao(); 46 | cardao.deletecar(carid); 47 | return "deletesucc"; 48 | } 49 | public String update(){ 50 | CarDao cardao = new CarDao(); 51 | car = cardao.findCurrucar(carid); 52 | ActionContext.getContext().getSession().put("car", car); 53 | return "update"; 54 | } 55 | public String updatecar(){ 56 | CarDao cardao = new CarDao(); 57 | cardao.updatecar(car); 58 | return "updatecar"; 59 | } 60 | public String savecar(){ 61 | CarDao cardao = new CarDao(); 62 | cardao.savecar(car); 63 | return "savesucc"; 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/action/CartypeAction.java: -------------------------------------------------------------------------------- 1 | package com.workit.action; 2 | 3 | import java.util.List; 4 | 5 | import com.opensymphony.xwork2.ActionContext; 6 | import com.workit.bean.CarBean; 7 | import com.workit.bean.CartypeBean; 8 | import com.workit.bean.PowerBean; 9 | import com.workit.bean.RoleBean; 10 | import com.workit.dao.CarDao; 11 | import com.workit.dao.CartypeDao; 12 | import com.workit.dao.PowerDao; 13 | import com.workit.dao.RoleDao; 14 | 15 | public class CartypeAction { 16 | private List listcartype; 17 | private CartypeBean cartype; 18 | private short typeid; 19 | 20 | public List getListcartype() { 21 | return listcartype; 22 | } 23 | 24 | public void setListcartype(List listcartype) { 25 | this.listcartype = listcartype; 26 | } 27 | 28 | public CartypeBean getCartype() { 29 | return cartype; 30 | } 31 | 32 | public void setCartype(CartypeBean cartype) { 33 | this.cartype = cartype; 34 | } 35 | 36 | public short getTypeid() { 37 | return typeid; 38 | } 39 | 40 | public void setTypeid(short typeid) { 41 | this.typeid = typeid; 42 | } 43 | 44 | public String findallcartype() 45 | { 46 | CartypeDao cartypedao = new CartypeDao(); 47 | listcartype = cartypedao.findallcartype(); 48 | ActionContext.getContext().getSession().put("listcartype", listcartype); 49 | return "findallcartype"; 50 | } 51 | 52 | public String deletecartype(){ 53 | CartypeDao cartypedao = new CartypeDao(); 54 | cartypedao.deletecartype(typeid); 55 | return "deletesucc"; 56 | } 57 | public String update(){ 58 | CartypeDao cartypedao = new CartypeDao(); 59 | cartype = cartypedao.findCurrucartype(typeid); 60 | ActionContext.getContext().getSession().put("cartype", cartype); 61 | return "update"; 62 | } 63 | public String updatecartype(){ 64 | CartypeDao cartypedao = new CartypeDao(); 65 | cartypedao.updatecartype(cartype); 66 | return "updatecartype"; 67 | } 68 | public String savecartype(){ 69 | CartypeDao cartypedao = new CartypeDao(); 70 | cartypedao.savecartype(cartype); 71 | return "savesucc"; 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/action/DeptAction.java: -------------------------------------------------------------------------------- 1 | package com.workit.action; 2 | 3 | import java.util.List; 4 | 5 | import com.opensymphony.xwork2.ActionContext; 6 | import com.workit.bean.CarBean; 7 | import com.workit.bean.CartypeBean; 8 | import com.workit.bean.DeptBean; 9 | import com.workit.bean.PowerBean; 10 | import com.workit.bean.RoleBean; 11 | import com.workit.dao.CarDao; 12 | import com.workit.dao.CartypeDao; 13 | import com.workit.dao.DeptDao; 14 | import com.workit.dao.PowerDao; 15 | import com.workit.dao.RoleDao; 16 | 17 | public class DeptAction { 18 | private List listdept; 19 | private DeptBean dept; 20 | private Byte deptid; 21 | 22 | public List getListdept() { 23 | return listdept; 24 | } 25 | 26 | public void setListdept(List listdept) { 27 | this.listdept = listdept; 28 | } 29 | 30 | public DeptBean getDept() { 31 | return dept; 32 | } 33 | 34 | public void setDept(DeptBean dept) { 35 | this.dept = dept; 36 | } 37 | 38 | public Byte getDeptid() { 39 | return deptid; 40 | } 41 | 42 | public void setDeptid(Byte deptid) { 43 | this.deptid = deptid; 44 | } 45 | 46 | public String findalldept() 47 | { 48 | DeptDao deptdao = new DeptDao(); 49 | listdept = deptdao.findalldept(); 50 | ActionContext.getContext().getSession().put("listdept", listdept); 51 | return "findalldept"; 52 | } 53 | 54 | public String deletedept(){ 55 | DeptDao deptdao = new DeptDao(); 56 | deptdao.deletedept(deptid); 57 | return "deletesucc"; 58 | } 59 | public String update(){ 60 | DeptDao deptdao = new DeptDao(); 61 | dept = deptdao.findCurrdept(deptid); 62 | ActionContext.getContext().getSession().put("dept", dept); 63 | return "update"; 64 | } 65 | public String updatedept(){ 66 | DeptDao deptdao = new DeptDao(); 67 | deptdao.updatedept(dept); 68 | return "updatecartype"; 69 | } 70 | public String savedept(){ 71 | DeptDao deptdao = new DeptDao(); 72 | deptdao.savedept(dept); 73 | return "savesucc"; 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/action/EndsetAction.java: -------------------------------------------------------------------------------- 1 | package com.workit.action; 2 | 3 | import java.util.List; 4 | 5 | import com.opensymphony.xwork2.ActionContext; 6 | import com.workit.bean.CarBean; 7 | import com.workit.bean.CartypeBean; 8 | import com.workit.bean.EndsetBean; 9 | import com.workit.bean.PowerBean; 10 | import com.workit.bean.RoleBean; 11 | import com.workit.dao.CarDao; 12 | import com.workit.dao.CartypeDao; 13 | import com.workit.dao.EndsetDao; 14 | import com.workit.dao.PowerDao; 15 | import com.workit.dao.RoleDao; 16 | 17 | public class EndsetAction { 18 | private List listendset; 19 | private EndsetBean endset; 20 | private Integer endsetid; 21 | 22 | 23 | public List getListendset() { 24 | return listendset; 25 | } 26 | 27 | public void setListendset(List listendset) { 28 | this.listendset = listendset; 29 | } 30 | 31 | public EndsetBean getEndset() { 32 | return endset; 33 | } 34 | 35 | public void setEndset(EndsetBean endset) { 36 | this.endset = endset; 37 | } 38 | 39 | public Integer getEndsetid() { 40 | return endsetid; 41 | } 42 | 43 | public void setEndsetid(Integer endsetid) { 44 | this.endsetid = endsetid; 45 | } 46 | 47 | public String findallendset() 48 | { 49 | EndsetDao endsetdao = new EndsetDao(); 50 | listendset = endsetdao.findallendset(); 51 | ActionContext.getContext().getSession().put("listendset", listendset); 52 | return "findallendset"; 53 | } 54 | 55 | public String deleteendset(){ 56 | EndsetDao endsetdao = new EndsetDao(); 57 | endsetdao.deleteendset(endsetid); 58 | return "deletesucc"; 59 | } 60 | public String update(){ 61 | EndsetDao endsetdao = new EndsetDao(); 62 | endset = endsetdao.findCurrendset(endsetid); 63 | ActionContext.getContext().getSession().put("endset", endset); 64 | return "update"; 65 | } 66 | public String updateendset(){ 67 | EndsetDao endsetdao = new EndsetDao(); 68 | endsetdao.updateendset(endset); 69 | return "updateendset"; 70 | } 71 | public String saveendset(){ 72 | EndsetDao endsetdao = new EndsetDao(); 73 | endsetdao.saveendset(endset); 74 | return "savesucc"; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/action/OrderAction.java: -------------------------------------------------------------------------------- 1 | package com.workit.action; 2 | 3 | import java.util.List; 4 | 5 | import com.opensymphony.xwork2.ActionContext; 6 | import com.workit.bean.CarBean; 7 | import com.workit.bean.CartypeBean; 8 | import com.workit.bean.PowerBean; 9 | import com.workit.bean.RoleBean; 10 | import com.workit.bean.orderBean; 11 | import com.workit.dao.CarDao; 12 | import com.workit.dao.CartypeDao; 13 | import com.workit.dao.OrderDao; 14 | import com.workit.dao.PowerDao; 15 | import com.workit.dao.RoleDao; 16 | 17 | public class OrderAction { 18 | private List listorder; 19 | private orderBean order; 20 | private Integer orderid; 21 | 22 | 23 | 24 | public List getListorder() { 25 | return listorder; 26 | } 27 | 28 | public void setListorder(List listorder) { 29 | this.listorder = listorder; 30 | } 31 | 32 | public orderBean getOrder() { 33 | return order; 34 | } 35 | 36 | public void setOrder(orderBean order) { 37 | this.order = order; 38 | } 39 | 40 | public Integer getOrderid() { 41 | return orderid; 42 | } 43 | 44 | public void setOrderid(Integer orderid) { 45 | this.orderid = orderid; 46 | } 47 | 48 | public String findallorder() 49 | { 50 | OrderDao orderdao = new OrderDao(); 51 | listorder = orderdao.findallorder(); 52 | ActionContext.getContext().getSession().put("listorder", listorder); 53 | return "findallorder"; 54 | } 55 | 56 | public String deleteorder(){ 57 | OrderDao orderdao = new OrderDao(); 58 | orderdao.deleteorder(orderid); 59 | return "deletesucc"; 60 | } 61 | public String update(){ 62 | OrderDao orderdao = new OrderDao(); 63 | order = orderdao.findCurrorder(orderid); 64 | ActionContext.getContext().getSession().put("order", order); 65 | return "update"; 66 | } 67 | public String updateorder(){ 68 | OrderDao orderdao = new OrderDao(); 69 | orderdao.updateorder(order); 70 | return "updateorder"; 71 | } 72 | public String saveorder(){ 73 | OrderDao orderdao = new OrderDao(); 74 | orderdao.saveorder(order); 75 | return "savesucc"; 76 | } 77 | } 78 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/action/OutsetAction.java: -------------------------------------------------------------------------------- 1 | package com.workit.action; 2 | 3 | import java.util.List; 4 | 5 | import com.opensymphony.xwork2.ActionContext; 6 | import com.workit.bean.CarBean; 7 | import com.workit.bean.CartypeBean; 8 | import com.workit.bean.OutsetBean; 9 | import com.workit.bean.PowerBean; 10 | import com.workit.bean.RoleBean; 11 | import com.workit.dao.CarDao; 12 | import com.workit.dao.CartypeDao; 13 | import com.workit.dao.OutsetDao; 14 | import com.workit.dao.PowerDao; 15 | import com.workit.dao.RoleDao; 16 | 17 | public class OutsetAction { 18 | private List listoutset; 19 | private OutsetBean outset; 20 | private Integer outsetid; 21 | 22 | public List getListoutset() { 23 | return listoutset; 24 | } 25 | 26 | public void setListoutset(List listoutset) { 27 | this.listoutset = listoutset; 28 | } 29 | 30 | public OutsetBean getOutset() { 31 | return outset; 32 | } 33 | 34 | public void setOutset(OutsetBean outset) { 35 | this.outset = outset; 36 | } 37 | 38 | public Integer getOutsetid() { 39 | return outsetid; 40 | } 41 | 42 | public void setOutsetid(Integer outsetid) { 43 | this.outsetid = outsetid; 44 | } 45 | 46 | public String findalloutset() 47 | { 48 | OutsetDao outsetdao = new OutsetDao(); 49 | listoutset = outsetdao.findalloutset(); 50 | ActionContext.getContext().getSession().put("listoutset", listoutset); 51 | return "findalloutset"; 52 | } 53 | 54 | public String deleteoutset(){ 55 | OutsetDao outsetdao = new OutsetDao(); 56 | outsetdao.deleteoutset(outsetid); 57 | return "deletesucc"; 58 | } 59 | public String update(){ 60 | OutsetDao outsetdao = new OutsetDao(); 61 | outset = outsetdao.findCurroutset(outsetid); 62 | ActionContext.getContext().getSession().put("outset", outset); 63 | return "update"; 64 | } 65 | public String updateoutset(){ 66 | OutsetDao outsetdao = new OutsetDao(); 67 | outsetdao.updateoutset(outset); 68 | return "updateoutset"; 69 | } 70 | public String saveoutset(){ 71 | OutsetDao outsetdao = new OutsetDao(); 72 | outsetdao.saveoutset(outset); 73 | return "savesucc"; 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/action/PowerAction.java: -------------------------------------------------------------------------------- 1 | package com.workit.action; 2 | 3 | import java.util.List; 4 | import java.util.Set; 5 | 6 | import com.opensymphony.xwork2.ActionContext; 7 | import com.workit.bean.PowerBean; 8 | import com.workit.bean.RoleBean; 9 | import com.workit.dao.PowerDao; 10 | import com.workit.dao.RoleDao; 11 | 12 | public class PowerAction { 13 | private List listpower; 14 | private Set setpower; 15 | public Set getSetpower() { 16 | return setpower; 17 | } 18 | public void setSetpower(Set setpower) { 19 | this.setpower = setpower; 20 | } 21 | private PowerBean power; 22 | private RoleBean role; 23 | private Integer powerid; 24 | private Integer roleid; 25 | 26 | public Integer getRoleid() { 27 | return roleid; 28 | } 29 | public void setRoleid(Integer roleid) { 30 | this.roleid = roleid; 31 | } 32 | public Integer getPowerid() { 33 | return powerid; 34 | } 35 | public void setPowerid(Integer powerid) { 36 | this.powerid = powerid; 37 | } 38 | public List getListpower() { 39 | return listpower; 40 | } 41 | public void setListpower(List listpower) { 42 | this.listpower = listpower; 43 | } 44 | public PowerBean getPower() { 45 | return power; 46 | } 47 | public void setPower(PowerBean power) { 48 | this.power = power; 49 | } 50 | public RoleBean getRole() { 51 | return role; 52 | } 53 | public void setRole(RoleBean role) { 54 | this.role = role; 55 | } 56 | public String findallpower() 57 | { 58 | PowerDao powerdao = new PowerDao(); 59 | listpower =powerdao.findallpower(); 60 | ActionContext.getContext().getSession().put("listpower", listpower); 61 | return "findallpower"; 62 | } 63 | public String findAllpower() 64 | { 65 | PowerDao powerdao = new PowerDao(); 66 | listpower = powerdao.findallpower(); 67 | ActionContext.getContext().getSession().put("listpower", listpower); 68 | return "findAllpower"; 69 | } 70 | public String deletepower(){ 71 | PowerDao powerdao =new PowerDao(); 72 | powerdao.deletepower(powerid); 73 | return "deletesucc"; 74 | } 75 | public String update(){ 76 | PowerDao powerdao =new PowerDao(); 77 | power = powerdao.findCurrupower(powerid); 78 | ActionContext.getContext().getSession().put("power", power); 79 | return "update"; 80 | } 81 | public String updatepower(){ 82 | PowerDao powerdao =new PowerDao(); 83 | powerdao.updatepower(power); 84 | return "updatepower"; 85 | } 86 | public String savepower(){ 87 | PowerDao powerdao =new PowerDao(); 88 | powerdao.savepower(power); 89 | return "savesucc"; 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/action/RoleAction.java: -------------------------------------------------------------------------------- 1 | package com.workit.action; 2 | 3 | import java.util.List; 4 | 5 | import com.opensymphony.xwork2.ActionContext; 6 | import com.workit.bean.RoleBean; 7 | import com.workit.dao.RoleDao; 8 | 9 | public class RoleAction { 10 | private RoleBean roleBean; 11 | private Integer roleid; 12 | private List listrole; 13 | 14 | public List getListrole() { 15 | return listrole; 16 | } 17 | public void setListrole(List listrole) { 18 | this.listrole = listrole; 19 | } 20 | public RoleBean getRoleBean() { 21 | return roleBean; 22 | } 23 | public void setRoleBean(RoleBean roleBean) { 24 | this.roleBean = roleBean; 25 | } 26 | public Integer getRoleid() { 27 | return roleid; 28 | } 29 | public void setRoleid(Integer roleid) { 30 | this.roleid = roleid; 31 | } 32 | 33 | public String findallrole() { 34 | RoleDao roledao =new RoleDao(); 35 | listrole = roledao.findallrole(); 36 | ActionContext.getContext().getSession().put("listrole", listrole); 37 | return "findallrole"; 38 | } 39 | public String deleterole(){ 40 | RoleDao roledao =new RoleDao(); 41 | roledao.deleteRole(roleid); 42 | return "deletesucc"; 43 | } 44 | public String update(){ 45 | RoleDao roledao =new RoleDao(); 46 | roleBean = roledao.findCurrurole(roleid); 47 | ActionContext.getContext().getSession().put("roleBean", roleBean); 48 | return "update"; 49 | } 50 | public String updaterole(){ 51 | RoleDao roledao =new RoleDao(); 52 | roledao.updateRole(roleBean); 53 | return "updaterole"; 54 | } 55 | public String saverole(){ 56 | RoleDao roledao =new RoleDao(); 57 | roledao.saveRole(roleBean); 58 | return "savesucc"; 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/action/UserAction.java: -------------------------------------------------------------------------------- 1 | package com.workit.action; 2 | 3 | 4 | import java.util.List; 5 | import java.util.Set; 6 | 7 | import com.opensymphony.xwork2.ActionContext; 8 | import com.workit.bean.DeptBean; 9 | import com.workit.bean.PowerBean; 10 | import com.workit.bean.RoleBean; 11 | import com.workit.bean.UserBean; 12 | import com.workit.dao.UserDao; 13 | 14 | public class UserAction { 15 | private UserBean user; 16 | private short userid; 17 | public short getUserid() { 18 | return userid; 19 | } 20 | 21 | public void setUserid(short userid) { 22 | this.userid = userid; 23 | } 24 | 25 | public UserBean getUser() { 26 | return user; 27 | } 28 | 29 | public void setUser(UserBean user) { 30 | this.user = user; 31 | } 32 | public String login() 33 | { 34 | UserDao userdao = new UserDao(); 35 | UserBean curruser = userdao.isExistUser(user); 36 | if(curruser != null) 37 | { 38 | ActionContext.getContext().getSession().put("curruser", curruser); 39 | return "loginsucc"; 40 | }else 41 | return "failer"; 42 | } 43 | 44 | private List listuser; 45 | private DeptBean deptbean; 46 | private RoleBean rolebean; 47 | 48 | public DeptBean getDeptbean() { 49 | return deptbean; 50 | } 51 | 52 | public void setDeptbean(DeptBean deptbean) { 53 | this.deptbean = deptbean; 54 | } 55 | 56 | public RoleBean getRolebean() { 57 | return rolebean; 58 | } 59 | 60 | public void setRolebean(RoleBean rolebean) { 61 | this.rolebean = rolebean; 62 | } 63 | 64 | public List getListuser() { 65 | return listuser; 66 | } 67 | 68 | public void setListuser(List listuser) { 69 | this.listuser = listuser; 70 | } 71 | 72 | public String findalluser() { 73 | UserDao userdao =new UserDao(); 74 | listuser = userdao.findalluser(); 75 | ActionContext.getContext().getSession().put("listuser", listuser); 76 | return "findalluser"; 77 | } 78 | public String deleteUser(){ 79 | UserDao userdao = new UserDao(); 80 | userdao.deleteUser(userid); 81 | return "deletesucc"; 82 | } 83 | public String update(){ 84 | UserDao userdao = new UserDao(); 85 | user = userdao.findCurruser(userid); 86 | ActionContext.getContext().getSession().put("user", user); 87 | return "update"; 88 | } 89 | public String updateUser(){ 90 | UserDao userdao = new UserDao(); 91 | userdao.updateUser(user); 92 | return "updateuser"; 93 | } 94 | public String saveUser(){ 95 | UserDao userdao = new UserDao(); 96 | userdao.saveUser(user); 97 | return "savesucc"; 98 | } 99 | 100 | } 101 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/CarBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | seq_car 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/CarBean.java: -------------------------------------------------------------------------------- 1 | package com.workit.bean; 2 | 3 | import java.util.HashSet; 4 | import java.util.Set; 5 | 6 | /** 7 | * CarBean entity. @author MyEclipse Persistence Tools 8 | */ 9 | 10 | public class CarBean implements java.io.Serializable { 11 | 12 | // Fields 13 | 14 | private Short carid; 15 | private CartypeBean cartypeBean; 16 | private String carnum; 17 | private Short baozhitime; 18 | private Byte status; 19 | private Set orderBeans = new HashSet(0); 20 | 21 | // Constructors 22 | 23 | /** default constructor */ 24 | public CarBean() { 25 | } 26 | 27 | /** minimal constructor */ 28 | public CarBean(CartypeBean cartypeBean) { 29 | this.cartypeBean = cartypeBean; 30 | } 31 | 32 | /** full constructor */ 33 | public CarBean(CartypeBean cartypeBean, String carnum, Short baozhitime, 34 | Byte status, Set orderBeans) { 35 | this.cartypeBean = cartypeBean; 36 | this.carnum = carnum; 37 | this.baozhitime = baozhitime; 38 | this.status = status; 39 | this.orderBeans = orderBeans; 40 | } 41 | 42 | // Property accessors 43 | 44 | public Short getCarid() { 45 | return this.carid; 46 | } 47 | 48 | public void setCarid(Short carid) { 49 | this.carid = carid; 50 | } 51 | 52 | public CartypeBean getCartypeBean() { 53 | return this.cartypeBean; 54 | } 55 | 56 | public void setCartypeBean(CartypeBean cartypeBean) { 57 | this.cartypeBean = cartypeBean; 58 | } 59 | 60 | public String getCarnum() { 61 | return this.carnum; 62 | } 63 | 64 | public void setCarnum(String carnum) { 65 | this.carnum = carnum; 66 | } 67 | 68 | public Short getBaozhitime() { 69 | return this.baozhitime; 70 | } 71 | 72 | public void setBaozhitime(Short baozhitime) { 73 | this.baozhitime = baozhitime; 74 | } 75 | 76 | public Byte getStatus() { 77 | return this.status; 78 | } 79 | 80 | public void setStatus(Byte status) { 81 | this.status = status; 82 | } 83 | 84 | public Set getOrderBeans() { 85 | return this.orderBeans; 86 | } 87 | 88 | public void setOrderBeans(Set orderBeans) { 89 | this.orderBeans = orderBeans; 90 | } 91 | 92 | } -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/CartypeBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/CartypeBean.java: -------------------------------------------------------------------------------- 1 | package com.workit.bean; 2 | 3 | import java.util.HashSet; 4 | import java.util.Set; 5 | 6 | /** 7 | * CartypeBean entity. @author MyEclipse Persistence Tools 8 | */ 9 | 10 | public class CartypeBean implements java.io.Serializable { 11 | 12 | // Fields 13 | 14 | private Short typeid; 15 | private String typename; 16 | private String cartype; 17 | private String remark; 18 | private Set carBeans = new HashSet(0); 19 | 20 | // Constructors 21 | 22 | /** default constructor */ 23 | public CartypeBean() { 24 | } 25 | 26 | /** minimal constructor */ 27 | public CartypeBean(String cartype) { 28 | this.cartype = cartype; 29 | } 30 | 31 | /** full constructor */ 32 | public CartypeBean(String typename, String cartype, String remark, 33 | Set carBeans) { 34 | this.typename = typename; 35 | this.cartype = cartype; 36 | this.remark = remark; 37 | this.carBeans = carBeans; 38 | } 39 | 40 | // Property accessors 41 | 42 | public Short getTypeid() { 43 | return this.typeid; 44 | } 45 | 46 | public void setTypeid(Short typeid) { 47 | this.typeid = typeid; 48 | } 49 | 50 | public String getTypename() { 51 | return this.typename; 52 | } 53 | 54 | public void setTypename(String typename) { 55 | this.typename = typename; 56 | } 57 | 58 | public String getCartype() { 59 | return this.cartype; 60 | } 61 | 62 | public void setCartype(String cartype) { 63 | this.cartype = cartype; 64 | } 65 | 66 | public String getRemark() { 67 | return this.remark; 68 | } 69 | 70 | public void setRemark(String remark) { 71 | this.remark = remark; 72 | } 73 | 74 | public Set getCarBeans() { 75 | return this.carBeans; 76 | } 77 | 78 | public void setCarBeans(Set carBeans) { 79 | this.carBeans = carBeans; 80 | } 81 | 82 | } -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/DeptBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/DeptBean.java: -------------------------------------------------------------------------------- 1 | package com.workit.bean; 2 | 3 | import java.util.HashSet; 4 | import java.util.Set; 5 | 6 | /** 7 | * DeptBean entity. @author MyEclipse Persistence Tools 8 | */ 9 | 10 | public class DeptBean implements java.io.Serializable { 11 | 12 | // Fields 13 | 14 | private Byte deptid; 15 | private String deptname; 16 | private String chargeman; 17 | private String remark; 18 | private Set userBeans = new HashSet(0); 19 | 20 | // Constructors 21 | 22 | /** default constructor */ 23 | public DeptBean() { 24 | } 25 | 26 | /** minimal constructor */ 27 | public DeptBean(String deptname) { 28 | this.deptname = deptname; 29 | } 30 | 31 | /** full constructor */ 32 | public DeptBean(String deptname, String chargeman, String remark, 33 | Set userBeans) { 34 | this.deptname = deptname; 35 | this.chargeman = chargeman; 36 | this.remark = remark; 37 | this.userBeans = userBeans; 38 | } 39 | 40 | 41 | public Byte getDeptid() { 42 | return this.deptid; 43 | } 44 | 45 | public void setDeptid(Byte deptid) { 46 | this.deptid = deptid; 47 | } 48 | 49 | public String getDeptname() { 50 | return this.deptname; 51 | } 52 | 53 | public void setDeptname(String deptname) { 54 | this.deptname = deptname; 55 | } 56 | 57 | public String getChargeman() { 58 | return this.chargeman; 59 | } 60 | 61 | public void setChargeman(String chargeman) { 62 | this.chargeman = chargeman; 63 | } 64 | 65 | public String getRemark() { 66 | return this.remark; 67 | } 68 | 69 | public void setRemark(String remark) { 70 | this.remark = remark; 71 | } 72 | 73 | public Set getUserBeans() { 74 | return this.userBeans; 75 | } 76 | 77 | public void setUserBeans(Set userBeans) { 78 | this.userBeans = userBeans; 79 | } 80 | 81 | } -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/EndsetBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | seq_endset 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/EndsetBean.java: -------------------------------------------------------------------------------- 1 | package com.workit.bean; 2 | 3 | import java.util.HashSet; 4 | import java.util.Set; 5 | 6 | /** 7 | * EndsetBean entity. @author MyEclipse Persistence Tools 8 | */ 9 | 10 | public class EndsetBean implements java.io.Serializable { 11 | 12 | // Fields 13 | 14 | private Integer endsetid; 15 | private String endsetname; 16 | private String endsetmanager; 17 | private String memo; 18 | private Set orderBeans = new HashSet(0); 19 | 20 | // Constructors 21 | 22 | /** default constructor */ 23 | public EndsetBean() { 24 | } 25 | 26 | /** full constructor */ 27 | public EndsetBean(String endsetname, String endsetmanager, String memo, 28 | Set orderBeans) { 29 | this.endsetname = endsetname; 30 | this.endsetmanager = endsetmanager; 31 | this.memo = memo; 32 | this.orderBeans = orderBeans; 33 | } 34 | 35 | // Property accessors 36 | 37 | public Integer getEndsetid() { 38 | return this.endsetid; 39 | } 40 | 41 | public void setEndsetid(Integer endsetid) { 42 | this.endsetid = endsetid; 43 | } 44 | 45 | public String getEndsetname() { 46 | return this.endsetname; 47 | } 48 | 49 | public void setEndsetname(String endsetname) { 50 | this.endsetname = endsetname; 51 | } 52 | 53 | public String getEndsetmanager() { 54 | return this.endsetmanager; 55 | } 56 | 57 | public void setEndsetmanager(String endsetmanager) { 58 | this.endsetmanager = endsetmanager; 59 | } 60 | 61 | public String getMemo() { 62 | return this.memo; 63 | } 64 | 65 | public void setMemo(String memo) { 66 | this.memo = memo; 67 | } 68 | 69 | public Set getOrderBeans() { 70 | return this.orderBeans; 71 | } 72 | 73 | public void setOrderBeans(Set orderBeans) { 74 | this.orderBeans = orderBeans; 75 | } 76 | 77 | } -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/OutsetBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | seq_outset 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/OutsetBean.java: -------------------------------------------------------------------------------- 1 | package com.workit.bean; 2 | 3 | import java.util.HashSet; 4 | import java.util.Set; 5 | 6 | /** 7 | * OutsetBean entity. @author MyEclipse Persistence Tools 8 | */ 9 | 10 | public class OutsetBean implements java.io.Serializable { 11 | 12 | // Fields 13 | 14 | private Integer outsetid; 15 | private String outsetname; 16 | private String outsetmanager; 17 | private String memo; 18 | private Set orderBeans = new HashSet(0); 19 | 20 | // Constructors 21 | 22 | /** default constructor */ 23 | public OutsetBean() { 24 | } 25 | 26 | /** full constructor */ 27 | public OutsetBean(String outsetname, String outsetmanager, String memo, 28 | Set orderBeans) { 29 | this.outsetname = outsetname; 30 | this.outsetmanager = outsetmanager; 31 | this.memo = memo; 32 | this.orderBeans = orderBeans; 33 | } 34 | 35 | // Property accessors 36 | 37 | public Integer getOutsetid() { 38 | return this.outsetid; 39 | } 40 | 41 | public void setOutsetid(Integer outsetid) { 42 | this.outsetid = outsetid; 43 | } 44 | 45 | public String getOutsetname() { 46 | return this.outsetname; 47 | } 48 | 49 | public void setOutsetname(String outsetname) { 50 | this.outsetname = outsetname; 51 | } 52 | 53 | public String getOutsetmanager() { 54 | return this.outsetmanager; 55 | } 56 | 57 | public void setOutsetmanager(String outsetmanager) { 58 | this.outsetmanager = outsetmanager; 59 | } 60 | 61 | public String getMemo() { 62 | return this.memo; 63 | } 64 | 65 | public void setMemo(String memo) { 66 | this.memo = memo; 67 | } 68 | 69 | public Set getOrderBeans() { 70 | return this.orderBeans; 71 | } 72 | 73 | public void setOrderBeans(Set orderBeans) { 74 | this.orderBeans = orderBeans; 75 | } 76 | 77 | } -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/PowerBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | seq_power 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/PowerBean.java: -------------------------------------------------------------------------------- 1 | package com.workit.bean; 2 | 3 | import java.util.HashSet; 4 | import java.util.Set; 5 | 6 | /** 7 | * PowerBean entity. @author MyEclipse Persistence Tools 8 | */ 9 | 10 | public class PowerBean implements java.io.Serializable { 11 | 12 | // Fields 13 | 14 | private Integer powerid; 15 | private String powername; 16 | private Byte levels; 17 | private Integer ppowerid; 18 | private String url; 19 | private String memo; 20 | private Set roleBeans = new HashSet(0); 21 | 22 | // Constructors 23 | 24 | /** default constructor */ 25 | public PowerBean() { 26 | } 27 | 28 | /** full constructor */ 29 | public PowerBean(String powername, Byte levels, Integer ppowerid, 30 | String url, String memo, Set roleBeans) { 31 | this.powername = powername; 32 | this.levels = levels; 33 | this.ppowerid = ppowerid; 34 | this.url = url; 35 | this.memo = memo; 36 | this.roleBeans = roleBeans; 37 | } 38 | 39 | // Property accessors 40 | 41 | public Integer getPowerid() { 42 | return this.powerid; 43 | } 44 | 45 | public void setPowerid(Integer powerid) { 46 | this.powerid = powerid; 47 | } 48 | 49 | public String getPowername() { 50 | return this.powername; 51 | } 52 | 53 | public void setPowername(String powername) { 54 | this.powername = powername; 55 | } 56 | 57 | public Byte getLevels() { 58 | return this.levels; 59 | } 60 | 61 | public void setLevels(Byte levels) { 62 | this.levels = levels; 63 | } 64 | 65 | public Integer getPpowerid() { 66 | return this.ppowerid; 67 | } 68 | 69 | public void setPpowerid(Integer ppowerid) { 70 | this.ppowerid = ppowerid; 71 | } 72 | 73 | public String getUrl() { 74 | return this.url; 75 | } 76 | 77 | public void setUrl(String url) { 78 | this.url = url; 79 | } 80 | 81 | public String getMemo() { 82 | return this.memo; 83 | } 84 | 85 | public void setMemo(String memo) { 86 | this.memo = memo; 87 | } 88 | 89 | public Set getRoleBeans() { 90 | return this.roleBeans; 91 | } 92 | 93 | public void setRoleBeans(Set roleBeans) { 94 | this.roleBeans = roleBeans; 95 | } 96 | 97 | } -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/RoleBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | seq_role 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/RoleBean.java: -------------------------------------------------------------------------------- 1 | package com.workit.bean; 2 | 3 | import java.util.HashSet; 4 | import java.util.Set; 5 | 6 | /** 7 | * RoleBean entity. @author MyEclipse Persistence Tools 8 | */ 9 | 10 | public class RoleBean implements java.io.Serializable { 11 | 12 | // Fields 13 | 14 | private Integer roleid; 15 | private String rolename; 16 | private String memo; 17 | private Set powerBeans = new HashSet(0); 18 | private Set userBeans = new HashSet(0); 19 | 20 | // Constructors 21 | 22 | /** default constructor */ 23 | public RoleBean() { 24 | } 25 | 26 | /** full constructor */ 27 | public RoleBean(String rolename, String memo, Set powerBeans, Set userBeans) { 28 | this.rolename = rolename; 29 | this.memo = memo; 30 | this.powerBeans = powerBeans; 31 | this.userBeans = userBeans; 32 | } 33 | 34 | // Property accessors 35 | 36 | public Integer getRoleid() { 37 | return this.roleid; 38 | } 39 | 40 | public void setRoleid(Integer roleid) { 41 | this.roleid = roleid; 42 | } 43 | 44 | public String getRolename() { 45 | return this.rolename; 46 | } 47 | 48 | public void setRolename(String rolename) { 49 | this.rolename = rolename; 50 | } 51 | 52 | public String getMemo() { 53 | return this.memo; 54 | } 55 | 56 | public void setMemo(String memo) { 57 | this.memo = memo; 58 | } 59 | 60 | public Set getPowerBeans() { 61 | return this.powerBeans; 62 | } 63 | 64 | public void setPowerBeans(Set powerBeans) { 65 | this.powerBeans = powerBeans; 66 | } 67 | 68 | public Set getUserBeans() { 69 | return this.userBeans; 70 | } 71 | 72 | public void setUserBeans(Set userBeans) { 73 | this.userBeans = userBeans; 74 | } 75 | 76 | } -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/UserBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | seq_user 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/UserBean.java: -------------------------------------------------------------------------------- 1 | package com.workit.bean; 2 | 3 | /** 4 | * UserBean entity. @author MyEclipse Persistence Tools 5 | */ 6 | 7 | public class UserBean implements java.io.Serializable { 8 | 9 | // Fields 10 | 11 | private Short userid; 12 | private DeptBean deptBean; 13 | private RoleBean roleBean; 14 | private String loginname; 15 | private String username; 16 | private String password; 17 | private Byte status; 18 | private String remark; 19 | // Constructors 20 | 21 | /** default constructor */ 22 | public UserBean() { 23 | } 24 | 25 | /** minimal constructor */ 26 | public UserBean(DeptBean deptBean, RoleBean roleBean, String loginname, 27 | String username, String password) { 28 | this.deptBean = deptBean; 29 | this.roleBean = roleBean; 30 | this.loginname = loginname; 31 | this.username = username; 32 | this.password = password; 33 | } 34 | 35 | /** full constructor */ 36 | public UserBean(DeptBean deptBean, RoleBean roleBean, String loginname, 37 | String username, String password, Byte status, String remark) { 38 | this.deptBean = deptBean; 39 | this.roleBean = roleBean; 40 | this.loginname = loginname; 41 | this.username = username; 42 | this.password = password; 43 | this.status = status; 44 | this.remark = remark; 45 | } 46 | 47 | // Property accessors 48 | 49 | public Short getUserid() { 50 | return this.userid; 51 | } 52 | 53 | public void setUserid(Short userid) { 54 | this.userid = userid; 55 | } 56 | 57 | public DeptBean getDeptBean() { 58 | return this.deptBean; 59 | } 60 | 61 | public void setDeptBean(DeptBean deptBean) { 62 | this.deptBean = deptBean; 63 | } 64 | 65 | public RoleBean getRoleBean() { 66 | return this.roleBean; 67 | } 68 | 69 | public void setRoleBean(RoleBean roleBean) { 70 | this.roleBean = roleBean; 71 | } 72 | 73 | public String getLoginname() { 74 | return this.loginname; 75 | } 76 | 77 | public void setLoginname(String loginname) { 78 | this.loginname = loginname; 79 | } 80 | 81 | public String getUsername() { 82 | return this.username; 83 | } 84 | 85 | public void setUsername(String username) { 86 | this.username = username; 87 | } 88 | 89 | public String getPassword() { 90 | return this.password; 91 | } 92 | 93 | public void setPassword(String password) { 94 | this.password = password; 95 | } 96 | 97 | public Byte getStatus() { 98 | return this.status; 99 | } 100 | 101 | public void setStatus(Byte status) { 102 | this.status = status; 103 | } 104 | 105 | public String getRemark() { 106 | return this.remark; 107 | } 108 | 109 | public void setRemark(String remark) { 110 | this.remark = remark; 111 | } 112 | 113 | } -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/orderBean.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | seq_order 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/bean/orderBean.java: -------------------------------------------------------------------------------- 1 | package com.workit.bean; 2 | 3 | import java.math.BigDecimal; 4 | 5 | /** 6 | * orderBean entity. @author MyEclipse Persistence Tools 7 | */ 8 | 9 | public class orderBean implements java.io.Serializable { 10 | 11 | // Fields 12 | 13 | private Integer orderid; 14 | private CarBean carBean; 15 | private EndsetBean endsetBean; 16 | private OutsetBean outsetBean; 17 | private BigDecimal ordernum; 18 | private String orderman; 19 | private String memo; 20 | 21 | // Constructors 22 | 23 | /** default constructor */ 24 | public orderBean() { 25 | } 26 | 27 | /** minimal constructor */ 28 | public orderBean(CarBean carBean, EndsetBean endsetBean, 29 | OutsetBean outsetBean, BigDecimal ordernum) { 30 | this.carBean = carBean; 31 | this.endsetBean = endsetBean; 32 | this.outsetBean = outsetBean; 33 | this.ordernum = ordernum; 34 | } 35 | 36 | /** full constructor */ 37 | public orderBean(CarBean carBean, EndsetBean endsetBean, 38 | OutsetBean outsetBean, BigDecimal ordernum, String orderman, 39 | String memo) { 40 | this.carBean = carBean; 41 | this.endsetBean = endsetBean; 42 | this.outsetBean = outsetBean; 43 | this.ordernum = ordernum; 44 | this.orderman = orderman; 45 | this.memo = memo; 46 | } 47 | 48 | // Property accessors 49 | 50 | public Integer getOrderid() { 51 | return this.orderid; 52 | } 53 | 54 | public void setOrderid(Integer orderid) { 55 | this.orderid = orderid; 56 | } 57 | 58 | public CarBean getCarBean() { 59 | return this.carBean; 60 | } 61 | 62 | public void setCarBean(CarBean carBean) { 63 | this.carBean = carBean; 64 | } 65 | 66 | public EndsetBean getEndsetBean() { 67 | return this.endsetBean; 68 | } 69 | 70 | public void setEndsetBean(EndsetBean endsetBean) { 71 | this.endsetBean = endsetBean; 72 | } 73 | 74 | public OutsetBean getOutsetBean() { 75 | return this.outsetBean; 76 | } 77 | 78 | public void setOutsetBean(OutsetBean outsetBean) { 79 | this.outsetBean = outsetBean; 80 | } 81 | 82 | public BigDecimal getOrdernum() { 83 | return this.ordernum; 84 | } 85 | 86 | public void setOrdernum(BigDecimal ordernum) { 87 | this.ordernum = ordernum; 88 | } 89 | 90 | public String getOrderman() { 91 | return this.orderman; 92 | } 93 | 94 | public void setOrderman(String orderman) { 95 | this.orderman = orderman; 96 | } 97 | 98 | public String getMemo() { 99 | return this.memo; 100 | } 101 | 102 | public void setMemo(String memo) { 103 | this.memo = memo; 104 | } 105 | 106 | } -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/dao/CarDao.java: -------------------------------------------------------------------------------- 1 | package com.workit.dao; 2 | 3 | import java.sql.Connection; 4 | import java.sql.PreparedStatement; 5 | import java.sql.ResultSet; 6 | import java.sql.SQLException; 7 | import java.util.ArrayList; 8 | import java.util.List; 9 | 10 | import org.hibernate.Session; 11 | import org.hibernate.Transaction; 12 | 13 | import com.workit.bean.CarBean; 14 | import com.workit.util.UserUtil; 15 | import com.workit.util.hibernateUtil; 16 | 17 | public class CarDao { 18 | 19 | 20 | public List findallcar() 21 | { 22 | List listcar = new ArrayList(); 23 | Session session = hibernateUtil.getSession(); 24 | listcar = session.createQuery("from CarBean").list(); 25 | session.close(); 26 | return listcar; 27 | } 28 | //根据id查询当前车辆信息 29 | public CarBean findCurrucar(Short carid) 30 | { 31 | CarBean car = null; 32 | Session session = hibernateUtil.getSession(); 33 | car = (CarBean)session.get(CarBean.class, carid); 34 | session.close(); 35 | return car; 36 | } 37 | //删除权限 38 | // public void deleterolepower(Integer powerid) { 39 | // Connection conn = UserUtil.getConnection(); 40 | // PreparedStatement ps = null ; 41 | // ResultSet rs = null; 42 | // String sql = "delete t_role_power where powerid = ?"; 43 | // try { 44 | // ps = conn.prepareStatement(sql); 45 | // ps.setInt(1, powerid); 46 | // ps.executeUpdate(); 47 | // } catch (SQLException e) { 48 | // // TODO Auto-generated catch block 49 | // e.printStackTrace(); 50 | // }finally{ 51 | // UserUtil.CloseAll(conn, ps, rs); 52 | // } 53 | // } 54 | //删除车辆 55 | public void deletecar(Short carid) { 56 | //this.deleterolepower(powerid); 57 | Connection conn = UserUtil.getConnection(); 58 | PreparedStatement ps = null ; 59 | ResultSet rs = null; 60 | String sql = "delete t_car where carid = ?"; 61 | try { 62 | ps = conn.prepareStatement(sql); 63 | ps.setInt(1, carid); 64 | ps.executeUpdate(); 65 | } catch (SQLException e) { 66 | // TODO Auto-generated catch block 67 | e.printStackTrace(); 68 | }finally{ 69 | UserUtil.CloseAll(conn, ps, rs); 70 | } 71 | } 72 | //添加车辆 73 | public void savecar(CarBean car) 74 | { 75 | Session session = hibernateUtil.getSession(); 76 | Transaction ts = session.beginTransaction(); 77 | session.save(car); 78 | ts.commit(); 79 | session.close(); 80 | } 81 | //修改车辆 82 | public void updatecar(CarBean car) 83 | { 84 | Session session = hibernateUtil.getSession(); 85 | Transaction ts = session.beginTransaction(); 86 | session.update(car); 87 | ts.commit(); 88 | session.close(); 89 | } 90 | 91 | } -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/dao/CartypeDao.java: -------------------------------------------------------------------------------- 1 | package com.workit.dao; 2 | 3 | import java.sql.Connection; 4 | import java.sql.PreparedStatement; 5 | import java.sql.ResultSet; 6 | import java.sql.SQLException; 7 | import java.util.ArrayList; 8 | import java.util.List; 9 | 10 | import org.hibernate.Session; 11 | import org.hibernate.Transaction; 12 | 13 | import com.workit.bean.CarBean; 14 | import com.workit.bean.CartypeBean; 15 | import com.workit.util.UserUtil; 16 | import com.workit.util.hibernateUtil; 17 | 18 | public class CartypeDao { 19 | 20 | 21 | public List findallcartype() 22 | { 23 | List listcartype = new ArrayList(); 24 | Session session = hibernateUtil.getSession(); 25 | listcartype = session.createQuery("from CartypeBean").list(); 26 | session.close(); 27 | return listcartype; 28 | } 29 | //根据id查询当前车辆信息 30 | public CartypeBean findCurrucartype(Short typeid) 31 | { 32 | CartypeBean cartype = null; 33 | Session session = hibernateUtil.getSession(); 34 | cartype = (CartypeBean)session.get(CartypeBean.class, typeid); 35 | session.close(); 36 | return cartype; 37 | } 38 | //删除权限 39 | // public void deleterolepower(Integer powerid) { 40 | // Connection conn = UserUtil.getConnection(); 41 | // PreparedStatement ps = null ; 42 | // ResultSet rs = null; 43 | // String sql = "delete t_role_power where powerid = ?"; 44 | // try { 45 | // ps = conn.prepareStatement(sql); 46 | // ps.setInt(1, powerid); 47 | // ps.executeUpdate(); 48 | // } catch (SQLException e) { 49 | // // TODO Auto-generated catch block 50 | // e.printStackTrace(); 51 | // }finally{ 52 | // UserUtil.CloseAll(conn, ps, rs); 53 | // } 54 | // } 55 | //删除车辆 56 | public void deletecartype(Short typeid) { 57 | //this.deleterolepower(powerid); 58 | Connection conn = UserUtil.getConnection(); 59 | PreparedStatement ps = null ; 60 | ResultSet rs = null; 61 | String sql = "delete t_cartype where typeid = ?"; 62 | try { 63 | ps = conn.prepareStatement(sql); 64 | ps.setInt(1, typeid); 65 | ps.executeUpdate(); 66 | } catch (SQLException e) { 67 | // TODO Auto-generated catch block 68 | e.printStackTrace(); 69 | }finally{ 70 | UserUtil.CloseAll(conn, ps, rs); 71 | } 72 | } 73 | //添加车辆 74 | public void savecartype(CartypeBean cartype) 75 | { 76 | Session session = hibernateUtil.getSession(); 77 | Transaction ts = session.beginTransaction(); 78 | session.save(cartype); 79 | ts.commit(); 80 | session.close(); 81 | } 82 | //修改车辆 83 | public void updatecartype(CartypeBean cartype) 84 | { 85 | Session session = hibernateUtil.getSession(); 86 | Transaction ts = session.beginTransaction(); 87 | session.update(cartype); 88 | ts.commit(); 89 | session.close(); 90 | } 91 | 92 | } -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/dao/DeptDao.java: -------------------------------------------------------------------------------- 1 | package com.workit.dao; 2 | 3 | import java.sql.Connection; 4 | import java.sql.PreparedStatement; 5 | import java.sql.ResultSet; 6 | import java.sql.SQLException; 7 | import java.util.ArrayList; 8 | import java.util.List; 9 | 10 | import org.hibernate.Session; 11 | import org.hibernate.Transaction; 12 | 13 | import com.workit.bean.DeptBean; 14 | import com.workit.bean.PowerBean; 15 | import com.workit.util.UserUtil; 16 | import com.workit.util.hibernateUtil; 17 | 18 | public class DeptDao { 19 | 20 | public List findalldept() 21 | { 22 | List listdept = new ArrayList(); 23 | Session session = hibernateUtil.getSession(); 24 | listdept = session.createQuery("from DeptBean").list(); 25 | session.close(); 26 | return listdept; 27 | } 28 | //根据id查询当前部门 29 | public DeptBean findCurrdept(Byte deptid) 30 | { 31 | DeptBean dept = null; 32 | Session session = hibernateUtil.getSession(); 33 | dept = (DeptBean)session.get(DeptBean.class, deptid); 34 | session.close(); 35 | return dept; 36 | } 37 | 38 | //删除部门 39 | public void deletedept(Byte deptid) { 40 | Connection conn = UserUtil.getConnection(); 41 | PreparedStatement ps = null ; 42 | ResultSet rs = null; 43 | String sql = "delete t_dept where deptid = ?"; 44 | try { 45 | ps = conn.prepareStatement(sql); 46 | ps.setInt(1, deptid); 47 | ps.executeUpdate(); 48 | } catch (SQLException e) { 49 | // TODO Auto-generated catch block 50 | e.printStackTrace(); 51 | }finally{ 52 | UserUtil.CloseAll(conn, ps, rs); 53 | } 54 | } 55 | 56 | //添加部门 57 | public void savedept(DeptBean dept) 58 | { 59 | Session session = hibernateUtil.getSession(); 60 | Transaction ts = session.beginTransaction(); 61 | session.save(dept); 62 | ts.commit(); 63 | session.close(); 64 | } 65 | //修改权限 66 | public void updatedept(DeptBean dept) 67 | { 68 | Session session = hibernateUtil.getSession(); 69 | Transaction ts = session.beginTransaction(); 70 | session.update(dept); 71 | ts.commit(); 72 | session.close(); 73 | } 74 | 75 | } -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/dao/EndsetDao.java: -------------------------------------------------------------------------------- 1 | package com.workit.dao; 2 | 3 | import java.sql.Connection; 4 | import java.sql.PreparedStatement; 5 | import java.sql.ResultSet; 6 | import java.sql.SQLException; 7 | import java.util.ArrayList; 8 | import java.util.List; 9 | 10 | import org.hibernate.Session; 11 | import org.hibernate.Transaction; 12 | 13 | import com.workit.bean.CarBean; 14 | import com.workit.bean.EndsetBean; 15 | import com.workit.bean.OutsetBean; 16 | import com.workit.util.UserUtil; 17 | import com.workit.util.hibernateUtil; 18 | 19 | public class EndsetDao { 20 | 21 | 22 | public List findallendset() 23 | { 24 | List listendset = new ArrayList(); 25 | Session session = hibernateUtil.getSession(); 26 | listendset = session.createQuery("from EndsetBean").list(); 27 | session.close(); 28 | return listendset; 29 | } 30 | //根据id查询当前起点 31 | public EndsetBean findCurrendset(Integer endsetid) 32 | { 33 | EndsetBean endset = null; 34 | Session session = hibernateUtil.getSession(); 35 | endset = (EndsetBean)session.get(EndsetBean.class, endsetid); 36 | session.close(); 37 | return endset; 38 | } 39 | //删除起点 40 | public void deleteendset(Integer endsetid) { 41 | //this.deleterolepower(powerid); 42 | Connection conn = UserUtil.getConnection(); 43 | PreparedStatement ps = null ; 44 | ResultSet rs = null; 45 | String sql = "delete t_endset where endsetid = ?"; 46 | try { 47 | ps = conn.prepareStatement(sql); 48 | ps.setInt(1, endsetid); 49 | ps.executeUpdate(); 50 | } catch (SQLException e) { 51 | // TODO Auto-generated catch block 52 | e.printStackTrace(); 53 | }finally{ 54 | UserUtil.CloseAll(conn, ps, rs); 55 | } 56 | } 57 | //添加起点 58 | public void saveendset(EndsetBean endset) 59 | { 60 | Session session = hibernateUtil.getSession(); 61 | Transaction ts = session.beginTransaction(); 62 | session.save(endset); 63 | ts.commit(); 64 | session.close(); 65 | } 66 | //修改起点 67 | public void updateendset(EndsetBean endset) 68 | { 69 | Session session = hibernateUtil.getSession(); 70 | Transaction ts = session.beginTransaction(); 71 | session.update(endset); 72 | ts.commit(); 73 | session.close(); 74 | } 75 | 76 | } -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/dao/OrderDao.java: -------------------------------------------------------------------------------- 1 | package com.workit.dao; 2 | 3 | import java.sql.Connection; 4 | import java.sql.PreparedStatement; 5 | import java.sql.ResultSet; 6 | import java.sql.SQLException; 7 | import java.util.ArrayList; 8 | import java.util.List; 9 | 10 | import org.hibernate.Session; 11 | import org.hibernate.Transaction; 12 | 13 | import com.workit.bean.CarBean; 14 | import com.workit.bean.EndsetBean; 15 | import com.workit.bean.OutsetBean; 16 | import com.workit.bean.UserBean; 17 | import com.workit.bean.orderBean; 18 | import com.workit.util.UserUtil; 19 | import com.workit.util.hibernateUtil; 20 | 21 | public class OrderDao { 22 | 23 | 24 | public List findallorder() 25 | { 26 | List listorder = new ArrayList(); 27 | Session session = hibernateUtil.getSession(); 28 | listorder = session.createQuery("from orderBean").list(); 29 | session.close(); 30 | return listorder; 31 | } 32 | //根据id查询当前起点 33 | public orderBean findCurrorder(Integer orderid) 34 | { 35 | orderBean order = null; 36 | Session session = hibernateUtil.getSession(); 37 | order = (orderBean)session.get(orderBean.class, orderid); 38 | session.close(); 39 | return order; 40 | } 41 | //删除起点 42 | public void deleteorder(Integer orderid) { 43 | Session session = hibernateUtil.getSession(); 44 | Transaction ts = session.beginTransaction(); 45 | orderBean order =findCurrorder(orderid); 46 | if(order!= null) 47 | session.delete(order); 48 | ts.commit(); 49 | session.close(); 50 | } 51 | // //this.deleterolepower(powerid); 52 | // Connection conn = UserUtil.getConnection(); 53 | // PreparedStatement ps = null ; 54 | // ResultSet rs = null; 55 | // String sql = "delete t_order where orderid =?"; 56 | // try { 57 | // ps = conn.prepareStatement(sql); 58 | // ps.setInt(1, orderid); 59 | // ps.executeUpdate(); 60 | // } catch (SQLException e) { 61 | // // TODO Auto-generated catch block 62 | // e.printStackTrace(); 63 | // }finally{ 64 | // UserUtil.CloseAll(conn, ps, rs); 65 | // } 66 | // } 67 | //添加起点 68 | public void saveorder(orderBean order) 69 | { 70 | Session session = hibernateUtil.getSession(); 71 | Transaction ts = session.beginTransaction(); 72 | session.save(order); 73 | ts.commit(); 74 | session.close(); 75 | } 76 | //修改起点 77 | public void updateorder(orderBean order) 78 | { 79 | Session session = hibernateUtil.getSession(); 80 | Transaction ts = session.beginTransaction(); 81 | session.update(order); 82 | ts.commit(); 83 | session.close(); 84 | } 85 | 86 | } -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/dao/OutsetDao.java: -------------------------------------------------------------------------------- 1 | package com.workit.dao; 2 | 3 | import java.sql.Connection; 4 | import java.sql.PreparedStatement; 5 | import java.sql.ResultSet; 6 | import java.sql.SQLException; 7 | import java.util.ArrayList; 8 | import java.util.List; 9 | 10 | import org.hibernate.Session; 11 | import org.hibernate.Transaction; 12 | 13 | import com.workit.bean.CarBean; 14 | import com.workit.bean.OutsetBean; 15 | import com.workit.util.UserUtil; 16 | import com.workit.util.hibernateUtil; 17 | 18 | public class OutsetDao { 19 | 20 | 21 | public List findalloutset() 22 | { 23 | List listoutset = new ArrayList(); 24 | Session session = hibernateUtil.getSession(); 25 | listoutset = session.createQuery("from OutsetBean").list(); 26 | session.close(); 27 | return listoutset; 28 | } 29 | //根据id查询当前起点 30 | public OutsetBean findCurroutset(Integer outsetid) 31 | { 32 | OutsetBean outset = null; 33 | Session session = hibernateUtil.getSession(); 34 | outset = (OutsetBean)session.get(OutsetBean.class, outsetid); 35 | session.close(); 36 | return outset; 37 | } 38 | //删除起点 39 | public void deleteoutset(Integer outsetid) { 40 | //this.deleterolepower(powerid); 41 | Connection conn = UserUtil.getConnection(); 42 | PreparedStatement ps = null ; 43 | ResultSet rs = null; 44 | String sql = "delete t_outset where outsetid = ?"; 45 | try { 46 | ps = conn.prepareStatement(sql); 47 | ps.setInt(1, outsetid); 48 | ps.executeUpdate(); 49 | } catch (SQLException e) { 50 | // TODO Auto-generated catch block 51 | e.printStackTrace(); 52 | }finally{ 53 | UserUtil.CloseAll(conn, ps, rs); 54 | } 55 | } 56 | //添加起点 57 | public void saveoutset(OutsetBean outset) 58 | { 59 | Session session = hibernateUtil.getSession(); 60 | Transaction ts = session.beginTransaction(); 61 | session.save(outset); 62 | ts.commit(); 63 | session.close(); 64 | } 65 | //修改起点 66 | public void updateoutset(OutsetBean outset) 67 | { 68 | Session session = hibernateUtil.getSession(); 69 | Transaction ts = session.beginTransaction(); 70 | session.update(outset); 71 | ts.commit(); 72 | session.close(); 73 | } 74 | 75 | } -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/dao/PowerDao.java: -------------------------------------------------------------------------------- 1 | package com.workit.dao; 2 | 3 | import java.sql.Connection; 4 | import java.sql.PreparedStatement; 5 | import java.sql.ResultSet; 6 | import java.sql.SQLException; 7 | import java.util.ArrayList; 8 | import java.util.List; 9 | 10 | import org.hibernate.Session; 11 | import org.hibernate.Transaction; 12 | 13 | import com.workit.bean.PowerBean; 14 | import com.workit.bean.RoleBean; 15 | import com.workit.util.UserUtil; 16 | import com.workit.util.hibernateUtil; 17 | 18 | public class PowerDao { 19 | 20 | 21 | public List findallpower() 22 | { 23 | List listpower = new ArrayList(); 24 | Session session = hibernateUtil.getSession(); 25 | listpower = session.createQuery("from PowerBean").list(); 26 | session.close(); 27 | return listpower; 28 | } 29 | //根据id查询当前用户权限 30 | public PowerBean findCurrupower(Integer powerid) 31 | { 32 | PowerBean power = null; 33 | Session session = hibernateUtil.getSession(); 34 | power = (PowerBean)session.get(PowerBean.class, powerid); 35 | session.close(); 36 | return power; 37 | } 38 | 39 | //删除权限 40 | public void deleterolepower(Integer powerid) { 41 | Connection conn = UserUtil.getConnection(); 42 | PreparedStatement ps = null ; 43 | ResultSet rs = null; 44 | String sql = "delete t_role_power where powerid = ?"; 45 | try { 46 | ps = conn.prepareStatement(sql); 47 | ps.setInt(1, powerid); 48 | ps.executeUpdate(); 49 | } catch (SQLException e) { 50 | // TODO Auto-generated catch block 51 | e.printStackTrace(); 52 | }finally{ 53 | UserUtil.CloseAll(conn, ps, rs); 54 | } 55 | } 56 | //删除权限 57 | public void deletepower(Integer powerid) { 58 | this.deleterolepower(powerid); 59 | Connection conn = UserUtil.getConnection(); 60 | PreparedStatement ps = null ; 61 | ResultSet rs = null; 62 | String sql = "delete t_power where powerid = ?"; 63 | try { 64 | ps = conn.prepareStatement(sql); 65 | ps.setInt(1, powerid); 66 | ps.executeUpdate(); 67 | } catch (SQLException e) { 68 | // TODO Auto-generated catch block 69 | e.printStackTrace(); 70 | }finally{ 71 | UserUtil.CloseAll(conn, ps, rs); 72 | } 73 | } 74 | //添加权限 75 | public void savepower(PowerBean power) 76 | { 77 | Session session = hibernateUtil.getSession(); 78 | Transaction ts = session.beginTransaction(); 79 | session.save(power); 80 | ts.commit(); 81 | session.close(); 82 | } 83 | //修改权限 84 | public void updatepower(PowerBean power) 85 | { 86 | Session session = hibernateUtil.getSession(); 87 | Transaction ts = session.beginTransaction(); 88 | session.update(power); 89 | ts.commit(); 90 | session.close(); 91 | } 92 | 93 | } -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/dao/RoleDao.java: -------------------------------------------------------------------------------- 1 | package com.workit.dao; 2 | 3 | import java.sql.Connection; 4 | import java.sql.PreparedStatement; 5 | import java.sql.ResultSet; 6 | import java.sql.SQLException; 7 | import java.util.ArrayList; 8 | import java.util.List; 9 | import java.util.Set; 10 | 11 | import org.hibernate.Session; 12 | import org.hibernate.Transaction; 13 | 14 | 15 | import com.workit.bean.PowerBean; 16 | import com.workit.bean.RoleBean; 17 | import com.workit.bean.UserBean; 18 | import com.workit.util.UserUtil; 19 | import com.workit.util.hibernateUtil; 20 | 21 | public class RoleDao { 22 | public List findallrole() 23 | { 24 | List listrole = new ArrayList(); 25 | Session session = hibernateUtil.getSession(); 26 | listrole = session.createQuery("from RoleBean").list(); 27 | session.close(); 28 | return listrole; 29 | } 30 | 31 | //根据id查询当前用户角色 32 | public RoleBean findCurrurole(Integer roleid) 33 | { 34 | RoleBean role = null; 35 | Session session = hibernateUtil.getSession(); 36 | role = (RoleBean)session.get(RoleBean.class, roleid); 37 | session.close(); 38 | return role; 39 | } 40 | 41 | //根据id查询当前用户角色赋予权限 42 | public RoleBean givepower(Integer roleid) 43 | { 44 | RoleBean role = null; 45 | Session session = hibernateUtil.getSession(); 46 | role = (RoleBean)session.get(RoleBean.class, roleid); 47 | session.close(); 48 | return role; 49 | } 50 | //删除角色 51 | public void deleteRole(Integer roleid) { 52 | Session session = hibernateUtil.getSession(); 53 | Transaction ts = session.beginTransaction(); 54 | RoleBean role =findCurrurole(roleid); 55 | if(role!= null) 56 | session.delete(role); 57 | ts.commit(); 58 | session.close(); 59 | } 60 | //添加角色 61 | public void saveRole(RoleBean role) 62 | { 63 | Session session = hibernateUtil.getSession(); 64 | Transaction ts = session.beginTransaction(); 65 | session.save(role); 66 | ts.commit(); 67 | session.close(); 68 | } 69 | //修改角色 70 | public void updateRole(RoleBean role) 71 | { 72 | Session session = hibernateUtil.getSession(); 73 | Transaction ts = session.beginTransaction(); 74 | session.update(role); 75 | ts.commit(); 76 | session.close(); 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/dao/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.workit.dao; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | import org.hibernate.Session; 7 | import org.hibernate.Transaction; 8 | 9 | import com.workit.bean.UserBean; 10 | import com.workit.util.hibernateUtil; 11 | 12 | public class UserDao { 13 | 14 | //验证登陆 15 | public UserBean isExistUser(UserBean user){ 16 | UserBean curruser = null; 17 | Session session = hibernateUtil.getSession(); 18 | String hql = "from UserBean user where user.username=? and user.password=?"; 19 | curruser =(UserBean)session.createQuery(hql) 20 | .setString(0, user.getUsername()) 21 | .setString(1, user.getPassword()).uniqueResult(); 22 | session.close(); 23 | return curruser; 24 | } 25 | //查询所有的用户 26 | public List findalluser() { 27 | List listuser =new ArrayList(); 28 | Session session = hibernateUtil.getSession(); 29 | listuser = session.createQuery("from UserBean").list(); 30 | session.close(); 31 | return listuser; 32 | 33 | } 34 | //根据id查询当前用户 35 | public UserBean findCurruser(short userid) 36 | { 37 | UserBean user = null; 38 | Session session = hibernateUtil.getSession(); 39 | user = (UserBean)session.get(UserBean.class, userid); 40 | session.close(); 41 | return user; 42 | } 43 | //删除用户 44 | public void deleteUser(short userid) { 45 | Session session = hibernateUtil.getSession(); 46 | Transaction ts = session.beginTransaction(); 47 | UserBean user =findCurruser(userid); 48 | if(user!= null) 49 | session.delete(user); 50 | ts.commit(); 51 | session.close(); 52 | } 53 | //添加用户 54 | public void saveUser(UserBean user) 55 | { 56 | Session session = hibernateUtil.getSession(); 57 | Transaction ts = session.beginTransaction(); 58 | session.save(user); 59 | ts.commit(); 60 | session.close(); 61 | } 62 | //修改用户 63 | public void updateUser(UserBean user) 64 | { 65 | Session session = hibernateUtil.getSession(); 66 | Transaction ts = session.beginTransaction(); 67 | session.update(user); 68 | ts.commit(); 69 | session.close(); 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/util/UserUtil.java: -------------------------------------------------------------------------------- 1 | package com.workit.util; 2 | 3 | import java.sql.Connection; 4 | import java.sql.DriverManager; 5 | import java.sql.ResultSet; 6 | import java.sql.SQLException; 7 | import java.sql.Statement; 8 | 9 | 10 | public class UserUtil { 11 | 12 | public static String url="jdbc:oracle:thin:@localhost:1521/oracle"; 13 | public static String drivename = "oracle.jdbc.driver.OracleDriver"; 14 | public static String user="huasdoc"; 15 | public static String password="huasdoc"; 16 | 17 | 18 | public static Connection conn=null; 19 | public static Statement stat =null; 20 | public static ResultSet rs=null; 21 | //�÷�����ƶ������һ���ҽ�����һ�ε��� 22 | static { 23 | try { 24 | Class.forName(drivename); 25 | } catch (ClassNotFoundException e) { 26 | // TODO Auto-generated catch block 27 | e.printStackTrace(); 28 | } 29 | } 30 | 31 | //����������ݿ�ķ��� 32 | 33 | public static Connection getConnection(){ 34 | 35 | try { 36 | conn=DriverManager.getConnection(url, user, password); 37 | } catch (SQLException e) { 38 | // TODO Auto-generated catch block 39 | e.printStackTrace(); 40 | } 41 | return conn; 42 | } 43 | //�����ر���ݿ���Դ�ķ��� 44 | public static void CloseAll(Connection conn, Statement stat ,ResultSet rs ){ 45 | 46 | try { 47 | if (rs!=null){ 48 | rs.close(); 49 | 50 | if (stat!=null){ 51 | stat.close(); 52 | } 53 | 54 | if (conn!=null){ 55 | conn.close(); 56 | } 57 | } 58 | } catch (SQLException e) { 59 | // TODO Auto-generated catch block 60 | e.printStackTrace(); 61 | } 62 | } 63 | } 64 | 65 | 66 | -------------------------------------------------------------------------------- /whuasdoc/src/com/workit/util/hibernateUtil.java: -------------------------------------------------------------------------------- 1 | package com.workit.util; 2 | 3 | import org.hibernate.Session; 4 | import org.hibernate.SessionFactory; 5 | import org.hibernate.cfg.Configuration; 6 | 7 | public class hibernateUtil { 8 | public static Session session; 9 | public static SessionFactory sf; 10 | static 11 | { 12 | Configuration cfg = new Configuration().configure(); 13 | sf = cfg.buildSessionFactory(); 14 | } 15 | public static Session getSession() 16 | { 17 | session = sf.openSession(); 18 | return session; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /whuasdoc/src/hibernate.cfg.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | huasdoc 11 | 12 | jdbc:oracle:thin:@localhost:1521:oracle 13 | 14 | huasdoc 15 | huasdoc 16 | 17 | oracle.jdbc.driver.OracleDriver 18 | 19 | 20 | org.hibernate.dialect.Oracle9Dialect 21 | 22 | true 23 | true 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /作品操作使用说明.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/作品操作使用说明.docx -------------------------------------------------------------------------------- /制作调试过程及数据记录.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/制作调试过程及数据记录.docx -------------------------------------------------------------------------------- /系统设计详细过程及步骤.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yocaning/Logistics-Management-System-Java-/3fb1ebd656a80b2869de82d54f6c62d32db165e0/系统设计详细过程及步骤.docx --------------------------------------------------------------------------------