├── README.md ├── 代码 └── ssms │ ├── .classpath │ ├── .mymetadata │ ├── .project │ ├── .settings │ ├── .jsdtscope │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.jsdt.ui.superType.container │ └── org.eclipse.wst.jsdt.ui.superType.name │ ├── WebRoot │ ├── 404.jsp │ ├── 500.jsp │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── classes │ │ │ ├── c3p0-config.xml │ │ │ ├── com │ │ │ │ └── lizhou │ │ │ │ │ ├── bean │ │ │ │ │ ├── Clazz.class │ │ │ │ │ ├── Course.class │ │ │ │ │ ├── CourseItem.class │ │ │ │ │ ├── EScore.class │ │ │ │ │ ├── Exam.class │ │ │ │ │ ├── Grade.class │ │ │ │ │ ├── Page.class │ │ │ │ │ ├── Student.class │ │ │ │ │ ├── SystemInfo.class │ │ │ │ │ ├── Teacher.class │ │ │ │ │ └── User.class │ │ │ │ │ ├── dao │ │ │ │ │ ├── impl │ │ │ │ │ │ ├── BaseDaoImpl.class │ │ │ │ │ │ ├── ClazzDaoImpl.class │ │ │ │ │ │ ├── ExamDaoImpl.class │ │ │ │ │ │ ├── PhotoDaoImpl.class │ │ │ │ │ │ ├── ScoreDaoImpl.class │ │ │ │ │ │ ├── StudentDaoImpl.class │ │ │ │ │ │ ├── SystemDaoImpl.class │ │ │ │ │ │ └── TeacherDaoImpl.class │ │ │ │ │ └── inter │ │ │ │ │ │ ├── BaseDaoInter.class │ │ │ │ │ │ ├── ClazzDaoInter.class │ │ │ │ │ │ ├── ExamDaoInter.class │ │ │ │ │ │ ├── PhotoDaoInter.class │ │ │ │ │ │ ├── ScoreDaoInter.class │ │ │ │ │ │ ├── StudentDaoInter.class │ │ │ │ │ │ ├── SystemDaoInter.class │ │ │ │ │ │ └── TeacherDaoInter.class │ │ │ │ │ ├── filter │ │ │ │ │ ├── EncodeFilter.class │ │ │ │ │ └── VisitFilter.class │ │ │ │ │ ├── listener │ │ │ │ │ └── SystemInitListener.class │ │ │ │ │ ├── service │ │ │ │ │ ├── ClazzService.class │ │ │ │ │ ├── CourseService.class │ │ │ │ │ ├── ExamService.class │ │ │ │ │ ├── GradeService.class │ │ │ │ │ ├── PhotoService.class │ │ │ │ │ ├── ScoreService.class │ │ │ │ │ ├── StudentService.class │ │ │ │ │ ├── SystemService.class │ │ │ │ │ └── TeacherService.class │ │ │ │ │ ├── servlet │ │ │ │ │ ├── ClazzServlet.class │ │ │ │ │ ├── CourseServlet.class │ │ │ │ │ ├── ExamServlet.class │ │ │ │ │ ├── GradeServlet.class │ │ │ │ │ ├── LoginServlet.class │ │ │ │ │ ├── PhotoServlet.class │ │ │ │ │ ├── ScoreServlet.class │ │ │ │ │ ├── StudentServlet.class │ │ │ │ │ ├── SystemServlet.class │ │ │ │ │ └── TeacherServlet.class │ │ │ │ │ └── tools │ │ │ │ │ ├── ExcelTool.class │ │ │ │ │ ├── MysqlTool.class │ │ │ │ │ ├── StringTool.class │ │ │ │ │ └── VCodeGenerator.class │ │ │ ├── db.properties │ │ │ └── log4j.properties │ │ ├── lib │ │ │ ├── FilelLoad.jar │ │ │ ├── c3p0-0.9.1.2.jar │ │ │ ├── commons-beanutils-1.8.0.jar │ │ │ ├── commons-beanutils-1.8.3.jar │ │ │ ├── commons-collections-3.2.1.jar │ │ │ ├── commons-dbutils-1.6.jar │ │ │ ├── commons-fileupload-1.2.1.jar │ │ │ ├── commons-io-1.4.jar │ │ │ ├── commons-lang-2.5.jar │ │ │ ├── commons-logging-1.1.1.jar │ │ │ ├── commons-logging.jar │ │ │ ├── commons-pool-1.6.jar │ │ │ ├── ezmorph-1.0.6.jar │ │ │ ├── json-lib-2.3-jdk15.jar │ │ │ ├── jsonplugin-0.34.jar │ │ │ ├── jstl.jar │ │ │ ├── morph-1.1.1.jar │ │ │ ├── morph-sandbox-1.1.1.jar │ │ │ ├── mysql-connector-java-5.1.7-bin.jar │ │ │ ├── poi-3.8-20120326.jar │ │ │ ├── poi-excelant-3.8-20120326.jar │ │ │ ├── poi-ooxml-3.8-20120326.jar │ │ │ ├── poi-scratchpad-3.8-20120326.jar │ │ │ ├── servlet-api.jar │ │ │ └── standard.jar │ │ ├── view │ │ │ ├── admin │ │ │ │ ├── admin.jsp │ │ │ │ ├── adminPersonal.jsp │ │ │ │ └── welcome.jsp │ │ │ ├── login.jsp │ │ │ ├── other │ │ │ │ ├── clazzList.jsp │ │ │ │ ├── courseList.jsp │ │ │ │ ├── examList.jsp │ │ │ │ └── gradeList.jsp │ │ │ ├── student │ │ │ │ ├── examStudentList.jsp │ │ │ │ ├── student.jsp │ │ │ │ ├── studentList.jsp │ │ │ │ ├── studentNoteList.jsp │ │ │ │ ├── studentPersonal.jsp │ │ │ │ └── welcome.jsp │ │ │ └── teacher │ │ │ │ ├── examTeacherList.jsp │ │ │ │ ├── teacher.jsp │ │ │ │ ├── teacherList.jsp │ │ │ │ ├── teacherNoteList.jsp │ │ │ │ ├── teacherPersonal.jsp │ │ │ │ └── welcome.jsp │ │ └── web.xml │ ├── easyui │ │ ├── css │ │ │ ├── default.css │ │ │ └── demo.css │ │ ├── jquery.easyui.min.js │ │ ├── jquery.min.js │ │ ├── js │ │ │ ├── outlook2.js │ │ │ └── validateExtends.js │ │ └── themes │ │ │ ├── color.css │ │ │ ├── default │ │ │ ├── accordion.css │ │ │ ├── calendar.css │ │ │ ├── combo.css │ │ │ ├── combobox.css │ │ │ ├── datagrid.css │ │ │ ├── datalist.css │ │ │ ├── datebox.css │ │ │ ├── dialog.css │ │ │ ├── easyui.css │ │ │ ├── filebox.css │ │ │ ├── images │ │ │ │ ├── accordion_arrows.png │ │ │ │ ├── blank.gif │ │ │ │ ├── calendar_arrows.png │ │ │ │ ├── combo_arrow.png │ │ │ │ ├── datagrid_icons.png │ │ │ │ ├── datebox_arrow.png │ │ │ │ ├── layout_arrows.png │ │ │ │ ├── linkbutton_bg.png │ │ │ │ ├── loading.gif │ │ │ │ ├── menu_arrows.png │ │ │ │ ├── messager_icons.png │ │ │ │ ├── pagination_icons.png │ │ │ │ ├── panel_tools.png │ │ │ │ ├── searchbox_button.png │ │ │ │ ├── slider_handle.png │ │ │ │ ├── spinner_arrows.png │ │ │ │ ├── tabs_icons.png │ │ │ │ ├── tree_icons.png │ │ │ │ └── validatebox_warning.png │ │ │ ├── layout.css │ │ │ ├── linkbutton.css │ │ │ ├── menu.css │ │ │ ├── menubutton.css │ │ │ ├── messager.css │ │ │ ├── numberbox.css │ │ │ ├── pagination.css │ │ │ ├── panel.css │ │ │ ├── progressbar.css │ │ │ ├── propertygrid.css │ │ │ ├── searchbox.css │ │ │ ├── slider.css │ │ │ ├── spinner.css │ │ │ ├── splitbutton.css │ │ │ ├── tabs.css │ │ │ ├── textbox.css │ │ │ ├── tooltip.css │ │ │ ├── tree.css │ │ │ ├── validatebox.css │ │ │ └── window.css │ │ │ ├── icon.css │ │ │ ├── icons │ │ │ ├── 2012080412263.png │ │ │ ├── asterisk_orange.png │ │ │ ├── back.png │ │ │ ├── basket_remove.png │ │ │ ├── blank.gif │ │ │ ├── book_add.png │ │ │ ├── book_open_mark.png │ │ │ ├── book_previous.png │ │ │ ├── cancel.png │ │ │ ├── chart_bar.png │ │ │ ├── clear.png │ │ │ ├── cut.png │ │ │ ├── door_out.png │ │ │ ├── edit_add.png │ │ │ ├── edit_remove.png │ │ │ ├── filesave.png │ │ │ ├── filter.png │ │ │ ├── find.png │ │ │ ├── folder_up.png │ │ │ ├── help.png │ │ │ ├── house.png │ │ │ ├── large_chart.png │ │ │ ├── large_clipart.png │ │ │ ├── large_picture.png │ │ │ ├── large_shapes.png │ │ │ ├── large_smartart.png │ │ │ ├── lock.png │ │ │ ├── man.png │ │ │ ├── mini_add.png │ │ │ ├── mini_edit.png │ │ │ ├── mini_refresh.png │ │ │ ├── more.png │ │ │ ├── no.png │ │ │ ├── note.png │ │ │ ├── ok.png │ │ │ ├── pencil.png │ │ │ ├── pencil_add.png │ │ │ ├── print.png │ │ │ ├── redo.png │ │ │ ├── reload.png │ │ │ ├── search.png │ │ │ ├── set.png │ │ │ ├── sum.png │ │ │ ├── text_list_bullets.png │ │ │ ├── text_list_numbers.png │ │ │ ├── tip.png │ │ │ ├── undo.png │ │ │ ├── user_add.png │ │ │ ├── user_gray.png │ │ │ ├── user_red.png │ │ │ ├── vcard_edit.png │ │ │ ├── world.png │ │ │ ├── world_add.png │ │ │ ├── world_night.png │ │ │ └── zoom_in.png │ │ │ └── locale │ │ │ └── easyui-lang-zh_CN.js │ ├── favicon.ico │ ├── h-ui │ │ ├── css │ │ │ ├── H-ui.css │ │ │ ├── H-ui.login.css │ │ │ └── H-ui.min.css │ │ ├── images │ │ │ ├── Thumbs.db │ │ │ ├── acrossTab-2bak.png │ │ │ ├── acrossTab-bg.png │ │ │ ├── acrossTab-close.png │ │ │ ├── acrossTab.png │ │ │ ├── admin-login-bg.jpg │ │ │ ├── admin-loginform-bg.png │ │ │ ├── gq │ │ │ │ ├── Thumbs.db │ │ │ │ ├── cn.gif │ │ │ │ ├── gj.png │ │ │ │ └── us.gif │ │ │ ├── hamburger-retina.gif │ │ │ ├── hamburger.gif │ │ │ ├── icon-add.png │ │ │ ├── icon_error_s.png │ │ │ ├── icon_jt2.png │ │ │ ├── icon_right_s.png │ │ │ ├── icon_warning_s.png │ │ │ ├── loading.gif │ │ │ ├── loading_072.gif │ │ │ ├── sort_asc.png │ │ │ ├── sort_both.png │ │ │ ├── sort_desc.png │ │ │ ├── totop.png │ │ │ └── user.png │ │ ├── js │ │ │ ├── H-ui.admin.js │ │ │ └── H-ui.js │ │ ├── lib │ │ │ ├── Hui-iconfont │ │ │ │ └── 1.0.1 │ │ │ │ │ ├── demo.html │ │ │ │ │ ├── iconfont.css │ │ │ │ │ ├── iconfont.eot │ │ │ │ │ ├── iconfont.svg │ │ │ │ │ ├── iconfont.ttf │ │ │ │ │ └── iconfont.woff │ │ │ ├── icheck │ │ │ │ ├── Thumbs.db │ │ │ │ ├── aero.png │ │ │ │ ├── aero@2x.png │ │ │ │ ├── blue.png │ │ │ │ ├── blue@2x.png │ │ │ │ ├── green.png │ │ │ │ ├── green@2x.png │ │ │ │ ├── grey.png │ │ │ │ ├── grey@2x.png │ │ │ │ ├── icheck.css │ │ │ │ ├── jquery.icheck.min.js │ │ │ │ ├── minimal.png │ │ │ │ ├── minimal@2x.png │ │ │ │ ├── orange.png │ │ │ │ ├── orange@2x.png │ │ │ │ ├── pink.png │ │ │ │ ├── pink@2x.png │ │ │ │ ├── purple.png │ │ │ │ ├── purple@2x.png │ │ │ │ ├── red.png │ │ │ │ ├── red@2x.png │ │ │ │ ├── yellow.png │ │ │ │ └── yellow@2x.png │ │ │ └── jquery │ │ │ │ └── 1.9.1 │ │ │ │ ├── jquery.js │ │ │ │ └── jquery.min.js │ │ └── skin │ │ │ └── default │ │ │ ├── Thumbs.db │ │ │ ├── acrossTab-bg.png │ │ │ ├── acrossTab.png │ │ │ ├── icon_arrow.png │ │ │ └── skin.css │ ├── index.jsp │ ├── photo │ │ ├── student.jpg │ │ └── teacher.jpg │ └── refresh.jsp │ └── src │ ├── c3p0-config.xml │ ├── com │ └── lizhou │ │ ├── bean │ │ ├── Clazz.java │ │ ├── Course.java │ │ ├── CourseItem.java │ │ ├── EScore.java │ │ ├── Exam.java │ │ ├── Grade.java │ │ ├── Page.java │ │ ├── Student.java │ │ ├── SystemInfo.java │ │ ├── Teacher.java │ │ └── User.java │ │ ├── dao │ │ ├── impl │ │ │ ├── BaseDaoImpl.java │ │ │ ├── ClazzDaoImpl.java │ │ │ ├── ExamDaoImpl.java │ │ │ ├── PhotoDaoImpl.java │ │ │ ├── ScoreDaoImpl.java │ │ │ ├── StudentDaoImpl.java │ │ │ ├── SystemDaoImpl.java │ │ │ └── TeacherDaoImpl.java │ │ └── inter │ │ │ ├── BaseDaoInter.java │ │ │ ├── ClazzDaoInter.java │ │ │ ├── ExamDaoInter.java │ │ │ ├── PhotoDaoInter.java │ │ │ ├── ScoreDaoInter.java │ │ │ ├── StudentDaoInter.java │ │ │ ├── SystemDaoInter.java │ │ │ └── TeacherDaoInter.java │ │ ├── filter │ │ ├── EncodeFilter.java │ │ └── VisitFilter.java │ │ ├── listener │ │ └── SystemInitListener.java │ │ ├── service │ │ ├── ClazzService.java │ │ ├── CourseService.java │ │ ├── ExamService.java │ │ ├── GradeService.java │ │ ├── PhotoService.java │ │ ├── ScoreService.java │ │ ├── StudentService.java │ │ ├── SystemService.java │ │ └── TeacherService.java │ │ ├── servlet │ │ ├── ClazzServlet.java │ │ ├── CourseServlet.java │ │ ├── ExamServlet.java │ │ ├── GradeServlet.java │ │ ├── LoginServlet.java │ │ ├── PhotoServlet.java │ │ ├── ScoreServlet.java │ │ ├── StudentServlet.java │ │ ├── SystemServlet.java │ │ └── TeacherServlet.java │ │ └── tools │ │ ├── ExcelTool.java │ │ ├── MysqlTool.java │ │ ├── StringTool.java │ │ └── VCodeGenerator.java │ ├── db.properties │ └── log4j.properties └── 数据库 └── ssms.sql /README.md: -------------------------------------------------------------------------------- 1 | # Javaweb-ssms 2 | 基于Javaweb的学生成绩管理系统(源码+数据库) 3 | -------------------------------------------------------------------------------- /代码/ssms/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 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 | -------------------------------------------------------------------------------- /代码/ssms/.mymetadata: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /代码/ssms/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ssms 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.wst.common.project.facet.core.builder 10 | 11 | 12 | 13 | 14 | org.eclipse.wst.jsdt.core.javascriptValidator 15 | 16 | 17 | 18 | 19 | com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.jdt.core.javabuilder 25 | 26 | 27 | 28 | 29 | com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator 30 | 31 | 32 | 33 | 34 | com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator 35 | 36 | 37 | 38 | 39 | org.eclipse.wst.validation.validationbuilder 40 | 41 | 42 | 43 | 44 | com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder 45 | 46 | 47 | 48 | 49 | 50 | com.genuitec.eclipse.ast.deploy.core.deploymentnature 51 | com.genuitec.eclipse.j2eedt.core.webnature 52 | org.eclipse.jdt.core.javanature 53 | org.eclipse.wst.jsdt.core.jsNature 54 | org.eclipse.wst.common.project.facet.core.nature 55 | org.eclipse.wst.common.modulecore.ModuleCoreNature 56 | 57 | 58 | -------------------------------------------------------------------------------- /代码/ssms/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /代码/ssms/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | #Fri Jul 06 12:15:46 CST 2018 2 | eclipse.preferences.version=1 3 | encoding//WebContent/h-ui/css/H-ui.min.css=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /代码/ssms/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 4 | org.eclipse.jdt.core.compiler.compliance=1.7 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.7 8 | -------------------------------------------------------------------------------- /代码/ssms/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /代码/ssms/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /代码/ssms/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /代码/ssms/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /代码/ssms/WebRoot/404.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" isErrorPage="true" 2 | pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 不好意思您访问的页面不存在 8 | 9 | 10 | 11 | 12 |
13 |

404

14 |

不好意思,您访问的页面不存在~

15 |
16 | 17 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/500.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" isErrorPage="true" 2 | pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 服务端错误 8 | 9 | 10 | 11 | 12 |
13 |

500

14 |

不好意思,服务端错误啦~

15 |
16 | 17 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/c3p0-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | com.mysql.jdbc.Driver 5 | jdbc:mysql://localhost:3306/ssms?characterEncoding=utf-8 6 | root 7 | 123456 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/Clazz.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/Clazz.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/Course.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/Course.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/CourseItem.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/CourseItem.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/EScore.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/EScore.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/Exam.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/Exam.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/Grade.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/Grade.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/Page.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/Page.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/Student.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/SystemInfo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/SystemInfo.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/Teacher.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/Teacher.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/bean/User.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/impl/BaseDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/impl/BaseDaoImpl.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/impl/ClazzDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/impl/ClazzDaoImpl.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/impl/ExamDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/impl/ExamDaoImpl.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/impl/PhotoDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/impl/PhotoDaoImpl.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/impl/ScoreDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/impl/ScoreDaoImpl.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/impl/StudentDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/impl/StudentDaoImpl.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/impl/SystemDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/impl/SystemDaoImpl.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/impl/TeacherDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/impl/TeacherDaoImpl.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/inter/BaseDaoInter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/inter/BaseDaoInter.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/inter/ClazzDaoInter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/inter/ClazzDaoInter.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/inter/ExamDaoInter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/inter/ExamDaoInter.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/inter/PhotoDaoInter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/inter/PhotoDaoInter.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/inter/ScoreDaoInter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/inter/ScoreDaoInter.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/inter/StudentDaoInter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/inter/StudentDaoInter.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/inter/SystemDaoInter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/inter/SystemDaoInter.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/inter/TeacherDaoInter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/dao/inter/TeacherDaoInter.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/filter/EncodeFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/filter/EncodeFilter.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/filter/VisitFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/filter/VisitFilter.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/listener/SystemInitListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/listener/SystemInitListener.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/ClazzService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/ClazzService.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/CourseService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/CourseService.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/ExamService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/ExamService.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/GradeService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/GradeService.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/PhotoService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/PhotoService.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/ScoreService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/ScoreService.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/StudentService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/StudentService.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/SystemService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/SystemService.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/TeacherService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/service/TeacherService.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/ClazzServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/ClazzServlet.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/CourseServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/CourseServlet.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/ExamServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/ExamServlet.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/GradeServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/GradeServlet.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/LoginServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/LoginServlet.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/PhotoServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/PhotoServlet.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/ScoreServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/ScoreServlet.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/StudentServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/StudentServlet.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/SystemServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/SystemServlet.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/TeacherServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/servlet/TeacherServlet.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/tools/ExcelTool.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/tools/ExcelTool.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/tools/MysqlTool.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/tools/MysqlTool.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/tools/StringTool.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/tools/StringTool.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/tools/VCodeGenerator.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/classes/com/lizhou/tools/VCodeGenerator.class -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/db.properties: -------------------------------------------------------------------------------- 1 | jdbc.driverClassName=com.mysql.jdbc.Driver 2 | jdbc.url=jdbc:mysql://localhost:3306/ssms?characterEncoding=utf-8 3 | jdbc.username=root 4 | jdbc.password= -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/classes/log4j.properties: -------------------------------------------------------------------------------- 1 | # Global logging configuration 2 | log4j.rootLogger=error, stdout 3 | # Console output... 4 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 5 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 6 | log4j.appender.stdout.layout.ConversionPattern=%5p [%t] - %m%n -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/FilelLoad.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/FilelLoad.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/c3p0-0.9.1.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/c3p0-0.9.1.2.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/commons-beanutils-1.8.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/commons-beanutils-1.8.0.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/commons-beanutils-1.8.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/commons-beanutils-1.8.3.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/commons-collections-3.2.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/commons-collections-3.2.1.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/commons-dbutils-1.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/commons-dbutils-1.6.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/commons-fileupload-1.2.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/commons-fileupload-1.2.1.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/commons-io-1.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/commons-io-1.4.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/commons-lang-2.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/commons-lang-2.5.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/commons-logging-1.1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/commons-logging-1.1.1.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/commons-logging.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/commons-logging.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/commons-pool-1.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/commons-pool-1.6.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/ezmorph-1.0.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/ezmorph-1.0.6.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/json-lib-2.3-jdk15.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/json-lib-2.3-jdk15.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/jsonplugin-0.34.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/jsonplugin-0.34.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/jstl.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/jstl.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/morph-1.1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/morph-1.1.1.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/morph-sandbox-1.1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/morph-sandbox-1.1.1.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/mysql-connector-java-5.1.7-bin.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/mysql-connector-java-5.1.7-bin.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/poi-3.8-20120326.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/poi-3.8-20120326.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/poi-excelant-3.8-20120326.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/poi-excelant-3.8-20120326.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/poi-ooxml-3.8-20120326.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/poi-ooxml-3.8-20120326.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/poi-scratchpad-3.8-20120326.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/poi-scratchpad-3.8-20120326.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/servlet-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/servlet-api.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/lib/standard.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/WEB-INF/lib/standard.jar -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/view/admin/admin.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" 2 | pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 学生成绩管理系统 管理员后台 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 49 | 50 | 51 | 52 | 57 |
60 | ${user.name} 您好   安全退出 61 | 学生成绩管理系统 62 |
63 |
64 | 65 |
66 |
67 | 70 | 71 |
72 |
73 |
74 | 75 |
76 |
77 | 78 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/view/admin/welcome.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" 2 | pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 9 | 10 | 11 |
12 |

${systemInfo.schoolName}

13 |

欢迎使用学生成绩管理系统

14 |

开发人员:陈政

15 |
16 |

系统环境

17 |

系统环境:Windows 10

18 |

开发工具:MyEclipse 10

19 |

Java版本:JDK 1.7

20 |

服务器:tomcat 8

21 |

数据库:MySQL 5.7.5

22 |

系统采用技术: Servlet+Jsp+Jdbc+EasyUI+jQuery+Ajax

23 |
24 | 25 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/view/student/student.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" 2 | pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 学生端|学生成绩管理系统 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 37 | 38 | 39 | 40 | 45 |
48 | ${user.name} 您好   安全退出 49 | 学生成绩管理系统|学生端 50 |
51 |
52 | 53 |
54 |
55 | 58 | 59 |
60 |
61 |
62 | 63 |
64 |
65 | 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/view/student/welcome.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" 2 | pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 9 | 10 | 11 |
12 |

${systemInfo.schoolName}

13 |

欢迎使用学生成绩管理系统

14 | 15 |
16 |

最新通知:

17 |

${systemInfo.noticeStudent}

18 |
19 | 20 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/view/teacher/teacher.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" 2 | pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 教师端|学生成绩管理系统 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 37 | 38 | 39 | 40 | 45 |
48 | ${user.name} 您好   安全退出 49 | 学生成绩管理系统|教师端 50 |
51 |
52 | 53 |
54 |
55 | 58 | 59 |
60 |
61 |
62 | 63 |
64 |
65 | 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/WEB-INF/view/teacher/welcome.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" 2 | pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 9 | 10 | 11 |
12 |

${systemInfo.schoolName}

13 |

欢迎使用学生成绩管理系统

14 | 15 |
16 |

最新通知:

17 |

${systemInfo.noticeTeacher}

18 |
19 | 20 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/css/default.css: -------------------------------------------------------------------------------- 1 | *{font-size:12px; font-family:Tahoma,Verdana,微软雅黑,新宋体} 2 | body{background:#D2E0F2; } 3 | a{ color:Black; text-decoration:none;} 4 | a:hover{ color:Red; text-decoration:underline;} 5 | .textbox03 {border: #878787 1px solid;padding: 4px 3px;font:Verdana, Geneva, sans-serif,宋体;line-height: 14px; background-color: #fff; height: auto; font-size: 14px; font-weight: bold; width: 190px; } 6 | 7 | .txt01{font:Verdana, Geneva, sans-serif,宋体;padding:3px 2px 2px 2px; border-width:1px; border-color:#ddd; color:#000;} 8 | .txt {border: #878787 1px solid;padding: 4px 3px;font:Verdana, Geneva, sans-serif,宋体;line-height: 14px; background-color: #fff; height: auto; font-size: 14px;} 9 | .footer{text-align:center;color:#15428B; margin:0px; padding:0px;line-height:23px; font-weight:bold;} 10 | 11 | .head a{color:White;text-decoration:underline;} 12 | 13 | .easyui-accordion ul{list-style-type:none;margin:0px; padding:10px;} 14 | .easyui-accordion ul li{ padding:0px;} 15 | .easyui-accordion ul li a{line-height:24px;} 16 | .easyui-accordion ul li div{margin:2px 0px;padding-left:10px;padding-top:2px;} 17 | .easyui-accordion ul li div.hover{border:1px dashed #99BBE8; background:#E0ECFF;cursor:pointer;} 18 | .easyui-accordion ul li div.hover a{color:#416AA3;} 19 | .easyui-accordion ul li div.selected{border:1px solid #99BBE8; background:#E0ECFF;cursor:default;} 20 | .easyui-accordion ul li div.selected a{color:#416AA3; font-weight:bold;} 21 | 22 | 23 | 24 | .icon{ background:url(../images/tabicons.png) no-repeat;width:18px; line-height:18px; display:inline-block;} 25 | .icon-sys{ background-position:0px -200px;} 26 | .icon-set{ background-position:-380px -200px;} 27 | .icon-add{background-position: -20px 0px;} 28 | .icon-add1{background:url('icon/edit_add.png') no-repeat;} 29 | .icon-nav{background-position: -100px -20px; } 30 | .icon-users{background-position: -100px -480px;} 31 | .icon-role{background-position: -360px -200px;} 32 | .icon-set{background-position: -380px -200px;} 33 | .icon-log{background-position: -380px -80px;} 34 | .icon-delete16{background:url('icon/delete.gif') no-repeat;width:18px; line-height:18px; display:inline-block;} 35 | .icon-delete{ background-position:-140px -120px;} 36 | .icon-edit{ background-position:-380px -320px;} 37 | .icon-magic{ background-position:0px -500px;} 38 | .icon-database{ background-position:-20px -140px;} 39 | .icon-expand{ background:url('/images/coll2.gif') no-repeat;} 40 | .icon-collapse{ background:url('/images/coll3.gif') no-repeat;} 41 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/css/demo.css: -------------------------------------------------------------------------------- 1 | *{ 2 | font-size:12px; 3 | } 4 | body { 5 | font-family:verdana,helvetica,arial,sans-serif; 6 | padding:20px; 7 | font-size:12px; 8 | margin:0; 9 | } 10 | h2 { 11 | font-size:18px; 12 | font-weight:bold; 13 | margin:0; 14 | margin-bottom:15px; 15 | } 16 | .demo-info{ 17 | padding:0 0 12px 0; 18 | } 19 | .demo-tip{ 20 | display:none; 21 | } 22 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/accordion.css: -------------------------------------------------------------------------------- 1 | .accordion { 2 | overflow: hidden; 3 | border-width: 1px; 4 | border-style: solid; 5 | } 6 | .accordion .accordion-header { 7 | border-width: 0 0 1px; 8 | cursor: pointer; 9 | } 10 | .accordion .accordion-body { 11 | border-width: 0 0 1px; 12 | } 13 | .accordion-noborder { 14 | border-width: 0; 15 | } 16 | .accordion-noborder .accordion-header { 17 | border-width: 0 0 1px; 18 | } 19 | .accordion-noborder .accordion-body { 20 | border-width: 0 0 1px; 21 | } 22 | .accordion-collapse { 23 | background: url('images/accordion_arrows.png') no-repeat 0 0; 24 | } 25 | .accordion-expand { 26 | background: url('images/accordion_arrows.png') no-repeat -16px 0; 27 | } 28 | .accordion { 29 | background: #ffffff; 30 | border-color: #95B8E7; 31 | } 32 | .accordion .accordion-header { 33 | background: #E0ECFF; 34 | filter: none; 35 | } 36 | .accordion .accordion-header-selected { 37 | background: #ffe48d; 38 | } 39 | .accordion .accordion-header-selected .panel-title { 40 | color: #000000; 41 | } 42 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/combo.css: -------------------------------------------------------------------------------- 1 | .combo { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .combo .combo-text { 12 | font-size: 12px; 13 | border: 0px; 14 | margin: 0; 15 | padding: 0px 2px; 16 | vertical-align: baseline; 17 | } 18 | .combo-arrow { 19 | width: 18px; 20 | height: 20px; 21 | overflow: hidden; 22 | display: inline-block; 23 | vertical-align: top; 24 | cursor: pointer; 25 | opacity: 0.6; 26 | filter: alpha(opacity=60); 27 | } 28 | .combo-arrow-hover { 29 | opacity: 1.0; 30 | filter: alpha(opacity=100); 31 | } 32 | .combo-panel { 33 | overflow: auto; 34 | } 35 | .combo-arrow { 36 | background: url('images/combo_arrow.png') no-repeat center center; 37 | } 38 | .combo-panel { 39 | background-color: #ffffff; 40 | } 41 | .combo { 42 | border-color: #95B8E7; 43 | background-color: #fff; 44 | } 45 | .combo-arrow { 46 | background-color: #E0ECFF; 47 | } 48 | .combo-arrow-hover { 49 | background-color: #eaf2ff; 50 | } 51 | .combo-arrow:hover { 52 | background-color: #eaf2ff; 53 | } 54 | .combo .textbox-icon-disabled:hover { 55 | cursor: default; 56 | } 57 | .textbox-invalid { 58 | border-color: #ffa8a8; 59 | background-color: #fff3f3; 60 | } 61 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/combobox.css: -------------------------------------------------------------------------------- 1 | .combobox-item, 2 | .combobox-group { 3 | font-size: 12px; 4 | padding: 3px; 5 | padding-right: 0px; 6 | } 7 | .combobox-item-disabled { 8 | opacity: 0.5; 9 | filter: alpha(opacity=50); 10 | } 11 | .combobox-gitem { 12 | padding-left: 10px; 13 | } 14 | .combobox-group { 15 | font-weight: bold; 16 | } 17 | .combobox-item-hover { 18 | background-color: #eaf2ff; 19 | color: #000000; 20 | } 21 | .combobox-item-selected { 22 | background-color: #ffe48d; 23 | color: #000000; 24 | } 25 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/datalist.css: -------------------------------------------------------------------------------- 1 | .datalist .datagrid-header { 2 | border-width: 0; 3 | } 4 | .datalist .datagrid-group, 5 | .m-list .m-list-group { 6 | height: 25px; 7 | line-height: 25px; 8 | font-weight: bold; 9 | overflow: hidden; 10 | background-color: #efefef; 11 | border-style: solid; 12 | border-width: 0 0 1px 0; 13 | border-color: #ccc; 14 | } 15 | .datalist .datagrid-group-expander { 16 | display: none; 17 | } 18 | .datalist .datagrid-group-title { 19 | padding: 0 4px; 20 | } 21 | .datalist .datagrid-btable { 22 | width: 100%; 23 | table-layout: fixed; 24 | } 25 | .datalist .datagrid-row td { 26 | border-style: solid; 27 | border-left-color: transparent; 28 | border-right-color: transparent; 29 | border-bottom-width: 0; 30 | } 31 | .datalist-lines .datagrid-row td { 32 | border-bottom-width: 1px; 33 | } 34 | .datalist .datagrid-cell, 35 | .m-list li { 36 | width: auto; 37 | height: auto; 38 | padding: 2px 4px; 39 | line-height: 18px; 40 | position: relative; 41 | white-space: nowrap; 42 | text-overflow: ellipsis; 43 | overflow: hidden; 44 | } 45 | .datalist-link, 46 | .m-list li>a { 47 | display: block; 48 | position: relative; 49 | cursor: pointer; 50 | color: #000000; 51 | text-decoration: none; 52 | overflow: hidden; 53 | margin: -2px -4px; 54 | padding: 2px 4px; 55 | padding-right: 16px; 56 | line-height: 18px; 57 | white-space: nowrap; 58 | text-overflow: ellipsis; 59 | overflow: hidden; 60 | } 61 | .datalist-link::after, 62 | .m-list li>a::after { 63 | position: absolute; 64 | display: block; 65 | width: 8px; 66 | height: 8px; 67 | content: ''; 68 | right: 6px; 69 | top: 50%; 70 | margin-top: -4px; 71 | border-style: solid; 72 | border-width: 1px 1px 0 0; 73 | -ms-transform: rotate(45deg); 74 | -moz-transform: rotate(45deg); 75 | -webkit-transform: rotate(45deg); 76 | -o-transform: rotate(45deg); 77 | transform: rotate(45deg); 78 | } 79 | .m-list { 80 | margin: 0; 81 | padding: 0; 82 | list-style: none; 83 | } 84 | .m-list li { 85 | border-style: solid; 86 | border-width: 0 0 1px 0; 87 | border-color: #ccc; 88 | } 89 | .m-list li>a:hover { 90 | background: #eaf2ff; 91 | color: #000000; 92 | } 93 | .m-list .m-list-group { 94 | padding: 0 4px; 95 | } 96 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/datebox.css: -------------------------------------------------------------------------------- 1 | .datebox-calendar-inner { 2 | height: 180px; 3 | } 4 | .datebox-button { 5 | height: 18px; 6 | padding: 2px 5px; 7 | text-align: center; 8 | } 9 | .datebox-button a { 10 | font-size: 12px; 11 | font-weight: bold; 12 | text-decoration: none; 13 | opacity: 0.6; 14 | filter: alpha(opacity=60); 15 | } 16 | .datebox-button a:hover { 17 | opacity: 1.0; 18 | filter: alpha(opacity=100); 19 | } 20 | .datebox-current, 21 | .datebox-close { 22 | float: left; 23 | } 24 | .datebox-close { 25 | float: right; 26 | } 27 | .datebox .combo-arrow { 28 | background-image: url('images/datebox_arrow.png'); 29 | background-position: center center; 30 | } 31 | .datebox-button { 32 | background-color: #F4F4F4; 33 | } 34 | .datebox-button a { 35 | color: #444; 36 | } 37 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/dialog.css: -------------------------------------------------------------------------------- 1 | .dialog-content { 2 | overflow: auto; 3 | } 4 | .dialog-toolbar { 5 | padding: 2px 5px; 6 | } 7 | .dialog-tool-separator { 8 | float: left; 9 | height: 24px; 10 | border-left: 1px solid #ccc; 11 | border-right: 1px solid #fff; 12 | margin: 2px 1px; 13 | } 14 | .dialog-button { 15 | padding: 5px; 16 | text-align: right; 17 | } 18 | .dialog-button .l-btn { 19 | margin-left: 5px; 20 | } 21 | .dialog-toolbar, 22 | .dialog-button { 23 | background: #F4F4F4; 24 | border-width: 1px; 25 | border-style: solid; 26 | } 27 | .dialog-toolbar { 28 | border-color: #95B8E7 #95B8E7 #dddddd #95B8E7; 29 | } 30 | .dialog-button { 31 | border-color: #dddddd #95B8E7 #95B8E7 #95B8E7; 32 | } 33 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/filebox.css: -------------------------------------------------------------------------------- 1 | .filebox .textbox-value { 2 | vertical-align: top; 3 | position: absolute; 4 | top: 0; 5 | left: -5000px; 6 | } 7 | .filebox-label { 8 | display: inline-block; 9 | position: absolute; 10 | width: 100%; 11 | height: 100%; 12 | cursor: pointer; 13 | left: 0; 14 | top: 0; 15 | z-index: 10; 16 | } 17 | .l-btn-disabled .filebox-label { 18 | cursor: default; 19 | } 20 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/accordion_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/accordion_arrows.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/blank.gif -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/calendar_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/calendar_arrows.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/combo_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/combo_arrow.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/datagrid_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/datagrid_icons.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/datebox_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/datebox_arrow.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/layout_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/layout_arrows.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/linkbutton_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/linkbutton_bg.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/loading.gif -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/menu_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/menu_arrows.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/messager_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/messager_icons.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/pagination_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/pagination_icons.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/panel_tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/panel_tools.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/searchbox_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/searchbox_button.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/slider_handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/slider_handle.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/spinner_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/spinner_arrows.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/tabs_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/tabs_icons.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/tree_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/tree_icons.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/images/validatebox_warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/default/images/validatebox_warning.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/layout.css: -------------------------------------------------------------------------------- 1 | .layout { 2 | position: relative; 3 | overflow: hidden; 4 | margin: 0; 5 | padding: 0; 6 | z-index: 0; 7 | } 8 | .layout-panel { 9 | position: absolute; 10 | overflow: hidden; 11 | } 12 | .layout-panel-east, 13 | .layout-panel-west { 14 | z-index: 2; 15 | } 16 | .layout-panel-north, 17 | .layout-panel-south { 18 | z-index: 3; 19 | } 20 | .layout-expand { 21 | position: absolute; 22 | padding: 0px; 23 | font-size: 1px; 24 | cursor: pointer; 25 | z-index: 1; 26 | } 27 | .layout-expand .panel-header, 28 | .layout-expand .panel-body { 29 | background: transparent; 30 | filter: none; 31 | overflow: hidden; 32 | } 33 | .layout-expand .panel-header { 34 | border-bottom-width: 0px; 35 | } 36 | .layout-split-proxy-h, 37 | .layout-split-proxy-v { 38 | position: absolute; 39 | font-size: 1px; 40 | display: none; 41 | z-index: 5; 42 | } 43 | .layout-split-proxy-h { 44 | width: 5px; 45 | cursor: e-resize; 46 | } 47 | .layout-split-proxy-v { 48 | height: 5px; 49 | cursor: n-resize; 50 | } 51 | .layout-mask { 52 | position: absolute; 53 | background: #fafafa; 54 | filter: alpha(opacity=10); 55 | opacity: 0.10; 56 | z-index: 4; 57 | } 58 | .layout-button-up { 59 | background: url('images/layout_arrows.png') no-repeat -16px -16px; 60 | } 61 | .layout-button-down { 62 | background: url('images/layout_arrows.png') no-repeat -16px 0; 63 | } 64 | .layout-button-left { 65 | background: url('images/layout_arrows.png') no-repeat 0 0; 66 | } 67 | .layout-button-right { 68 | background: url('images/layout_arrows.png') no-repeat 0 -16px; 69 | } 70 | .layout-split-proxy-h, 71 | .layout-split-proxy-v { 72 | background-color: #aac5e7; 73 | } 74 | .layout-split-north { 75 | border-bottom: 5px solid #E6EEF8; 76 | } 77 | .layout-split-south { 78 | border-top: 5px solid #E6EEF8; 79 | } 80 | .layout-split-east { 81 | border-left: 5px solid #E6EEF8; 82 | } 83 | .layout-split-west { 84 | border-right: 5px solid #E6EEF8; 85 | } 86 | .layout-expand { 87 | background-color: #E0ECFF; 88 | } 89 | .layout-expand-over { 90 | background-color: #E0ECFF; 91 | } 92 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/menu.css: -------------------------------------------------------------------------------- 1 | .menu { 2 | position: absolute; 3 | margin: 0; 4 | padding: 2px; 5 | border-width: 1px; 6 | border-style: solid; 7 | overflow: hidden; 8 | } 9 | .menu-inline { 10 | position: relative; 11 | } 12 | .menu-item { 13 | position: relative; 14 | margin: 0; 15 | padding: 0; 16 | overflow: hidden; 17 | white-space: nowrap; 18 | cursor: pointer; 19 | border-width: 1px; 20 | border-style: solid; 21 | } 22 | .menu-text { 23 | height: 20px; 24 | line-height: 20px; 25 | float: left; 26 | padding-left: 28px; 27 | } 28 | .menu-icon { 29 | position: absolute; 30 | width: 16px; 31 | height: 16px; 32 | left: 2px; 33 | top: 50%; 34 | margin-top: -8px; 35 | } 36 | .menu-rightarrow { 37 | position: absolute; 38 | width: 16px; 39 | height: 16px; 40 | right: 0; 41 | top: 50%; 42 | margin-top: -8px; 43 | } 44 | .menu-line { 45 | position: absolute; 46 | left: 26px; 47 | top: 0; 48 | height: 2000px; 49 | font-size: 1px; 50 | } 51 | .menu-sep { 52 | margin: 3px 0px 3px 25px; 53 | font-size: 1px; 54 | } 55 | .menu-noline .menu-line { 56 | display: none; 57 | } 58 | .menu-noline .menu-sep { 59 | margin-left: 0; 60 | margin-right: 0; 61 | } 62 | .menu-active { 63 | -moz-border-radius: 5px 5px 5px 5px; 64 | -webkit-border-radius: 5px 5px 5px 5px; 65 | border-radius: 5px 5px 5px 5px; 66 | } 67 | .menu-item-disabled { 68 | opacity: 0.5; 69 | filter: alpha(opacity=50); 70 | cursor: default; 71 | } 72 | .menu-text, 73 | .menu-text span { 74 | font-size: 12px; 75 | } 76 | .menu-shadow { 77 | position: absolute; 78 | -moz-border-radius: 5px 5px 5px 5px; 79 | -webkit-border-radius: 5px 5px 5px 5px; 80 | border-radius: 5px 5px 5px 5px; 81 | background: #ccc; 82 | -moz-box-shadow: 2px 2px 3px #cccccc; 83 | -webkit-box-shadow: 2px 2px 3px #cccccc; 84 | box-shadow: 2px 2px 3px #cccccc; 85 | filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); 86 | } 87 | .menu-rightarrow { 88 | background: url('images/menu_arrows.png') no-repeat -32px center; 89 | } 90 | .menu-line { 91 | border-left: 1px solid #ccc; 92 | border-right: 1px solid #fff; 93 | } 94 | .menu-sep { 95 | border-top: 1px solid #ccc; 96 | border-bottom: 1px solid #fff; 97 | } 98 | .menu { 99 | background-color: #fafafa; 100 | border-color: #ddd; 101 | color: #444; 102 | } 103 | .menu-content { 104 | background: #ffffff; 105 | } 106 | .menu-item { 107 | border-color: transparent; 108 | _border-color: #fafafa; 109 | } 110 | .menu-active { 111 | border-color: #b7d2ff; 112 | color: #000000; 113 | background: #eaf2ff; 114 | } 115 | .menu-active-disabled { 116 | border-color: transparent; 117 | background: transparent; 118 | color: #444; 119 | } 120 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/menubutton.css: -------------------------------------------------------------------------------- 1 | .m-btn-downarrow, 2 | .s-btn-downarrow { 3 | display: inline-block; 4 | position: absolute; 5 | width: 16px; 6 | height: 16px; 7 | font-size: 1px; 8 | right: 0; 9 | top: 50%; 10 | margin-top: -8px; 11 | } 12 | .m-btn-active, 13 | .s-btn-active { 14 | background: #eaf2ff; 15 | color: #000000; 16 | border: 1px solid #b7d2ff; 17 | filter: none; 18 | } 19 | .m-btn-plain-active, 20 | .s-btn-plain-active { 21 | background: transparent; 22 | padding: 0; 23 | border-width: 1px; 24 | border-style: solid; 25 | -moz-border-radius: 5px 5px 5px 5px; 26 | -webkit-border-radius: 5px 5px 5px 5px; 27 | border-radius: 5px 5px 5px 5px; 28 | } 29 | .m-btn .l-btn-left .l-btn-text { 30 | margin-right: 20px; 31 | } 32 | .m-btn .l-btn-icon-right .l-btn-text { 33 | margin-right: 40px; 34 | } 35 | .m-btn .l-btn-icon-right .l-btn-icon { 36 | right: 20px; 37 | } 38 | .m-btn .l-btn-icon-top .l-btn-text { 39 | margin-right: 4px; 40 | margin-bottom: 14px; 41 | } 42 | .m-btn .l-btn-icon-bottom .l-btn-text { 43 | margin-right: 4px; 44 | margin-bottom: 34px; 45 | } 46 | .m-btn .l-btn-icon-bottom .l-btn-icon { 47 | top: auto; 48 | bottom: 20px; 49 | } 50 | .m-btn .l-btn-icon-top .m-btn-downarrow, 51 | .m-btn .l-btn-icon-bottom .m-btn-downarrow { 52 | top: auto; 53 | bottom: 0px; 54 | left: 50%; 55 | margin-left: -8px; 56 | } 57 | .m-btn-line { 58 | display: inline-block; 59 | position: absolute; 60 | font-size: 1px; 61 | display: none; 62 | } 63 | .m-btn .l-btn-left .m-btn-line { 64 | right: 0; 65 | width: 16px; 66 | height: 500px; 67 | border-style: solid; 68 | border-color: #aac5e7; 69 | border-width: 0 0 0 1px; 70 | } 71 | .m-btn .l-btn-icon-top .m-btn-line, 72 | .m-btn .l-btn-icon-bottom .m-btn-line { 73 | left: 0; 74 | bottom: 0; 75 | width: 500px; 76 | height: 16px; 77 | border-width: 1px 0 0 0; 78 | } 79 | .m-btn-large .l-btn-icon-right .l-btn-text { 80 | margin-right: 56px; 81 | } 82 | .m-btn-large .l-btn-icon-bottom .l-btn-text { 83 | margin-bottom: 50px; 84 | } 85 | .m-btn-downarrow, 86 | .s-btn-downarrow { 87 | background: url('images/menu_arrows.png') no-repeat 0 center; 88 | } 89 | .m-btn-plain-active, 90 | .s-btn-plain-active { 91 | border-color: #b7d2ff; 92 | background-color: #eaf2ff; 93 | color: #000000; 94 | } 95 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/messager.css: -------------------------------------------------------------------------------- 1 | .messager-body { 2 | padding: 10px; 3 | overflow: hidden; 4 | } 5 | .messager-button { 6 | text-align: center; 7 | padding-top: 10px; 8 | } 9 | .messager-button .l-btn { 10 | width: 70px; 11 | } 12 | .messager-icon { 13 | float: left; 14 | width: 32px; 15 | height: 32px; 16 | margin: 0 10px 10px 0; 17 | } 18 | .messager-error { 19 | background: url('images/messager_icons.png') no-repeat scroll -64px 0; 20 | } 21 | .messager-info { 22 | background: url('images/messager_icons.png') no-repeat scroll 0 0; 23 | } 24 | .messager-question { 25 | background: url('images/messager_icons.png') no-repeat scroll -32px 0; 26 | } 27 | .messager-warning { 28 | background: url('images/messager_icons.png') no-repeat scroll -96px 0; 29 | } 30 | .messager-progress { 31 | padding: 10px; 32 | } 33 | .messager-p-msg { 34 | margin-bottom: 5px; 35 | } 36 | .messager-body .messager-input { 37 | width: 100%; 38 | padding: 1px 0; 39 | border: 1px solid #95B8E7; 40 | } 41 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/numberbox.css: -------------------------------------------------------------------------------- 1 | .numberbox { 2 | border: 1px solid #95B8E7; 3 | margin: 0; 4 | padding: 0 2px; 5 | vertical-align: middle; 6 | } 7 | .textbox { 8 | padding: 0; 9 | } 10 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/pagination.css: -------------------------------------------------------------------------------- 1 | .pagination { 2 | zoom: 1; 3 | } 4 | .pagination table { 5 | float: left; 6 | height: 30px; 7 | } 8 | .pagination td { 9 | border: 0; 10 | } 11 | .pagination-btn-separator { 12 | float: left; 13 | height: 24px; 14 | border-left: 1px solid #ccc; 15 | border-right: 1px solid #fff; 16 | margin: 3px 1px; 17 | } 18 | .pagination .pagination-num { 19 | border-width: 1px; 20 | border-style: solid; 21 | margin: 0 2px; 22 | padding: 2px; 23 | width: 2em; 24 | height: auto; 25 | } 26 | .pagination-page-list { 27 | margin: 0px 6px; 28 | padding: 1px 2px; 29 | width: auto; 30 | height: auto; 31 | border-width: 1px; 32 | border-style: solid; 33 | } 34 | .pagination-info { 35 | float: right; 36 | margin: 0 6px 0 0; 37 | padding: 0; 38 | height: 30px; 39 | line-height: 30px; 40 | font-size: 12px; 41 | } 42 | .pagination span { 43 | font-size: 12px; 44 | } 45 | .pagination-link .l-btn-text { 46 | width: 24px; 47 | text-align: center; 48 | margin: 0; 49 | } 50 | .pagination-first { 51 | background: url('images/pagination_icons.png') no-repeat 0 center; 52 | } 53 | .pagination-prev { 54 | background: url('images/pagination_icons.png') no-repeat -16px center; 55 | } 56 | .pagination-next { 57 | background: url('images/pagination_icons.png') no-repeat -32px center; 58 | } 59 | .pagination-last { 60 | background: url('images/pagination_icons.png') no-repeat -48px center; 61 | } 62 | .pagination-load { 63 | background: url('images/pagination_icons.png') no-repeat -64px center; 64 | } 65 | .pagination-loading { 66 | background: url('images/loading.gif') no-repeat center center; 67 | } 68 | .pagination-page-list, 69 | .pagination .pagination-num { 70 | border-color: #95B8E7; 71 | } 72 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/panel.css: -------------------------------------------------------------------------------- 1 | .panel { 2 | overflow: hidden; 3 | text-align: left; 4 | margin: 0; 5 | border: 0; 6 | -moz-border-radius: 0 0 0 0; 7 | -webkit-border-radius: 0 0 0 0; 8 | border-radius: 0 0 0 0; 9 | } 10 | .panel-header, 11 | .panel-body { 12 | border-width: 1px; 13 | border-style: solid; 14 | } 15 | .panel-header { 16 | padding: 5px; 17 | position: relative; 18 | } 19 | .panel-title { 20 | background: url('images/blank.gif') no-repeat; 21 | } 22 | .panel-header-noborder { 23 | border-width: 0 0 1px 0; 24 | } 25 | .panel-body { 26 | overflow: auto; 27 | border-top-width: 0; 28 | padding: 0; 29 | } 30 | .panel-body-noheader { 31 | border-top-width: 1px; 32 | } 33 | .panel-body-noborder { 34 | border-width: 0px; 35 | } 36 | .panel-body-nobottom { 37 | border-bottom-width: 0; 38 | } 39 | .panel-with-icon { 40 | padding-left: 18px; 41 | } 42 | .panel-icon, 43 | .panel-tool { 44 | position: absolute; 45 | top: 50%; 46 | margin-top: -8px; 47 | height: 16px; 48 | overflow: hidden; 49 | } 50 | .panel-icon { 51 | left: 5px; 52 | width: 16px; 53 | } 54 | .panel-tool { 55 | right: 5px; 56 | width: auto; 57 | } 58 | .panel-tool a { 59 | display: inline-block; 60 | width: 16px; 61 | height: 16px; 62 | opacity: 0.6; 63 | filter: alpha(opacity=60); 64 | margin: 0 0 0 2px; 65 | vertical-align: top; 66 | } 67 | .panel-tool a:hover { 68 | opacity: 1; 69 | filter: alpha(opacity=100); 70 | background-color: #eaf2ff; 71 | -moz-border-radius: 3px 3px 3px 3px; 72 | -webkit-border-radius: 3px 3px 3px 3px; 73 | border-radius: 3px 3px 3px 3px; 74 | } 75 | .panel-loading { 76 | padding: 11px 0px 10px 30px; 77 | } 78 | .panel-noscroll { 79 | overflow: hidden; 80 | } 81 | .panel-fit, 82 | .panel-fit body { 83 | height: 100%; 84 | margin: 0; 85 | padding: 0; 86 | border: 0; 87 | overflow: hidden; 88 | } 89 | .panel-loading { 90 | background: url('images/loading.gif') no-repeat 10px 10px; 91 | } 92 | .panel-tool-close { 93 | background: url('images/panel_tools.png') no-repeat -16px 0px; 94 | } 95 | .panel-tool-min { 96 | background: url('images/panel_tools.png') no-repeat 0px 0px; 97 | } 98 | .panel-tool-max { 99 | background: url('images/panel_tools.png') no-repeat 0px -16px; 100 | } 101 | .panel-tool-restore { 102 | background: url('images/panel_tools.png') no-repeat -16px -16px; 103 | } 104 | .panel-tool-collapse { 105 | background: url('images/panel_tools.png') no-repeat -32px 0; 106 | } 107 | .panel-tool-expand { 108 | background: url('images/panel_tools.png') no-repeat -32px -16px; 109 | } 110 | .panel-header, 111 | .panel-body { 112 | border-color: #95B8E7; 113 | } 114 | .panel-header { 115 | background-color: #E0ECFF; 116 | background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); 117 | background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); 118 | background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); 119 | background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 100%); 120 | background-repeat: repeat-x; 121 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0); 122 | } 123 | .panel-body { 124 | background-color: #ffffff; 125 | color: #000000; 126 | font-size: 12px; 127 | } 128 | .panel-title { 129 | font-size: 12px; 130 | font-weight: bold; 131 | color: #0E2D5F; 132 | height: 16px; 133 | line-height: 16px; 134 | } 135 | .panel-footer { 136 | border: 1px solid #95B8E7; 137 | overflow: hidden; 138 | background: #F4F4F4; 139 | } 140 | .panel-footer-noborder { 141 | border-width: 1px 0 0 0; 142 | } 143 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/progressbar.css: -------------------------------------------------------------------------------- 1 | .progressbar { 2 | border-width: 1px; 3 | border-style: solid; 4 | -moz-border-radius: 5px 5px 5px 5px; 5 | -webkit-border-radius: 5px 5px 5px 5px; 6 | border-radius: 5px 5px 5px 5px; 7 | overflow: hidden; 8 | position: relative; 9 | } 10 | .progressbar-text { 11 | text-align: center; 12 | position: absolute; 13 | } 14 | .progressbar-value { 15 | position: relative; 16 | overflow: hidden; 17 | width: 0; 18 | -moz-border-radius: 5px 0 0 5px; 19 | -webkit-border-radius: 5px 0 0 5px; 20 | border-radius: 5px 0 0 5px; 21 | } 22 | .progressbar { 23 | border-color: #95B8E7; 24 | } 25 | .progressbar-text { 26 | color: #000000; 27 | font-size: 12px; 28 | } 29 | .progressbar-value .progressbar-text { 30 | background-color: #ffe48d; 31 | color: #000000; 32 | } 33 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/propertygrid.css: -------------------------------------------------------------------------------- 1 | .propertygrid .datagrid-view1 .datagrid-body td { 2 | padding-bottom: 1px; 3 | border-width: 0 1px 0 0; 4 | } 5 | .propertygrid .datagrid-group { 6 | height: 21px; 7 | overflow: hidden; 8 | border-width: 0 0 1px 0; 9 | border-style: solid; 10 | } 11 | .propertygrid .datagrid-group span { 12 | font-weight: bold; 13 | } 14 | .propertygrid .datagrid-view1 .datagrid-body td { 15 | border-color: #dddddd; 16 | } 17 | .propertygrid .datagrid-view1 .datagrid-group { 18 | border-color: #E0ECFF; 19 | } 20 | .propertygrid .datagrid-view2 .datagrid-group { 21 | border-color: #dddddd; 22 | } 23 | .propertygrid .datagrid-group, 24 | .propertygrid .datagrid-view1 .datagrid-body, 25 | .propertygrid .datagrid-view1 .datagrid-row-over, 26 | .propertygrid .datagrid-view1 .datagrid-row-selected { 27 | background: #E0ECFF; 28 | } 29 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/searchbox.css: -------------------------------------------------------------------------------- 1 | .searchbox { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .searchbox .searchbox-text { 12 | font-size: 12px; 13 | border: 0; 14 | margin: 0; 15 | padding: 0 2px; 16 | vertical-align: top; 17 | } 18 | .searchbox .searchbox-prompt { 19 | font-size: 12px; 20 | color: #ccc; 21 | } 22 | .searchbox-button { 23 | width: 18px; 24 | height: 20px; 25 | overflow: hidden; 26 | display: inline-block; 27 | vertical-align: top; 28 | cursor: pointer; 29 | opacity: 0.6; 30 | filter: alpha(opacity=60); 31 | } 32 | .searchbox-button-hover { 33 | opacity: 1.0; 34 | filter: alpha(opacity=100); 35 | } 36 | .searchbox .l-btn-plain { 37 | border: 0; 38 | padding: 0; 39 | vertical-align: top; 40 | opacity: 0.6; 41 | filter: alpha(opacity=60); 42 | -moz-border-radius: 0 0 0 0; 43 | -webkit-border-radius: 0 0 0 0; 44 | border-radius: 0 0 0 0; 45 | } 46 | .searchbox .l-btn-plain:hover { 47 | border: 0; 48 | padding: 0; 49 | opacity: 1.0; 50 | filter: alpha(opacity=100); 51 | -moz-border-radius: 0 0 0 0; 52 | -webkit-border-radius: 0 0 0 0; 53 | border-radius: 0 0 0 0; 54 | } 55 | .searchbox a.m-btn-plain-active { 56 | -moz-border-radius: 0 0 0 0; 57 | -webkit-border-radius: 0 0 0 0; 58 | border-radius: 0 0 0 0; 59 | } 60 | .searchbox .m-btn-active { 61 | border-width: 0 1px 0 0; 62 | -moz-border-radius: 0 0 0 0; 63 | -webkit-border-radius: 0 0 0 0; 64 | border-radius: 0 0 0 0; 65 | } 66 | .searchbox .textbox-button-right { 67 | border-width: 0 0 0 1px; 68 | } 69 | .searchbox .textbox-button-left { 70 | border-width: 0 1px 0 0; 71 | } 72 | .searchbox-button { 73 | background: url('images/searchbox_button.png') no-repeat center center; 74 | } 75 | .searchbox { 76 | border-color: #95B8E7; 77 | background-color: #fff; 78 | } 79 | .searchbox .l-btn-plain { 80 | background: #E0ECFF; 81 | } 82 | .searchbox .l-btn-plain-disabled, 83 | .searchbox .l-btn-plain-disabled:hover { 84 | opacity: 0.5; 85 | filter: alpha(opacity=50); 86 | } 87 | .textbox-invalid { 88 | border-color: #ffa8a8; 89 | background-color: #fff3f3; 90 | } 91 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/slider.css: -------------------------------------------------------------------------------- 1 | .slider-disabled { 2 | opacity: 0.5; 3 | filter: alpha(opacity=50); 4 | } 5 | .slider-h { 6 | height: 22px; 7 | } 8 | .slider-v { 9 | width: 22px; 10 | } 11 | .slider-inner { 12 | position: relative; 13 | height: 6px; 14 | top: 7px; 15 | border-width: 1px; 16 | border-style: solid; 17 | border-radius: 5px; 18 | } 19 | .slider-handle { 20 | position: absolute; 21 | display: block; 22 | outline: none; 23 | width: 20px; 24 | height: 20px; 25 | top: 50%; 26 | margin-top: -10px; 27 | margin-left: -10px; 28 | } 29 | .slider-tip { 30 | position: absolute; 31 | display: inline-block; 32 | line-height: 12px; 33 | font-size: 12px; 34 | white-space: nowrap; 35 | top: -22px; 36 | } 37 | .slider-rule { 38 | position: relative; 39 | top: 15px; 40 | } 41 | .slider-rule span { 42 | position: absolute; 43 | display: inline-block; 44 | font-size: 0; 45 | height: 5px; 46 | border-width: 0 0 0 1px; 47 | border-style: solid; 48 | } 49 | .slider-rulelabel { 50 | position: relative; 51 | top: 20px; 52 | } 53 | .slider-rulelabel span { 54 | position: absolute; 55 | display: inline-block; 56 | font-size: 12px; 57 | } 58 | .slider-v .slider-inner { 59 | width: 6px; 60 | left: 7px; 61 | top: 0; 62 | float: left; 63 | } 64 | .slider-v .slider-handle { 65 | left: 50%; 66 | margin-top: -10px; 67 | } 68 | .slider-v .slider-tip { 69 | left: -10px; 70 | margin-top: -6px; 71 | } 72 | .slider-v .slider-rule { 73 | float: left; 74 | top: 0; 75 | left: 16px; 76 | } 77 | .slider-v .slider-rule span { 78 | width: 5px; 79 | height: 'auto'; 80 | border-left: 0; 81 | border-width: 1px 0 0 0; 82 | border-style: solid; 83 | } 84 | .slider-v .slider-rulelabel { 85 | float: left; 86 | top: 0; 87 | left: 23px; 88 | } 89 | .slider-handle { 90 | background: url('images/slider_handle.png') no-repeat; 91 | } 92 | .slider-inner { 93 | border-color: #95B8E7; 94 | background: #E0ECFF; 95 | } 96 | .slider-rule span { 97 | border-color: #95B8E7; 98 | } 99 | .slider-rulelabel span { 100 | color: #000000; 101 | } 102 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/spinner.css: -------------------------------------------------------------------------------- 1 | .spinner { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .spinner .spinner-text { 12 | font-size: 12px; 13 | border: 0px; 14 | margin: 0; 15 | padding: 0 2px; 16 | vertical-align: baseline; 17 | } 18 | .spinner-arrow { 19 | background-color: #E0ECFF; 20 | display: inline-block; 21 | overflow: hidden; 22 | vertical-align: top; 23 | margin: 0; 24 | padding: 0; 25 | opacity: 1.0; 26 | filter: alpha(opacity=100); 27 | width: 18px; 28 | } 29 | .spinner-arrow-up, 30 | .spinner-arrow-down { 31 | opacity: 0.6; 32 | filter: alpha(opacity=60); 33 | display: block; 34 | font-size: 1px; 35 | width: 18px; 36 | height: 10px; 37 | width: 100%; 38 | height: 50%; 39 | color: #444; 40 | outline-style: none; 41 | } 42 | .spinner-arrow-hover { 43 | background-color: #eaf2ff; 44 | opacity: 1.0; 45 | filter: alpha(opacity=100); 46 | } 47 | .spinner-arrow-up:hover, 48 | .spinner-arrow-down:hover { 49 | opacity: 1.0; 50 | filter: alpha(opacity=100); 51 | background-color: #eaf2ff; 52 | } 53 | .textbox-icon-disabled .spinner-arrow-up:hover, 54 | .textbox-icon-disabled .spinner-arrow-down:hover { 55 | opacity: 0.6; 56 | filter: alpha(opacity=60); 57 | background-color: #E0ECFF; 58 | cursor: default; 59 | } 60 | .spinner .textbox-icon-disabled { 61 | opacity: 0.6; 62 | filter: alpha(opacity=60); 63 | } 64 | .spinner-arrow-up { 65 | background: url('images/spinner_arrows.png') no-repeat 1px center; 66 | } 67 | .spinner-arrow-down { 68 | background: url('images/spinner_arrows.png') no-repeat -15px center; 69 | } 70 | .spinner { 71 | border-color: #95B8E7; 72 | } 73 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/splitbutton.css: -------------------------------------------------------------------------------- 1 | .s-btn:hover .m-btn-line, 2 | .s-btn-active .m-btn-line, 3 | .s-btn-plain-active .m-btn-line { 4 | display: inline-block; 5 | } 6 | .l-btn:hover .s-btn-downarrow, 7 | .s-btn-active .s-btn-downarrow, 8 | .s-btn-plain-active .s-btn-downarrow { 9 | border-style: solid; 10 | border-color: #aac5e7; 11 | border-width: 0 0 0 1px; 12 | } 13 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/textbox.css: -------------------------------------------------------------------------------- 1 | .textbox { 2 | position: relative; 3 | border: 1px solid #95B8E7; 4 | background-color: #fff; 5 | vertical-align: middle; 6 | display: inline-block; 7 | overflow: hidden; 8 | white-space: nowrap; 9 | margin: 0; 10 | padding: 0; 11 | -moz-border-radius: 5px 5px 5px 5px; 12 | -webkit-border-radius: 5px 5px 5px 5px; 13 | border-radius: 5px 5px 5px 5px; 14 | } 15 | .textbox .textbox-text { 16 | font-size: 12px; 17 | border: 0; 18 | margin: 0; 19 | padding: 4px; 20 | white-space: normal; 21 | vertical-align: top; 22 | outline-style: none; 23 | resize: none; 24 | -moz-border-radius: 5px 5px 5px 5px; 25 | -webkit-border-radius: 5px 5px 5px 5px; 26 | border-radius: 5px 5px 5px 5px; 27 | } 28 | .textbox .textbox-prompt { 29 | font-size: 12px; 30 | color: #aaa; 31 | } 32 | .textbox .textbox-button, 33 | .textbox .textbox-button:hover { 34 | position: absolute; 35 | top: 0; 36 | padding: 0; 37 | vertical-align: top; 38 | -moz-border-radius: 0 0 0 0; 39 | -webkit-border-radius: 0 0 0 0; 40 | border-radius: 0 0 0 0; 41 | } 42 | .textbox-button-right, 43 | .textbox-button-right:hover { 44 | border-width: 0 0 0 1px; 45 | } 46 | .textbox-button-left, 47 | .textbox-button-left:hover { 48 | border-width: 0 1px 0 0; 49 | } 50 | .textbox-addon { 51 | position: absolute; 52 | top: 0; 53 | } 54 | .textbox-icon { 55 | display: inline-block; 56 | width: 18px; 57 | height: 20px; 58 | overflow: hidden; 59 | vertical-align: top; 60 | background-position: center center; 61 | cursor: pointer; 62 | opacity: 0.6; 63 | filter: alpha(opacity=60); 64 | text-decoration: none; 65 | outline-style: none; 66 | } 67 | .textbox-icon-disabled, 68 | .textbox-icon-readonly { 69 | cursor: default; 70 | } 71 | .textbox-icon:hover { 72 | opacity: 1.0; 73 | filter: alpha(opacity=100); 74 | } 75 | .textbox-icon-disabled:hover { 76 | opacity: 0.6; 77 | filter: alpha(opacity=60); 78 | } 79 | .textbox-focused { 80 | -moz-box-shadow: 0 0 3px 0 #95B8E7; 81 | -webkit-box-shadow: 0 0 3px 0 #95B8E7; 82 | box-shadow: 0 0 3px 0 #95B8E7; 83 | } 84 | .textbox-invalid { 85 | border-color: #ffa8a8; 86 | background-color: #fff3f3; 87 | } 88 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/tooltip.css: -------------------------------------------------------------------------------- 1 | .tooltip { 2 | position: absolute; 3 | display: none; 4 | z-index: 9900000; 5 | outline: none; 6 | opacity: 1; 7 | filter: alpha(opacity=100); 8 | padding: 5px; 9 | border-width: 1px; 10 | border-style: solid; 11 | border-radius: 5px; 12 | -moz-border-radius: 5px 5px 5px 5px; 13 | -webkit-border-radius: 5px 5px 5px 5px; 14 | border-radius: 5px 5px 5px 5px; 15 | } 16 | .tooltip-content { 17 | font-size: 12px; 18 | } 19 | .tooltip-arrow-outer, 20 | .tooltip-arrow { 21 | position: absolute; 22 | width: 0; 23 | height: 0; 24 | line-height: 0; 25 | font-size: 0; 26 | border-style: solid; 27 | border-width: 6px; 28 | border-color: transparent; 29 | _border-color: tomato; 30 | _filter: chroma(color=tomato); 31 | } 32 | .tooltip-right .tooltip-arrow-outer { 33 | left: 0; 34 | top: 50%; 35 | margin: -6px 0 0 -13px; 36 | } 37 | .tooltip-right .tooltip-arrow { 38 | left: 0; 39 | top: 50%; 40 | margin: -6px 0 0 -12px; 41 | } 42 | .tooltip-left .tooltip-arrow-outer { 43 | right: 0; 44 | top: 50%; 45 | margin: -6px -13px 0 0; 46 | } 47 | .tooltip-left .tooltip-arrow { 48 | right: 0; 49 | top: 50%; 50 | margin: -6px -12px 0 0; 51 | } 52 | .tooltip-top .tooltip-arrow-outer { 53 | bottom: 0; 54 | left: 50%; 55 | margin: 0 0 -13px -6px; 56 | } 57 | .tooltip-top .tooltip-arrow { 58 | bottom: 0; 59 | left: 50%; 60 | margin: 0 0 -12px -6px; 61 | } 62 | .tooltip-bottom .tooltip-arrow-outer { 63 | top: 0; 64 | left: 50%; 65 | margin: -13px 0 0 -6px; 66 | } 67 | .tooltip-bottom .tooltip-arrow { 68 | top: 0; 69 | left: 50%; 70 | margin: -12px 0 0 -6px; 71 | } 72 | .tooltip { 73 | background-color: #ffffff; 74 | border-color: #95B8E7; 75 | color: #000000; 76 | } 77 | .tooltip-right .tooltip-arrow-outer { 78 | border-right-color: #95B8E7; 79 | } 80 | .tooltip-right .tooltip-arrow { 81 | border-right-color: #ffffff; 82 | } 83 | .tooltip-left .tooltip-arrow-outer { 84 | border-left-color: #95B8E7; 85 | } 86 | .tooltip-left .tooltip-arrow { 87 | border-left-color: #ffffff; 88 | } 89 | .tooltip-top .tooltip-arrow-outer { 90 | border-top-color: #95B8E7; 91 | } 92 | .tooltip-top .tooltip-arrow { 93 | border-top-color: #ffffff; 94 | } 95 | .tooltip-bottom .tooltip-arrow-outer { 96 | border-bottom-color: #95B8E7; 97 | } 98 | .tooltip-bottom .tooltip-arrow { 99 | border-bottom-color: #ffffff; 100 | } 101 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/validatebox.css: -------------------------------------------------------------------------------- 1 | .validatebox-invalid { 2 | border-color: #ffa8a8; 3 | background-color: #fff3f3; 4 | color: #000; 5 | } 6 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/default/window.css: -------------------------------------------------------------------------------- 1 | .window { 2 | overflow: hidden; 3 | padding: 5px; 4 | border-width: 1px; 5 | border-style: solid; 6 | } 7 | .window .window-header { 8 | background: transparent; 9 | padding: 0px 0px 6px 0px; 10 | } 11 | .window .window-body { 12 | border-width: 1px; 13 | border-style: solid; 14 | border-top-width: 0px; 15 | } 16 | .window .window-body-noheader { 17 | border-top-width: 1px; 18 | } 19 | .window .panel-body-nobottom { 20 | border-bottom-width: 0; 21 | } 22 | .window .window-header .panel-icon, 23 | .window .window-header .panel-tool { 24 | top: 50%; 25 | margin-top: -11px; 26 | } 27 | .window .window-header .panel-icon { 28 | left: 1px; 29 | } 30 | .window .window-header .panel-tool { 31 | right: 1px; 32 | } 33 | .window .window-header .panel-with-icon { 34 | padding-left: 18px; 35 | } 36 | .window-proxy { 37 | position: absolute; 38 | overflow: hidden; 39 | } 40 | .window-proxy-mask { 41 | position: absolute; 42 | filter: alpha(opacity=5); 43 | opacity: 0.05; 44 | } 45 | .window-mask { 46 | position: absolute; 47 | left: 0; 48 | top: 0; 49 | width: 100%; 50 | height: 100%; 51 | filter: alpha(opacity=40); 52 | opacity: 0.40; 53 | font-size: 1px; 54 | overflow: hidden; 55 | } 56 | .window, 57 | .window-shadow { 58 | position: absolute; 59 | -moz-border-radius: 5px 5px 5px 5px; 60 | -webkit-border-radius: 5px 5px 5px 5px; 61 | border-radius: 5px 5px 5px 5px; 62 | } 63 | .window-shadow { 64 | background: #ccc; 65 | -moz-box-shadow: 2px 2px 3px #cccccc; 66 | -webkit-box-shadow: 2px 2px 3px #cccccc; 67 | box-shadow: 2px 2px 3px #cccccc; 68 | filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); 69 | } 70 | .window, 71 | .window .window-body { 72 | border-color: #95B8E7; 73 | } 74 | .window { 75 | background-color: #E0ECFF; 76 | background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); 77 | background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); 78 | background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); 79 | background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 20%); 80 | background-repeat: repeat-x; 81 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0); 82 | } 83 | .window-proxy { 84 | border: 1px dashed #95B8E7; 85 | } 86 | .window-proxy-mask, 87 | .window-mask { 88 | background: #ccc; 89 | } 90 | .window .panel-footer { 91 | border: 1px solid #95B8E7; 92 | position: relative; 93 | top: -1px; 94 | } 95 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/2012080412263.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/2012080412263.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/asterisk_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/asterisk_orange.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/back.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/basket_remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/basket_remove.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/blank.gif -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/book_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/book_add.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/book_open_mark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/book_open_mark.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/book_previous.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/book_previous.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/cancel.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/chart_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/chart_bar.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/clear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/clear.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/cut.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/door_out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/door_out.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/edit_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/edit_add.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/edit_remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/edit_remove.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/filesave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/filesave.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/filter.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/find.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/find.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/folder_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/folder_up.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/help.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/house.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/house.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/large_chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/large_chart.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/large_clipart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/large_clipart.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/large_picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/large_picture.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/large_shapes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/large_shapes.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/large_smartart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/large_smartart.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/lock.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/man.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/man.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/mini_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/mini_add.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/mini_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/mini_edit.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/mini_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/mini_refresh.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/more.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/no.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/no.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/note.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/note.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/ok.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/pencil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/pencil.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/pencil_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/pencil_add.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/print.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/redo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/redo.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/reload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/reload.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/search.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/set.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/set.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/sum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/sum.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/text_list_bullets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/text_list_bullets.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/text_list_numbers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/text_list_numbers.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/tip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/tip.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/undo.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/user_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/user_add.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/user_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/user_gray.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/user_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/user_red.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/vcard_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/vcard_edit.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/world.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/world.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/world_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/world_add.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/world_night.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/world_night.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/icons/zoom_in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/easyui/themes/icons/zoom_in.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/easyui/themes/locale/easyui-lang-zh_CN.js: -------------------------------------------------------------------------------- 1 | if ($.fn.pagination){ 2 | $.fn.pagination.defaults.beforePageText = '第'; 3 | $.fn.pagination.defaults.afterPageText = '共{pages}页'; 4 | $.fn.pagination.defaults.displayMsg = '显示{from}到{to},共{total}记录'; 5 | } 6 | if ($.fn.datagrid){ 7 | $.fn.datagrid.defaults.loadMsg = '正在处理,请稍待。。。'; 8 | } 9 | if ($.fn.treegrid && $.fn.datagrid){ 10 | $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; 11 | } 12 | if ($.messager){ 13 | $.messager.defaults.ok = '确定'; 14 | $.messager.defaults.cancel = '取消'; 15 | } 16 | $.map(['validatebox','textbox','filebox','searchbox', 17 | 'combo','combobox','combogrid','combotree', 18 | 'datebox','datetimebox','numberbox', 19 | 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ 20 | if ($.fn[plugin]){ 21 | $.fn[plugin].defaults.missingMessage = '该输入项为必输项'; 22 | } 23 | }); 24 | if ($.fn.validatebox){ 25 | $.fn.validatebox.defaults.rules.email.message = '请输入有效的电子邮件地址'; 26 | $.fn.validatebox.defaults.rules.url.message = '请输入有效的URL地址'; 27 | $.fn.validatebox.defaults.rules.length.message = '输入内容长度必须介于{0}和{1}之间'; 28 | $.fn.validatebox.defaults.rules.remote.message = '请修正该字段'; 29 | } 30 | if ($.fn.calendar){ 31 | $.fn.calendar.defaults.weeks = ['日','一','二','三','四','五','六']; 32 | $.fn.calendar.defaults.months = ['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月']; 33 | } 34 | if ($.fn.datebox){ 35 | $.fn.datebox.defaults.currentText = '今天'; 36 | $.fn.datebox.defaults.closeText = '关闭'; 37 | $.fn.datebox.defaults.okText = '确定'; 38 | $.fn.datebox.defaults.formatter = function(date){ 39 | var y = date.getFullYear(); 40 | var m = date.getMonth()+1; 41 | var d = date.getDate(); 42 | return y+'-'+(m<10?('0'+m):m)+'-'+(d<10?('0'+d):d); 43 | }; 44 | $.fn.datebox.defaults.parser = function(s){ 45 | if (!s) return new Date(); 46 | var ss = s.split('-'); 47 | var y = parseInt(ss[0],10); 48 | var m = parseInt(ss[1],10); 49 | var d = parseInt(ss[2],10); 50 | if (!isNaN(y) && !isNaN(m) && !isNaN(d)){ 51 | return new Date(y,m-1,d); 52 | } else { 53 | return new Date(); 54 | } 55 | }; 56 | } 57 | if ($.fn.datetimebox && $.fn.datebox){ 58 | $.extend($.fn.datetimebox.defaults,{ 59 | currentText: $.fn.datebox.defaults.currentText, 60 | closeText: $.fn.datebox.defaults.closeText, 61 | okText: $.fn.datebox.defaults.okText 62 | }); 63 | } 64 | if ($.fn.datetimespinner){ 65 | $.fn.datetimespinner.defaults.selections = [[0,4],[5,7],[8,10],[11,13],[14,16],[17,19]] 66 | } 67 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/favicon.ico -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/css/H-ui.login.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | /* -----------H-ui前端框架----------------------- 3 | H-ui.login.css v2.2.1 4 | Copyright H-ui Inc. 5 | http://www.H-ui.net 6 | date:2015.6.5 7 | Created & Modified by guojunhui. 8 | ----------------------------------------------*/ 9 | body{font-size:14px} 10 | 11 | .header,.footer{ position:absolute; left:0; right:0; width:100%; z-index:99} 12 | .header{top:0; height:60px; background:#426374; padding: 0;} 13 | 14 | .loginWraper{ position:absolute;width:100%; left:0; top:0; bottom:0; right:0; z-index:1; background:#3283AC url(../images/admin-login-bg.jpg) no-repeat center} 15 | .loginBox{ position:absolute; width:617px; height:330px; background:url(../images/admin-loginform-bg.png) no-repeat; left:50%; top:50%; margin-left:-309px; margin-top:-184px; padding-top:38px} 16 | @media (max-width:617px) { 17 | .loginbox{ width:100%; position:static; margin-top:0; margin-left:0;} 18 | } 19 | .loginBox .row{margin-top:20px;} 20 | .loginBox .row .form-label .Hui-iconfont{ font-size:24px} 21 | .loginBox .input-text{ width:360px} 22 | @media (max-width:617px) { 23 | .loginBox .input-text{ width:80%} 24 | } 25 | .yzm a{ color:#426374; font-size:12px} 26 | 27 | #span_msg{ font-size:14px; color:Red; line-height:40px; height:40px; margin-left:10px; width:160px;; float:left} 28 | 29 | .hd_msg{font-size:12px; color:#fff; height:30px; z-index:100;position: absolute; padding-left:50px; padding-top:5px} 30 | .hd_msg a{ color:#fff} 31 | .hd_msg a:hover{ color:#fff; text-decoration:underline} 32 | 33 | .footer{ height:46px; line-height:46px; bottom:0; text-align:center; color:#fff; font-size:12px; background-color:#426374} 34 | 35 | #ie6-warning{background:#fff url(/jscss/demoimg/201006/warning.gif) no-repeat 3px center;position:absolute;top:0;left:0;font-size:12px;color:#333;width:97%;padding: 2px 15px 2px 23px;text-align:left} 36 | #ie6-warning a {text-decoration:none} -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/Thumbs.db -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/acrossTab-2bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/acrossTab-2bak.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/acrossTab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/acrossTab-bg.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/acrossTab-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/acrossTab-close.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/acrossTab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/acrossTab.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/admin-login-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/admin-login-bg.jpg -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/admin-loginform-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/admin-loginform-bg.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/gq/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/gq/Thumbs.db -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/gq/cn.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/gq/cn.gif -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/gq/gj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/gq/gj.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/gq/us.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/gq/us.gif -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/hamburger-retina.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/hamburger-retina.gif -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/hamburger.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/hamburger.gif -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/icon-add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/icon-add.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/icon_error_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/icon_error_s.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/icon_jt2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/icon_jt2.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/icon_right_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/icon_right_s.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/icon_warning_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/icon_warning_s.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/loading.gif -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/loading_072.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/loading_072.gif -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/sort_asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/sort_asc.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/sort_both.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/sort_both.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/sort_desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/sort_desc.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/totop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/totop.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/images/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/images/user.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/Hui-iconfont/1.0.1/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/Hui-iconfont/1.0.1/iconfont.eot -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/Hui-iconfont/1.0.1/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/Hui-iconfont/1.0.1/iconfont.ttf -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/Hui-iconfont/1.0.1/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/Hui-iconfont/1.0.1/iconfont.woff -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/Thumbs.db -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/aero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/aero.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/aero@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/aero@2x.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/blue.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/blue@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/blue@2x.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/green.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/green@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/green@2x.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/grey.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/grey@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/grey@2x.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/jquery.icheck.min.js: -------------------------------------------------------------------------------- 1 | // iCheck v0.7, http://git.io/uhUPMA 2 | (function(b){function m(a,b,d,c){var e=a[0],l=a.parent(),j=/disable|enable/.test(d)?"disabled":"checked",f="update"==d?{checked:e.checked,disabled:e.disabled}:e[j];if(/^check|disable/.test(d)&&!f)n(a,!0,l,j);else if(/uncheck|enable/.test(d)&&f)p(a,!0,l,j);else if("update"==d)for(j in f)f[j]?n(a,!1,l,j,c):p(a,!1,l,j,c);else b||(!0==d&&!e.disabled&&a.trigger("is.Clicked"),f?n(a,!0,l,j):p(a,!0,l,j))}function n(a,k,d,c,e){k&&(a[0][c]=!0);!0!==d.data(c)&&("checked"==c&&("radio"==a[0].type&&a[0].name)&& 3 | b("input[name="+a[0].name+"]").each(function(){this!==a[0]&&b(this).data("icheck")&&p(b(this),!0,b(this).parent(),c)}),(k||e)&&a.trigger("is.Changed"),k&&a.trigger("is."+c.replace("di","Di").replace("ch","Ch")),d.data(c,!0).addClass(r(a,c)))}function p(a,b,d,c,e){var l="disabled"==c?"Enabled":"Unchecked";b&&(a[0][c]=!1);!1!==d.data(c)&&((b||e)&&a.trigger("is.Changed"),b&&a.trigger("is."+l),d.data(c,!1).removeClass(r(a,c)))}function u(a,k){if(a.data("icheck")){var d=a[0].id,c=b("label[for="+d+"]"); 4 | a.parent().html(a.attr("style",a.data("icheck").style||"").trigger(k||""));a.removeData("icheck").unbind(".df").unwrap();d&&c.length&&c.unbind(".df")}}function r(a,b){if(a.data("icheck"))return a.data("icheck").options[b+"Class"]}b.fn.iCheck=function(a){if(/^(check|uncheck|disable|enable|update|destroy)$/.test(a))return this.each(function(){/destroy/.test(a)?u(b(this),"is.Destroyed"):m(b(this),!0,a)});if("object"==typeof a||!a){var k=navigator.userAgent,d=b.extend({},{checkboxClass:"icheckbox",radioClass:"iradio", 5 | checkedClass:"checked",disabledClass:"disabled",hoverClass:"hover",focusClass:"focus",activeClass:"active",labelHover:!0,labelHoverClass:"hover"},a),c=/^(checkbox|radio)$/.test(d.handle)?":"+d.handle:":checkbox, :radio",e=(""+d.increaseArea).replace("%","")|0;-50>e&&(e=-50);return this.each(function(){(b(this).is(c)?b(this):b(this).find(c)).each(function(){u(b(this));var a=this,c=a.id,f={position:"absolute",top:-e+"%",left:-e+"%",display:"block",width:100+2*e+"%",height:100+2*e+"%",margin:0,padding:0, 6 | background:"#fff",border:0,opacity:0},r=/ipad|iphone|ipod|android|blackberry|windows phone|opera mini/i.test(k)?{position:"absolute",visibility:"hidden"}:e|0?f:{position:"absolute",opacity:0},w="checkbox"==a.type?d.checkboxClass:d.radioClass,h=b(this).data("icheck",{style:b(this).attr("style"),options:d}).css(r),q=b("label[for="+c+"]"),g=h.wrap('
').trigger("is.Created").parent().append(d.insert),f=b("").css(f).appendTo(g).click(function(){h.click();m(h,!1,!0)}),s=d.hoverClass, 7 | t=d.labelHoverClass,v;!0==d.cursor&&f.css("cursor","pointer");!0==d.inheritClass&&g.addClass(a.className);!0==d.inheritID&&c&&g.attr("id","icheck-"+c);"static"==g.css("position")&&g.css("position","relative");m(h,!0,"update");c&&q.length&&q.bind("click.df mouseenter.df mouseleave.df touchbegin.df touchend.df",function(c){var e=c.type,f=b(this);"click"==e?(c.preventDefault(),h.click(),m(h,!1,!0)):!0==d.labelHover&&!a.disabled&&(/mouseenter|touchbegin/.test(e)?(g.addClass(s),f.addClass(t)):(g.removeClass(s), 8 | f.removeClass(t)))});h.bind("focus.df blur.df keyup.df keydown.df keypress.df",function(c){var b=c.type,e=c.keyCode||c.charCode||c.which;c=/MSIE [5-8]/.test(k)?"keyup"==b&&"keypress"!==v:"keyup"==b;e="keypress"==b&&32==e;/focus|blur/.test(b)?"focus"==b?g.addClass(d.focusClass):g.removeClass(d.focusClass):"radio"==a.type?(c?m(h,!0,"update",!0):e&&!a.checked&&n(h,!1,g,"checked",!0),v=b):"checkbox"==a.type&&e&&(a.checked?p(h,!1,g,"checked",!0):n(h,!1,g,"checked",!0))});f.bind("mousedown mouseup mouseout mouseenter mouseleave touchbegin touchend", 9 | function(b){b=b.type;var e=/mousedown|mouseup|mouseout/.test(b)?d.activeClass:s;a.disabled||(/mousedown|mouseenter|touchbegin/.test(b)?g.addClass(e):g.removeClass(e),c&&(q.length&&!0==d.labelHover&&e==s)&&(/mouseleave|touchend/.test(b)?q.removeClass(t):q.addClass(t)))})})})}return this}})(jQuery); -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/minimal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/minimal.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/minimal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/minimal@2x.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/orange.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/orange@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/orange@2x.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/pink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/pink.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/pink@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/pink@2x.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/purple.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/purple@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/purple@2x.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/red.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/red@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/red@2x.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/yellow.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/lib/icheck/yellow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/lib/icheck/yellow@2x.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/skin/default/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/skin/default/Thumbs.db -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/skin/default/acrossTab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/skin/default/acrossTab-bg.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/skin/default/acrossTab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/skin/default/acrossTab.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/skin/default/icon_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/h-ui/skin/default/icon_arrow.png -------------------------------------------------------------------------------- /代码/ssms/WebRoot/h-ui/skin/default/skin.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | /* 默认 黑色 */ 3 | /*全站默认字体颜色*/ 4 | a{color:#333}a:hover,a:focus,.maincolor,.maincolor a{color:#06c} 5 | .Hui-header{ color:#fff}/*头部颜色*/ 6 | .Hui-logo,.Hui-logo-m,.Hui-subtitle,.Hui-userbar{color:#fff}/*logo 及 用户信息文字颜色*/ 7 | .Hui-logo:hover,.Hui-logo-m:hover{color:#fff;text-decoration: none} 8 | 9 | .Hui-header{background-color:#222}/*顶部导航*/ 10 | #Hui-nav > ul > li > a{ color:#fff}/*顶部导航文字颜色*/ 11 | #Hui-nav > ul > li > a:hover,#Hui-nav > ul > li.current > a{ color:#fff}/*导航高亮状态*/ 12 | .Hui-userbar > li > a{ color:#fff} 13 | .Hui-userbar > li > a:hover,.Hui-userbar > li.current > a{ color:#fff}/*用户信息条高亮*/ 14 | .Hui-aside{}/*侧边栏*/ 15 | .Hui-aside .menu_dropdown dt{color:#333}/*左侧二级导航菜单*/ 16 | .Hui-aside .menu_dropdown dt:hover{color:#148cf1} 17 | .Hui-aside .menu_dropdown dt:hover [class^="icon-"]{ color:#7e8795} 18 | .Hui-aside .menu_dropdown li a{color:#666;border-bottom: 1px solid #e5e5e5} 19 | .Hui-aside .menu_dropdown li a:hover{color:#148cf1;background-color:#fafafa} 20 | .Hui-aside .menu_dropdown li.current a,.menu_dropdown li.current a:hover{color:#148cf1} 21 | .Hui-aside .menu_dropdown dt .Hui-iconfont{ color:#a0a7b1} 22 | .Hui-aside .menu_dropdown dt .menu_dropdown-arrow{ color:#b6b7b8} 23 | .dislpayArrow a{background:url(icon_arrow.png) no-repeat 0 0} -------------------------------------------------------------------------------- /代码/ssms/WebRoot/index.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /代码/ssms/WebRoot/photo/student.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/photo/student.jpg -------------------------------------------------------------------------------- /代码/ssms/WebRoot/photo/teacher.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/student-chen/Javaweb-ssms/74550a6e7ce5cb34659f172464c39b5b270eff07/代码/ssms/WebRoot/photo/teacher.jpg -------------------------------------------------------------------------------- /代码/ssms/WebRoot/refresh.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" 2 | pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /代码/ssms/src/c3p0-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | com.mysql.jdbc.Driver 5 | jdbc:mysql://localhost:3306/ssms?characterEncoding=utf-8 6 | root 7 | 123456 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/bean/Clazz.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.bean; 2 | 3 | import java.util.LinkedList; 4 | import java.util.List; 5 | 6 | /** 7 | * 班级类 8 | * @author chen 9 | * 10 | */ 11 | public class Clazz { 12 | 13 | private int id; //ID 14 | 15 | private String name; //名称 16 | 17 | private Grade grade; //班级所属年级 18 | 19 | private int gradeid; //年级ID 20 | 21 | private List studentList = new LinkedList(); 22 | 23 | public int getId() { 24 | return id; 25 | } 26 | 27 | public void setId(int id) { 28 | this.id = id; 29 | } 30 | 31 | public String getName() { 32 | return name; 33 | } 34 | 35 | public void setName(String name) { 36 | this.name = name; 37 | } 38 | 39 | public Grade getGrade() { 40 | return grade; 41 | } 42 | 43 | public void setGrade(Grade grade) { 44 | this.grade = grade; 45 | } 46 | 47 | public int getGradeid() { 48 | return gradeid; 49 | } 50 | 51 | public void setGradeid(int gradeid) { 52 | Grade grade = new Grade(); 53 | grade.setId(gradeid); 54 | this.grade = grade; 55 | this.gradeid = gradeid; 56 | } 57 | 58 | public List getStudentList() { 59 | return studentList; 60 | } 61 | 62 | public void setStudentList(List studentList) { 63 | this.studentList = studentList; 64 | } 65 | 66 | } 67 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/bean/Course.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.bean; 2 | 3 | /** 4 | * 课程类 5 | * @author chen 6 | * 7 | */ 8 | public class Course { 9 | 10 | private int id; //ID 11 | 12 | private String name; //名称 13 | 14 | public int getId() { 15 | return id; 16 | } 17 | 18 | public void setId(int id) { 19 | this.id = id; 20 | } 21 | 22 | public String getName() { 23 | return name; 24 | } 25 | 26 | public void setName(String name) { 27 | this.name = name; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/bean/CourseItem.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.bean; 2 | 3 | /** 4 | * 教师与课程的具体对应 5 | * @author chen 6 | * 7 | */ 8 | public class CourseItem { 9 | 10 | private Clazz clazz; //班级 11 | 12 | private int clazzid; //班级ID 13 | 14 | private Grade grade; //年级 15 | 16 | private int gradeid; //年级ID 17 | 18 | private Course course; //课程 19 | 20 | private int courseid; //课程ID 21 | 22 | private Teacher teacher; //教师 23 | 24 | private int teacherid; //教师ID 25 | 26 | public Clazz getClazz() { 27 | return clazz; 28 | } 29 | 30 | public void setClazz(Clazz clazz) { 31 | this.clazz = clazz; 32 | } 33 | 34 | public int getClazzid() { 35 | return clazzid; 36 | } 37 | 38 | public void setClazzid(int clazzid) { 39 | this.clazzid = clazzid; 40 | } 41 | 42 | public Grade getGrade() { 43 | return grade; 44 | } 45 | 46 | public void setGrade(Grade grade) { 47 | this.grade = grade; 48 | } 49 | 50 | public int getGradeid() { 51 | return gradeid; 52 | } 53 | 54 | public void setGradeid(int gradeid) { 55 | this.gradeid = gradeid; 56 | } 57 | 58 | public Course getCourse() { 59 | return course; 60 | } 61 | 62 | public void setCourse(Course course) { 63 | this.course = course; 64 | } 65 | 66 | public int getCourseid() { 67 | return courseid; 68 | } 69 | 70 | public void setCourseid(int courseid) { 71 | this.courseid = courseid; 72 | } 73 | 74 | public Teacher getTeacher() { 75 | return teacher; 76 | } 77 | 78 | public void setTeacher(Teacher teacher) { 79 | this.teacher = teacher; 80 | } 81 | 82 | public int getTeacherid() { 83 | return teacherid; 84 | } 85 | 86 | public void setTeacherid(int teacherid) { 87 | this.teacherid = teacherid; 88 | } 89 | 90 | 91 | } 92 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/bean/EScore.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.bean; 2 | 3 | /** 4 | * 考试成绩类 5 | * @author chen 6 | * 7 | */ 8 | public class EScore { 9 | 10 | private int id; //ID 11 | 12 | private Exam exam; //考试 13 | 14 | private int examid; //考试ID 15 | 16 | private Clazz clazz; //考试班级 17 | 18 | private int clazzid; //班级ID 19 | 20 | private Course course; //考试科目 21 | 22 | private int courseid; //科目ID 23 | 24 | private Student student; //考试学生 25 | 26 | private int studentid; //学生ID 27 | 28 | private int score; //考试成绩 29 | 30 | public int getId() { 31 | return id; 32 | } 33 | 34 | public void setId(int id) { 35 | this.id = id; 36 | } 37 | 38 | public Exam getExam() { 39 | return exam; 40 | } 41 | 42 | public void setExam(Exam exam) { 43 | this.exam = exam; 44 | } 45 | 46 | public int getExamid() { 47 | return examid; 48 | } 49 | 50 | public void setExamid(int examid) { 51 | Exam exam = new Exam(); 52 | exam.setId(examid); 53 | this.exam = exam; 54 | this.examid = examid; 55 | } 56 | 57 | public Clazz getClazz() { 58 | return clazz; 59 | } 60 | 61 | public void setClazz(Clazz clazz) { 62 | this.clazz = clazz; 63 | } 64 | 65 | public int getClazzid() { 66 | return clazzid; 67 | } 68 | 69 | public void setClazzid(int clazzid) { 70 | Clazz clazz = new Clazz(); 71 | clazz.setId(clazzid); 72 | this.clazz = clazz; 73 | this.clazzid = clazzid; 74 | } 75 | 76 | public Course getCourse() { 77 | return course; 78 | } 79 | 80 | public void setCourse(Course course) { 81 | this.course = course; 82 | } 83 | 84 | public int getCourseid() { 85 | return courseid; 86 | } 87 | 88 | public void setCourseid(int courseid) { 89 | Course course = new Course(); 90 | course.setId(courseid); 91 | this.course = course; 92 | this.courseid = courseid; 93 | } 94 | 95 | public Student getStudent() { 96 | return student; 97 | } 98 | 99 | public void setStudent(Student student) { 100 | this.student = student; 101 | } 102 | 103 | public int getStudentid() { 104 | return studentid; 105 | } 106 | 107 | public void setStudentid(int studentid) { 108 | Student student = new Student(); 109 | student.setId(studentid); 110 | this.student = student; 111 | this.studentid = studentid; 112 | } 113 | 114 | public int getScore() { 115 | return score; 116 | } 117 | 118 | public void setScore(int score) { 119 | this.score = score; 120 | } 121 | 122 | } 123 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/bean/Exam.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.bean; 2 | 3 | import java.text.ParseException; 4 | import java.text.SimpleDateFormat; 5 | import java.util.Date; 6 | 7 | /** 8 | * 考试类 9 | * 10 | * 考试分为年级统考和平时考试两种 11 | * 年级统考由管理员添加一次考试 12 | * 平时考试由科任老师添加考试 13 | * @author chen 14 | * 15 | */ 16 | public class Exam { 17 | 18 | /** 19 | * 考试类型:年级统考 20 | */ 21 | public static final int EXAM_GRADE_TYPE = 1; 22 | 23 | /** 24 | * 考试类型:平时考试 25 | */ 26 | public static final int EXAM_NORMAL_TYPE = 2; 27 | 28 | private int id; //ID 29 | 30 | private String name; //考试名称 31 | 32 | private Date time; //考试时间 33 | 34 | private String etime; //考试时间 35 | 36 | private String remark; //备注 37 | 38 | private Grade grade; //考试年级 39 | 40 | private int gradeid; //年级ID 41 | 42 | private Clazz clazz; //考试的班级: 平时考试涉及到某个班级,统考则为所有班级 43 | 44 | private int clazzid; //班级ID 45 | 46 | private Course course; //考试科目:单科情况 47 | 48 | private int courseid; //考试科目ID 49 | 50 | private int type = EXAM_GRADE_TYPE; //考试类型:默认为1,1为年级统考,2为平时考试 51 | 52 | public int getId() { 53 | return id; 54 | } 55 | 56 | public void setId(int id) { 57 | this.id = id; 58 | } 59 | 60 | public String getName() { 61 | return name; 62 | } 63 | 64 | public void setName(String name) { 65 | this.name = name; 66 | } 67 | 68 | public Date getTime() { 69 | return time; 70 | } 71 | 72 | public void setTime(Date time) { 73 | SimpleDateFormat sdf = new SimpleDateFormat("yyyy 年 MM 月 dd 日"); 74 | this.etime = sdf.format(time); 75 | this.time = time; 76 | } 77 | 78 | public String getEtime() { 79 | return etime; 80 | } 81 | 82 | public void setEtime(String etime) { 83 | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); 84 | try { 85 | this.time = sdf.parse(etime); 86 | } catch (ParseException e) { 87 | e.printStackTrace(); 88 | } 89 | this.etime = etime; 90 | } 91 | 92 | public String getRemark() { 93 | return remark; 94 | } 95 | 96 | public void setRemark(String remark) { 97 | this.remark = remark; 98 | } 99 | 100 | public Grade getGrade() { 101 | return grade; 102 | } 103 | 104 | public void setGrade(Grade grade) { 105 | this.grade = grade; 106 | } 107 | 108 | public int getGradeid() { 109 | return gradeid; 110 | } 111 | 112 | public void setGradeid(int gradeid) { 113 | Grade grade = new Grade(); 114 | grade.setId(gradeid); 115 | this.grade = grade; 116 | this.gradeid = gradeid; 117 | } 118 | 119 | public Clazz getClazz() { 120 | return clazz; 121 | } 122 | 123 | public void setClazz(Clazz clazz) { 124 | this.clazz = clazz; 125 | } 126 | 127 | public int getClazzid() { 128 | return clazzid; 129 | } 130 | 131 | public void setClazzid(int clazzid) { 132 | Clazz clazz = new Clazz(); 133 | clazz.setId(clazzid); 134 | this.clazz = clazz; 135 | this.clazzid = clazzid; 136 | } 137 | 138 | public int getType() { 139 | return type; 140 | } 141 | 142 | public void setType(int type) { 143 | this.type = type; 144 | } 145 | 146 | public Course getCourse() { 147 | return course; 148 | } 149 | 150 | public void setCourse(Course course) { 151 | this.course = course; 152 | } 153 | 154 | public int getCourseid() { 155 | return courseid; 156 | } 157 | 158 | public void setCourseid(int courseid) { 159 | Course course = new Course(); 160 | course.setId(courseid); 161 | this.course = course; 162 | this.courseid = courseid; 163 | } 164 | 165 | } 166 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/bean/Grade.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.bean; 2 | 3 | import java.util.LinkedList; 4 | import java.util.List; 5 | 6 | /** 7 | * 年级类 8 | * @author chen 9 | * 10 | */ 11 | public class Grade { 12 | 13 | private int id; //ID 14 | 15 | private String name; //名称 16 | 17 | private List clazzList = new LinkedList(); //年级下的班级列表 18 | 19 | private List courseList = new LinkedList(); //本年级的课程 20 | 21 | private List studentList = new LinkedList(); //年级下的学 22 | 23 | public int getId() { 24 | return id; 25 | } 26 | 27 | public void setId(int id) { 28 | this.id = id; 29 | } 30 | 31 | public String getName() { 32 | return name; 33 | } 34 | 35 | public void setName(String name) { 36 | this.name = name; 37 | } 38 | 39 | public List getClazzList() { 40 | return clazzList; 41 | } 42 | 43 | public void setClazzList(List clazzList) { 44 | this.clazzList = clazzList; 45 | } 46 | 47 | public List getCourseList() { 48 | return courseList; 49 | } 50 | 51 | public void setCourseList(List courseList) { 52 | this.courseList = courseList; 53 | } 54 | 55 | public List getStudentList() { 56 | return studentList; 57 | } 58 | 59 | public void setStudentList(List studentList) { 60 | this.studentList = studentList; 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/bean/Page.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.bean; 2 | 3 | /** 4 | * 封装分页参数 5 | * @author chen 6 | * 7 | */ 8 | public class Page { 9 | 10 | /** 11 | * 开始查询位置 12 | */ 13 | private int start; 14 | 15 | /** 16 | * 页码 17 | */ 18 | private int code; 19 | 20 | /** 21 | * 每页记录数 22 | */ 23 | private int size; 24 | 25 | 26 | public Page() { 27 | 28 | } 29 | 30 | public Page(int code, int size) { 31 | this.code = code; 32 | this.size = size; 33 | this.start = (code-1) * size; 34 | } 35 | 36 | public int getStart() { 37 | this.start = (code-1) * size; 38 | return start; 39 | } 40 | 41 | public void setStart(int start) { 42 | this.start = start; 43 | } 44 | 45 | public int getCode() { 46 | return code; 47 | } 48 | 49 | public void setCode(int code) { 50 | this.code = code; 51 | } 52 | 53 | public int getSize() { 54 | return size; 55 | } 56 | 57 | public void setSize(int size) { 58 | this.size = size; 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/bean/Student.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.bean; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * 学生类 7 | * @author chen 8 | * 9 | */ 10 | public class Student { 11 | 12 | private int id; //ID 13 | 14 | private String number; //学号 15 | 16 | private String name; //姓名 17 | 18 | private String sex; //性别 19 | 20 | private String phone; //电话 21 | 22 | private String qq; //QQ 23 | 24 | private Clazz clazz; //班级 25 | 26 | private int clazzid; //班级ID 27 | 28 | private Grade grade; //年级 29 | 30 | private int gradeid; //年级ID 31 | 32 | @SuppressWarnings("unused") 33 | private List scoreList; //成绩集合 34 | 35 | public int getId() { 36 | return id; 37 | } 38 | 39 | public void setId(int id) { 40 | this.id = id; 41 | } 42 | 43 | public String getNumber() { 44 | return number; 45 | } 46 | 47 | public void setNumber(String number) { 48 | this.number = number; 49 | } 50 | 51 | public String getName() { 52 | return name; 53 | } 54 | 55 | public void setName(String name) { 56 | this.name = name; 57 | } 58 | 59 | public String getSex() { 60 | return sex; 61 | } 62 | 63 | public void setSex(String sex) { 64 | this.sex = sex; 65 | } 66 | 67 | public String getPhone() { 68 | return phone; 69 | } 70 | 71 | public void setPhone(String phone) { 72 | this.phone = phone; 73 | } 74 | 75 | public String getQq() { 76 | return qq; 77 | } 78 | 79 | public void setQq(String qq) { 80 | this.qq = qq; 81 | } 82 | 83 | public Clazz getClazz() { 84 | return clazz; 85 | } 86 | 87 | public void setClazz(Clazz clazz) { 88 | this.clazz = clazz; 89 | } 90 | 91 | public int getClazzid() { 92 | return clazzid; 93 | } 94 | 95 | public void setClazzid(int clazzid) { 96 | Clazz clazz = new Clazz(); 97 | clazz.setId(clazzid); 98 | this.clazz = clazz; 99 | this.clazzid = clazzid; 100 | } 101 | 102 | public Grade getGrade() { 103 | return grade; 104 | } 105 | 106 | public void setGrade(Grade grade) { 107 | this.grade = grade; 108 | } 109 | 110 | public int getGradeid() { 111 | return gradeid; 112 | } 113 | 114 | public void setGradeid(int gradeid) { 115 | Grade grade = new Grade(); 116 | grade.setId(gradeid); 117 | this.grade = grade; 118 | this.gradeid = gradeid; 119 | } 120 | 121 | } 122 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/bean/SystemInfo.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.bean; 2 | 3 | /** 4 | * 系统初始化的一些信息 5 | * @author chen 6 | * 7 | */ 8 | public class SystemInfo { 9 | 10 | private int id; 11 | 12 | private String schoolName; //学校名称 13 | 14 | private int forbidTeacher; //禁止教师登录系统 15 | 16 | private int forbidStudent; //禁止学生登录系统 17 | 18 | private String noticeTeacher; //教师通知 19 | 20 | private String noticeStudent; //学生通知 21 | 22 | public int getId() { 23 | return id; 24 | } 25 | 26 | public void setId(int id) { 27 | this.id = id; 28 | } 29 | 30 | public String getSchoolName() { 31 | return schoolName; 32 | } 33 | 34 | public void setSchoolName(String schoolName) { 35 | this.schoolName = schoolName; 36 | } 37 | 38 | public int getForbidTeacher() { 39 | return forbidTeacher; 40 | } 41 | 42 | public void setForbidTeacher(int forbidTeacher) { 43 | this.forbidTeacher = forbidTeacher; 44 | } 45 | 46 | public int getForbidStudent() { 47 | return forbidStudent; 48 | } 49 | 50 | public void setForbidStudent(int forbidStudent) { 51 | this.forbidStudent = forbidStudent; 52 | } 53 | 54 | public String getNoticeTeacher() { 55 | return noticeTeacher; 56 | } 57 | 58 | public void setNoticeTeacher(String noticeTeacher) { 59 | this.noticeTeacher = noticeTeacher; 60 | } 61 | 62 | public String getNoticeStudent() { 63 | return noticeStudent; 64 | } 65 | 66 | public void setNoticeStudent(String noticeStudent) { 67 | this.noticeStudent = noticeStudent; 68 | } 69 | 70 | } 71 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/bean/Teacher.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.bean; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | /** 7 | * 教师类 8 | * @author chen 9 | * 10 | */ 11 | public class Teacher { 12 | 13 | private int id; //ID 14 | 15 | private String number; //工号 16 | 17 | private String name; //姓名 18 | 19 | private String sex; //性别 20 | 21 | private String phone; //电话 22 | 23 | private String qq; //QQ 24 | 25 | private List courseList = new ArrayList(); 26 | 27 | private String[] course = new String[]{}; //课程集合 28 | 29 | public int getId() { 30 | return id; 31 | } 32 | 33 | public void setId(int id) { 34 | this.id = id; 35 | } 36 | 37 | public String getNumber() { 38 | return number; 39 | } 40 | 41 | public void setNumber(String number) { 42 | this.number = number; 43 | } 44 | 45 | public String getName() { 46 | return name; 47 | } 48 | 49 | public void setName(String name) { 50 | this.name = name; 51 | } 52 | 53 | public String getSex() { 54 | return sex; 55 | } 56 | 57 | public void setSex(String sex) { 58 | this.sex = sex; 59 | } 60 | 61 | public String getPhone() { 62 | return phone; 63 | } 64 | 65 | public void setPhone(String phone) { 66 | this.phone = phone; 67 | } 68 | 69 | public String getQq() { 70 | return qq; 71 | } 72 | 73 | public void setQq(String qq) { 74 | this.qq = qq; 75 | } 76 | 77 | public List getCourseList() { 78 | return courseList; 79 | } 80 | 81 | public void setCourseList(List courseList) { 82 | this.courseList = courseList; 83 | } 84 | 85 | public String[] getCourse() { 86 | return course; 87 | } 88 | 89 | public void setCourse(String[] course) { 90 | this.course = course; 91 | } 92 | 93 | } 94 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/bean/User.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.bean; 2 | 3 | /** 4 | * 系统用户类 5 | * @author chen 6 | * 7 | */ 8 | public class User { 9 | 10 | /** 11 | * 管理员类型用户 12 | */ 13 | public static final int USER_ADMIN = 1; 14 | 15 | /** 16 | * 学生类型用户 17 | */ 18 | public static final int USER_STUDENT = 2; 19 | 20 | /** 21 | * 教师类型用户 22 | */ 23 | public static final int USER_TEACHER = 3; 24 | 25 | private int id; //ID 26 | 27 | private String account; //账户 28 | 29 | private String password = "111111"; //密码:默认'111111' 30 | 31 | private String name; //用户姓名 32 | 33 | private int type = USER_STUDENT; // 账户类型:默认2为学生;1为管理员,2为学生,3为教师 34 | 35 | public int getId() { 36 | return id; 37 | } 38 | 39 | public void setId(int id) { 40 | this.id = id; 41 | } 42 | 43 | public String getAccount() { 44 | return account; 45 | } 46 | 47 | public void setAccount(String account) { 48 | this.account = account; 49 | } 50 | 51 | public String getPassword() { 52 | return password; 53 | } 54 | 55 | public void setPassword(String password) { 56 | this.password = password; 57 | } 58 | 59 | public String getName() { 60 | return name; 61 | } 62 | 63 | public void setName(String name) { 64 | this.name = name; 65 | } 66 | 67 | public int getType() { 68 | return type; 69 | } 70 | 71 | public void setType(int type) { 72 | this.type = type; 73 | } 74 | 75 | } 76 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/dao/impl/ClazzDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.dao.impl; 2 | 3 | import java.sql.Connection; 4 | import java.sql.PreparedStatement; 5 | import java.sql.ResultSet; 6 | import java.util.LinkedList; 7 | import java.util.List; 8 | 9 | import com.lizhou.bean.Clazz; 10 | import com.lizhou.bean.Grade; 11 | import com.lizhou.bean.Page; 12 | import com.lizhou.dao.inter.ClazzDaoInter; 13 | import com.lizhou.tools.MysqlTool; 14 | import com.lizhou.tools.StringTool; 15 | 16 | public class ClazzDaoImpl extends BaseDaoImpl implements ClazzDaoInter { 17 | 18 | public List getClazzDetailList(String gradeid, Page page) { 19 | //数据集合 20 | List list = new LinkedList(); 21 | try { 22 | StringBuffer sb = new StringBuffer("SELECT c.id cid, c.name cname, g.id gid, g.name gname FROM clazz c, grade g WHERE c.gradeid = g.id"); 23 | List param = new LinkedList(); 24 | if(!StringTool.isEmpty(gradeid)){ 25 | sb.append(" AND c.gradeid=? "); 26 | param.add(Integer.parseInt(gradeid)); 27 | } 28 | sb.append(" LIMIT ?,?"); 29 | param.add(page.getStart()); 30 | param.add(page.getSize()); 31 | 32 | String sql = sb.toString(); 33 | //获取数据库连接 34 | Connection conn = MysqlTool.getConnection(); 35 | //预编译 36 | PreparedStatement ps = conn.prepareStatement(sql); 37 | //设置参数 38 | if(param != null && param.size() > 0){ 39 | for(int i = 0;i < param.size();i++){ 40 | ps.setObject(i+1, param.get(i)); 41 | } 42 | } 43 | //执行sql语句 44 | ResultSet rs = ps.executeQuery(); 45 | //遍历结果集 46 | while(rs.next()){ 47 | //创建对象 48 | Clazz clazz = new Clazz(); 49 | Grade grade = new Grade(); 50 | //封装参数 51 | grade.setId(rs.getInt("gid")); 52 | grade.setName(rs.getString("gname")); 53 | clazz.setId(rs.getInt("cid")); 54 | clazz.setName(rs.getString("cname")); 55 | clazz.setGradeid(rs.getInt("gid")); 56 | //添加 57 | clazz.setGrade(grade); 58 | //添加到集合 59 | list.add(clazz); 60 | } 61 | //关闭连接 62 | MysqlTool.closeConnection(); 63 | MysqlTool.close(ps); 64 | MysqlTool.close(rs); 65 | } catch (Exception e) { 66 | e.printStackTrace(); 67 | } 68 | return list; 69 | } 70 | 71 | 72 | } 73 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/dao/impl/ExamDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.dao.impl; 2 | 3 | import java.sql.Connection; 4 | import java.sql.PreparedStatement; 5 | import java.sql.ResultSet; 6 | import java.sql.ResultSetMetaData; 7 | import java.util.LinkedList; 8 | import java.util.List; 9 | 10 | import org.apache.commons.beanutils.BeanUtils; 11 | 12 | import com.lizhou.bean.Clazz; 13 | import com.lizhou.bean.Course; 14 | import com.lizhou.bean.Exam; 15 | import com.lizhou.bean.Grade; 16 | import com.lizhou.dao.inter.ExamDaoInter; 17 | import com.lizhou.tools.MysqlTool; 18 | 19 | /** 20 | * 21 | * @author chen 22 | * 23 | */ 24 | public class ExamDaoImpl extends BaseDaoImpl implements ExamDaoInter { 25 | 26 | @SuppressWarnings("unused") 27 | public List getExamList(String sql, List param) { 28 | //数据集合 29 | List list = new LinkedList(); 30 | try { 31 | //获取数据库连接 32 | Connection conn = MysqlTool.getConnection(); 33 | //预编译 34 | PreparedStatement ps = conn.prepareStatement(sql); 35 | //设置参数 36 | if(param != null && param.size() > 0){ 37 | for(int i = 0;i < param.size();i++){ 38 | ps.setObject(i+1, param.get(i)); 39 | } 40 | } 41 | //执行sql语句 42 | ResultSet rs = ps.executeQuery(); 43 | //获取元数据 44 | ResultSetMetaData meta = rs.getMetaData(); 45 | //遍历结果集 46 | while(rs.next()){ 47 | //创建对象 48 | Exam exam = new Exam(); 49 | //遍历每个字段 50 | for(int i=1;i <= meta.getColumnCount();i++){ 51 | String field = meta.getColumnName(i); 52 | Object value = rs.getObject(field); 53 | BeanUtils.setProperty(exam, field, rs.getObject(field)); 54 | } 55 | //查询班级 56 | Clazz clazz = (Clazz) getObject(Clazz.class, "SELECT * FROM clazz WHERE id=?", new Object[]{exam.getClazzid()}); 57 | //查询年级 58 | Grade grade = (Grade) getObject(Grade.class, "SELECT * FROM grade WHERE id=?", new Object[]{exam.getGradeid()}); 59 | //查询科目 60 | Course course = (Course) getObject(Course.class, "SELECT * FROM course WHERE id=?", new Object[]{exam.getCourseid()}); 61 | //添加 62 | exam.setClazz(clazz); 63 | exam.setGrade(grade); 64 | exam.setCourse(course); 65 | //添加到集合 66 | list.add(exam); 67 | } 68 | //关闭连接 69 | MysqlTool.closeConnection(); 70 | MysqlTool.close(ps); 71 | MysqlTool.close(rs); 72 | } catch (Exception e) { 73 | e.printStackTrace(); 74 | } 75 | return list; 76 | } 77 | 78 | 79 | } 80 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/dao/impl/PhotoDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.dao.impl; 2 | 3 | import java.io.InputStream; 4 | import java.sql.Connection; 5 | import java.sql.PreparedStatement; 6 | import java.sql.ResultSet; 7 | 8 | import com.lizhou.bean.User; 9 | import com.lizhou.dao.inter.PhotoDaoInter; 10 | import com.lizhou.tools.MysqlTool; 11 | 12 | public class PhotoDaoImpl implements PhotoDaoInter { 13 | 14 | public void setPhoto(User user, InputStream is) throws Exception { 15 | Connection conn = MysqlTool.getConnection(); 16 | String sql = ""; 17 | if(user.getType() == User.USER_STUDENT){ //学生 18 | sql = "UPDATE student SET photo=? WHERE number=?"; 19 | } else if(user.getType() == User.USER_TEACHER){ //老师 20 | sql = "UPDATE teacher SET photo=? WHERE number=?"; 21 | } 22 | PreparedStatement ps = conn.prepareStatement(sql); 23 | ps.setBinaryStream(1, is, is.available()); 24 | ps.setString(2, user.getAccount()); 25 | ps.execute(); 26 | 27 | MysqlTool.close(ps); 28 | MysqlTool.closeConnection(); 29 | } 30 | 31 | public InputStream getPhoto(User user) { 32 | Connection conn = MysqlTool.getConnection(); 33 | InputStream is = null; 34 | String sql = ""; 35 | if(user.getType() == User.USER_STUDENT){ //学生 36 | sql = "SELECT photo FROM student WHERE number=?"; 37 | } else if(user.getType() == User.USER_TEACHER){ //老师 38 | sql = "SELECT photo FROM teacher WHERE number=?"; 39 | } 40 | try { 41 | PreparedStatement ps = conn.prepareStatement(sql); 42 | ps.setString(1, user.getAccount()); 43 | ResultSet rs = ps.executeQuery(); 44 | if(rs.next()){ 45 | is = rs.getBinaryStream(1); 46 | } 47 | MysqlTool.close(ps); 48 | MysqlTool.close(rs); 49 | MysqlTool.closeConnection(); 50 | } catch (Exception e) { 51 | e.printStackTrace(); 52 | } 53 | return is; 54 | } 55 | 56 | } 57 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/dao/impl/ScoreDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.dao.impl; 2 | 3 | import java.sql.Connection; 4 | import java.util.LinkedHashMap; 5 | import java.util.LinkedList; 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | import com.lizhou.bean.EScore; 10 | import com.lizhou.bean.Exam; 11 | import com.lizhou.bean.Student; 12 | import com.lizhou.dao.inter.ScoreDaoInter; 13 | import com.lizhou.tools.MysqlTool; 14 | 15 | 16 | public class ScoreDaoImpl extends BaseDaoImpl implements ScoreDaoInter { 17 | @SuppressWarnings("rawtypes") 18 | public List> getScoreList(Exam exam) { 19 | //sql语句 20 | List stuParam = new LinkedList(); 21 | StringBuffer stuSb = new StringBuffer("SELECT id, name, number FROM student WHERE gradeid=? "); 22 | stuParam.add(exam.getGradeid()); 23 | if(exam.getClazzid() != 0){ 24 | stuSb.append(" AND clazzid=?"); 25 | stuParam.add(exam.getClazzid()); 26 | } 27 | String stuSql = stuSb.toString(); 28 | 29 | //获取数据库连接 30 | Connection conn = MysqlTool.getConnection(); 31 | 32 | //获取该年级下的所有学生 33 | List stuList = getList(Student.class, stuSql, stuParam); 34 | 35 | //数据集合 36 | List> list = new LinkedList>(); 37 | 38 | //sql语句 39 | String sql = "SELECT e.id,e.courseid,e.score FROM student s, escore e " 40 | + "WHERE s.id=e.studentid AND e.examid=? AND e.studentid=?"; 41 | 42 | for(int i = 0;i < stuList.size();i++){ 43 | @SuppressWarnings("unchecked") 44 | Map map = new LinkedHashMap(); 45 | 46 | Student student = (Student) stuList.get(i); 47 | 48 | map.put("name", student.getName()); 49 | map.put("number", student.getNumber()); 50 | 51 | List scoreList = getList(conn, EScore.class, sql, new Object[]{exam.getId(), student.getId()}); 52 | int total = 0; 53 | for(Object obj : scoreList){ 54 | EScore score = (EScore) obj; 55 | total += score.getScore(); 56 | 57 | //将成绩表id放入:便于获取单科成绩用于登记 58 | map.put("course"+score.getCourseid(), score.getScore()); 59 | map.put("escoreid"+score.getCourseid(), score.getId()); 60 | } 61 | if(exam.getType() == 1){ 62 | map.put("total", total); 63 | } 64 | 65 | list.add(map); 66 | } 67 | return list; 68 | } 69 | 70 | 71 | } 72 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/dao/impl/StudentDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.dao.impl; 2 | 3 | import java.sql.Connection; 4 | import java.sql.PreparedStatement; 5 | import java.sql.ResultSet; 6 | import java.sql.ResultSetMetaData; 7 | import java.util.LinkedList; 8 | import java.util.List; 9 | 10 | import org.apache.commons.beanutils.BeanUtils; 11 | 12 | import com.lizhou.bean.Clazz; 13 | import com.lizhou.bean.Grade; 14 | import com.lizhou.bean.Student; 15 | import com.lizhou.dao.inter.StudentDaoInter; 16 | import com.lizhou.tools.MysqlTool; 17 | 18 | public class StudentDaoImpl extends BaseDaoImpl implements StudentDaoInter { 19 | 20 | public List getStudentList(String sql, List param) { 21 | //数据集合 22 | List list = new LinkedList(); 23 | try { 24 | //获取数据库连接 25 | Connection conn = MysqlTool.getConnection(); 26 | //预编译 27 | PreparedStatement ps = conn.prepareStatement(sql); 28 | //设置参数 29 | if(param != null && param.size() > 0){ 30 | for(int i = 0;i < param.size();i++){ 31 | ps.setObject(i+1, param.get(i)); 32 | } 33 | } 34 | //执行sql语句 35 | ResultSet rs = ps.executeQuery(); 36 | //获取元数据 37 | ResultSetMetaData meta = rs.getMetaData(); 38 | //遍历结果集 39 | while(rs.next()){ 40 | //创建对象 41 | Student stu = new Student(); 42 | //遍历每个字段 43 | for(int i=1;i <= meta.getColumnCount();i++){ 44 | String field = meta.getColumnName(i); 45 | BeanUtils.setProperty(stu, field, rs.getObject(field)); 46 | } 47 | //查询班级 48 | Clazz clazz = (Clazz) getObject(Clazz.class, "SELECT * FROM clazz WHERE id=?", new Object[]{stu.getClazzid()}); 49 | //查询年级 50 | Grade grade = (Grade) getObject(Grade.class, "SELECT * FROM grade WHERE id=?", new Object[]{stu.getGradeid()}); 51 | //添加 52 | stu.setClazz(clazz); 53 | stu.setGrade(grade); 54 | //添加到集合 55 | list.add(stu); 56 | } 57 | //关闭连接 58 | MysqlTool.closeConnection(); 59 | MysqlTool.close(ps); 60 | MysqlTool.close(rs); 61 | } catch (Exception e) { 62 | e.printStackTrace(); 63 | } 64 | return list; 65 | } 66 | 67 | 68 | } 69 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/dao/impl/SystemDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.dao.impl; 2 | 3 | import com.lizhou.dao.inter.SystemDaoInter; 4 | 5 | /** 6 | * 系统数据层 7 | * @author chen 8 | * 9 | */ 10 | public class SystemDaoImpl extends BaseDaoImpl implements SystemDaoInter { 11 | 12 | 13 | 14 | 15 | 16 | } 17 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/dao/impl/TeacherDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.dao.impl; 2 | 3 | import java.sql.Connection; 4 | import java.sql.PreparedStatement; 5 | import java.sql.ResultSet; 6 | import java.sql.ResultSetMetaData; 7 | import java.util.LinkedList; 8 | import java.util.List; 9 | 10 | import org.apache.commons.beanutils.BeanUtils; 11 | 12 | import com.lizhou.bean.Clazz; 13 | import com.lizhou.bean.Course; 14 | import com.lizhou.bean.CourseItem; 15 | import com.lizhou.bean.Grade; 16 | import com.lizhou.bean.Teacher; 17 | import com.lizhou.dao.inter.TeacherDaoInter; 18 | import com.lizhou.tools.MysqlTool; 19 | 20 | /** 21 | * 教师数据层 22 | * @author chen 23 | * 24 | */ 25 | public class TeacherDaoImpl extends BaseDaoImpl implements TeacherDaoInter { 26 | 27 | public List getTeacherList(String sql, Object[] param, Grade grade, Clazz clazz) { 28 | //数据集合 29 | List list = new LinkedList(); 30 | try { 31 | //获取数据库连接 32 | Connection conn = MysqlTool.getConnection(); 33 | //预编译 34 | PreparedStatement ps = conn.prepareStatement(sql); 35 | //设置参数 36 | if(param != null && param.length > 0){ 37 | for(int i = 0;i < param.length;i++){ 38 | ps.setObject(i+1, param[i]); 39 | } 40 | } 41 | //执行sql语句 42 | ResultSet rs = ps.executeQuery(); 43 | //获取元数据 44 | ResultSetMetaData meta = rs.getMetaData(); 45 | //遍历结果集 46 | while(rs.next()){ 47 | //创建对象 48 | Teacher teacher = new Teacher(); 49 | //遍历每个字段 50 | for(int i=1;i <= meta.getColumnCount();i++){ 51 | String field = meta.getColumnName(i); 52 | BeanUtils.setProperty(teacher, field, rs.getObject(field)); 53 | } 54 | 55 | List itemParam = new LinkedList(); 56 | StringBuffer itemSql = new StringBuffer("SELECT * FROM clazz_course_teacher WHERE teacherid=? "); 57 | itemParam.add(teacher.getId()); 58 | if(grade != null){ 59 | itemSql.append(" AND gradeid=?"); 60 | itemParam.add(grade.getId()); 61 | } 62 | if(clazz != null){ 63 | itemSql.append(" AND clazzid=?"); 64 | itemParam.add(clazz.getId()); 65 | } 66 | 67 | List objList = getList(CourseItem.class, itemSql.toString(), itemParam); 68 | List itemList = new LinkedList(); 69 | for(Object obj : objList){ 70 | CourseItem item = (CourseItem) obj; 71 | //查询班级 72 | Clazz sclazz = (Clazz) getObject(Clazz.class, "SELECT * FROM clazz WHERE id=?", new Object[]{item.getClazzid()}); 73 | Grade sgrade = (Grade) getObject(Grade.class, "SELECT * FROM grade WHERE id=?", new Object[]{item.getGradeid()}); 74 | Course course = (Course) getObject(Course.class, "SELECT * FROM course WHERE id=?", new Object[]{item.getCourseid()}); 75 | 76 | item.setClazz(sclazz); 77 | item.setGrade(sgrade); 78 | item.setCourse(course); 79 | 80 | itemList.add(item); 81 | } 82 | //添加 83 | teacher.setCourseList(itemList); 84 | //添加到集合 85 | list.add(teacher); 86 | } 87 | //关闭连接 88 | MysqlTool.closeConnection(); 89 | MysqlTool.close(ps); 90 | MysqlTool.close(rs); 91 | } catch (Exception e) { 92 | e.printStackTrace(); 93 | } 94 | return list; 95 | } 96 | 97 | 98 | } 99 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/dao/inter/ClazzDaoInter.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.dao.inter; 2 | 3 | import java.util.List; 4 | 5 | import com.lizhou.bean.Clazz; 6 | import com.lizhou.bean.Page; 7 | 8 | /** 9 | * 班级数据层接口 10 | * @author chen 11 | * 12 | */ 13 | public interface ClazzDaoInter extends BaseDaoInter { 14 | 15 | /** 16 | * 获取班级详细信息 17 | * @param gradeid 年级ID 18 | * @param page 分页参数 19 | * @return 20 | */ 21 | public List getClazzDetailList(String gradeid, Page page); 22 | 23 | } 24 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/dao/inter/ExamDaoInter.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.dao.inter; 2 | 3 | import java.util.List; 4 | 5 | import com.lizhou.bean.Exam; 6 | 7 | /** 8 | * 操作学生的数据层接口 9 | * @author chen 10 | * 11 | */ 12 | public interface ExamDaoInter extends BaseDaoInter { 13 | 14 | /** 15 | * 获取考试信息 16 | * @param sql 要执行的sql语句 17 | * @param param 参数 18 | * @return 19 | */ 20 | public List getExamList(String sql, List param); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/dao/inter/PhotoDaoInter.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.dao.inter; 2 | 3 | import java.io.IOException; 4 | import java.io.InputStream; 5 | import java.sql.SQLException; 6 | 7 | import com.lizhou.bean.User; 8 | 9 | /** 10 | * 上传照片 11 | * @author chen 12 | * 13 | */ 14 | public interface PhotoDaoInter { 15 | 16 | /** 17 | * 插入照片 18 | * @param user 19 | * @param is 20 | * @throws SQLException 21 | * @throws IOException 22 | * @throws Exception 23 | */ 24 | void setPhoto(User user, InputStream is) throws Exception; 25 | 26 | /** 27 | * 获取照片,返回输入流 28 | * @param user 29 | * @return 30 | */ 31 | InputStream getPhoto(User user); 32 | } 33 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/dao/inter/ScoreDaoInter.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.dao.inter; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | import com.lizhou.bean.Exam; 7 | 8 | 9 | /** 10 | * 操作成绩的数据层接口 11 | * @author chen 12 | * 13 | */ 14 | public interface ScoreDaoInter extends BaseDaoInter { 15 | 16 | /** 17 | * 获取学生成绩表 18 | * @param exam 19 | * @param param 20 | * @return 21 | */ 22 | List> getScoreList(Exam exam); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/dao/inter/StudentDaoInter.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.dao.inter; 2 | 3 | import java.util.List; 4 | 5 | import com.lizhou.bean.Student; 6 | 7 | /** 8 | * 操作学生的数据层接口 9 | * @author chen 10 | * 11 | */ 12 | public interface StudentDaoInter extends BaseDaoInter { 13 | 14 | /** 15 | * 获取学生信息,这里需要将学生的班级,年级等信息封装进去 16 | * @param sql 要执行的sql语句 17 | * @param param 参数 18 | * @return 19 | */ 20 | public List getStudentList(String sql, List param); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/dao/inter/SystemDaoInter.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.dao.inter; 2 | 3 | 4 | public interface SystemDaoInter extends BaseDaoInter { 5 | 6 | 7 | } 8 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/dao/inter/TeacherDaoInter.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.dao.inter; 2 | 3 | import java.util.List; 4 | 5 | import com.lizhou.bean.Clazz; 6 | import com.lizhou.bean.Grade; 7 | import com.lizhou.bean.Teacher; 8 | 9 | /** 10 | * 操作教师的数据层接口 11 | * @author chen 12 | * 13 | */ 14 | public interface TeacherDaoInter extends BaseDaoInter { 15 | 16 | /** 17 | * 获取教师信息,这里需要将教师所选择的课程查询出来 18 | * @param sql 19 | * @param param 20 | * @param grade 年级参数 21 | * @param clazz 班级参数 22 | * @return 23 | */ 24 | public List getTeacherList(String sql, Object[] param, Grade grade, Clazz clazz); 25 | 26 | } 27 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/filter/EncodeFilter.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.filter; 2 | 3 | import java.io.IOException; 4 | 5 | import javax.servlet.Filter; 6 | import javax.servlet.FilterChain; 7 | import javax.servlet.FilterConfig; 8 | import javax.servlet.ServletException; 9 | import javax.servlet.ServletRequest; 10 | import javax.servlet.ServletResponse; 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | 14 | /** 15 | * 设置request的编码 16 | * @author chen 17 | * 18 | */ 19 | public class EncodeFilter implements Filter { 20 | 21 | public void destroy() { 22 | 23 | } 24 | 25 | public void doFilter(ServletRequest req, ServletResponse rep, FilterChain chain) throws IOException, ServletException { 26 | HttpServletRequest request = (HttpServletRequest) req; 27 | HttpServletResponse response = (HttpServletResponse) rep; 28 | //设置编码格式 29 | request.setCharacterEncoding("UTF-8"); 30 | //设置返回类型 31 | response.setContentType("text/html; charset=utf-8"); 32 | //放行资源 33 | chain.doFilter(request, response); 34 | } 35 | 36 | public void init(FilterConfig arg0) throws ServletException { 37 | 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/filter/VisitFilter.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.filter; 2 | 3 | import java.io.IOException; 4 | 5 | import javax.servlet.Filter; 6 | import javax.servlet.FilterChain; 7 | import javax.servlet.FilterConfig; 8 | import javax.servlet.ServletException; 9 | import javax.servlet.ServletRequest; 10 | import javax.servlet.ServletResponse; 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | 14 | import com.lizhou.bean.User; 15 | 16 | /** 17 | * 如果用户没有登录,返回登录界面 18 | * @author chen 19 | * 20 | */ 21 | public class VisitFilter implements Filter { 22 | 23 | public void destroy() { 24 | 25 | } 26 | 27 | public void doFilter(ServletRequest req, ServletResponse rep, FilterChain chain) throws IOException, ServletException { 28 | HttpServletRequest request = (HttpServletRequest) req; 29 | HttpServletResponse response = (HttpServletResponse) rep; 30 | 31 | User user = (User) request.getSession().getAttribute("user"); 32 | 33 | String contextPath = request.getContextPath(); 34 | 35 | String uri = request.getRequestURI(); 36 | uri = uri.substring(uri.lastIndexOf("/")+1, uri.length()); 37 | 38 | if(user != null){ 39 | chain.doFilter(request, response); 40 | } else{ 41 | response.sendRedirect(contextPath+"/index.jsp"); 42 | } 43 | } 44 | 45 | public void init(FilterConfig arg0) throws ServletException { 46 | 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/listener/SystemInitListener.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.listener; 2 | 3 | import javax.servlet.ServletContext; 4 | import javax.servlet.ServletContextEvent; 5 | import javax.servlet.ServletContextListener; 6 | 7 | import com.lizhou.bean.SystemInfo; 8 | import com.lizhou.dao.impl.BaseDaoImpl; 9 | 10 | /** 11 | * 系统初始化 12 | * @author chen 13 | * 14 | */ 15 | public class SystemInitListener implements ServletContextListener { 16 | 17 | public SystemInitListener() { 18 | 19 | } 20 | 21 | public void contextInitialized(ServletContextEvent sce) { 22 | ServletContext application = sce.getServletContext(); 23 | //获取系统初始化对象 24 | SystemInfo sys = (SystemInfo) new BaseDaoImpl().getObject(SystemInfo.class, "SELECT * FROM system", null); 25 | //放到域中 26 | application.setAttribute("systemInfo", sys); 27 | } 28 | 29 | public void contextDestroyed(ServletContextEvent sce) { 30 | 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/service/CourseService.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.service; 2 | 3 | import java.sql.Connection; 4 | import java.util.List; 5 | 6 | import net.sf.json.JSONArray; 7 | 8 | import com.lizhou.bean.Course; 9 | import com.lizhou.dao.impl.BaseDaoImpl; 10 | import com.lizhou.dao.inter.BaseDaoInter; 11 | import com.lizhou.tools.MysqlTool; 12 | import com.lizhou.tools.StringTool; 13 | 14 | /** 15 | * 课程服务层 16 | * @author chen 17 | * 18 | */ 19 | public class CourseService { 20 | 21 | BaseDaoInter dao = new BaseDaoImpl(); 22 | 23 | /** 24 | * 获取所有课程 25 | * @return 26 | */ 27 | public String getCourseList(String gradeid){ 28 | List list; 29 | if(StringTool.isEmpty(gradeid)){ 30 | list = dao.getList(Course.class, "SELECT * FROM course"); 31 | } else{ 32 | list = dao.getList(Course.class, 33 | "SELECT c.* FROM course c, grade_course gc WHERE c.id=gc.courseid AND gc.gradeid=?", 34 | new Object[]{Integer.parseInt(gradeid)}); 35 | } 36 | //json化 37 | String result = JSONArray.fromObject(list).toString(); 38 | 39 | return result; 40 | } 41 | 42 | /** 43 | * 添加课程 44 | * @param course 45 | */ 46 | public void addCourse(Course course) { 47 | dao.insert("INSERT INTO course(name) value(?)", new Object[]{course.getName()}); 48 | } 49 | 50 | /** 51 | * 删除课程 52 | * @param courseid 53 | * @throws Exception 54 | */ 55 | public void deleteClazz(int courseid) throws Exception { 56 | //获取连接 57 | Connection conn = MysqlTool.getConnection(); 58 | try { 59 | //开启事务 60 | MysqlTool.startTransaction(); 61 | //删除成绩表 62 | dao.deleteTransaction(conn, "DELETE FROM escore WHERE courseid=?", new Object[]{courseid}); 63 | //删除班级的课程和老师的关联 64 | dao.deleteTransaction(conn, "DELETE FROM clazz_course_teacher WHERE courseid=?", new Object[]{courseid}); 65 | //删除年级与课程关联 66 | dao.deleteTransaction(conn, "DELETE FROM grade_course WHERE courseid=?", new Object[]{courseid}); 67 | //最后删除课程 68 | dao.deleteTransaction(conn, "DELETE FROM course WHERE id=?", new Object[]{courseid}); 69 | 70 | //提交事务 71 | MysqlTool.commit(); 72 | } catch (Exception e) { 73 | //回滚事务 74 | MysqlTool.rollback(); 75 | e.printStackTrace(); 76 | throw e; 77 | } finally { 78 | MysqlTool.closeConnection(); 79 | } 80 | } 81 | 82 | 83 | 84 | 85 | } 86 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/service/PhotoService.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.service; 2 | 3 | import java.io.IOException; 4 | import java.io.InputStream; 5 | 6 | import javax.servlet.http.HttpServletRequest; 7 | 8 | import com.lizhou.bean.User; 9 | import com.lizhou.dao.impl.PhotoDaoImpl; 10 | import com.lizhou.dao.inter.PhotoDaoInter; 11 | import com.lizhou.exception.FileFormatException; 12 | import com.lizhou.exception.NullFileException; 13 | import com.lizhou.exception.ProtocolException; 14 | import com.lizhou.exception.SizeException; 15 | import com.lizhou.fileload.FileUpload; 16 | 17 | /** 18 | * 上传照片 19 | * @author chen 20 | * 21 | */ 22 | public class PhotoService { 23 | 24 | PhotoDaoInter dao = new PhotoDaoImpl(); 25 | 26 | /** 27 | * 设置照片 28 | * @param user 29 | * @param request 30 | * @return 31 | * @throws IOException 32 | */ 33 | public String setPhoto(User user, HttpServletRequest request) { 34 | FileUpload upload = new FileUpload(request); 35 | //设置格式 36 | upload.setFileFormat("jpg"); 37 | upload.setFileFormat("jpeg"); 38 | upload.setFileFormat("png"); 39 | //设置上传文件大小 40 | upload.setFileSize(1000); 41 | //返回信息 42 | String msg = ""; 43 | try { 44 | //获取上传文件输入流 45 | InputStream is = upload.getUploadInputStream(); 46 | //更新数据库 47 | dao.setPhoto(user, is); 48 | 49 | msg = "
上传成功!
"; 50 | } catch (ProtocolException e) { 51 | msg = "
请以MIME协议上传文件
您可以为form表单添加如下属性:enctype=\"multipart/form-data\"
"; 52 | e.printStackTrace(); 53 | } catch (NullFileException e) { 54 | msg = "
上传的文件为空
"; 55 | e.printStackTrace(); 56 | } catch (SizeException e) { 57 | msg = "
请上传小于 "+upload.getFileSize()+"k的文件
"; 58 | e.printStackTrace(); 59 | } catch (FileFormatException e) { 60 | msg = "
请上传 "+upload.getFileFormat()+" 格式的文件
"; 61 | e.printStackTrace(); 62 | } catch (Exception e) { 63 | msg = "
上传出错!
"; 64 | e.printStackTrace(); 65 | } 66 | return msg; 67 | } 68 | 69 | /** 70 | * 获取照片 71 | * @param user 72 | * @return 73 | */ 74 | public InputStream getPhoto(User user) { 75 | 76 | InputStream is = dao.getPhoto(user); 77 | 78 | return is; 79 | } 80 | 81 | } 82 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/service/SystemService.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.service; 2 | 3 | import java.util.List; 4 | 5 | import net.sf.json.JSONArray; 6 | 7 | import com.lizhou.bean.SystemInfo; 8 | import com.lizhou.bean.User; 9 | import com.lizhou.dao.impl.SystemDaoImpl; 10 | import com.lizhou.dao.inter.SystemDaoInter; 11 | 12 | /** 13 | * 年级服务层 14 | * @author chen 15 | * 16 | */ 17 | public class SystemService { 18 | 19 | SystemDaoInter dao = new SystemDaoImpl(); 20 | 21 | /** 22 | * 获取系统所有账号 23 | * @return 24 | */ 25 | public String getAccountList(){ 26 | //获取数据 27 | List list = dao.getColumn("SELECT account FROM user", null); 28 | //json化 29 | String result = JSONArray.fromObject(list).toString(); 30 | 31 | return result; 32 | } 33 | 34 | /** 35 | * 登录验证 36 | * @param user 37 | * @return 38 | */ 39 | public User getAdmin(User user) { 40 | User searchUser = (User) dao.getObject(User.class, 41 | "SELECT * FROM user WHERE account=? AND password=? AND type=?", 42 | new Object[]{user.getAccount(), user.getPassword(), user.getType()}); 43 | 44 | return searchUser; 45 | } 46 | 47 | /** 48 | * 修改用户密码 49 | * @param user 50 | */ 51 | public void editPassword(User user) { 52 | dao.update("UPDATE user SET password=? WHERE account=?", 53 | new Object[]{user.getPassword(),user.getAccount()}); 54 | } 55 | 56 | /** 57 | * 修改系统信息 58 | * @param name 修改的名称 59 | * @param value 值 60 | * @return 返回修改后的系统信息对象 61 | */ 62 | public SystemInfo editSystemInfo(String name, String value) { 63 | //修改数据库 64 | dao.update("UPDATE system SET "+name+" = ?", new Object[]{value}); 65 | //重新加载数据 66 | //获取系统初始化对象 67 | SystemInfo sys = (SystemInfo) dao.getObject(SystemInfo.class, "SELECT * FROM system", null); 68 | return sys; 69 | } 70 | 71 | 72 | } 73 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/servlet/ClazzServlet.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.servlet; 2 | 3 | import java.io.IOException; 4 | 5 | import javax.servlet.ServletException; 6 | import javax.servlet.http.HttpServlet; 7 | import javax.servlet.http.HttpServletRequest; 8 | import javax.servlet.http.HttpServletResponse; 9 | 10 | import com.lizhou.bean.Page; 11 | import com.lizhou.service.ClazzService; 12 | import com.lizhou.tools.StringTool; 13 | 14 | public class ClazzServlet extends HttpServlet { 15 | private static final long serialVersionUID = 1L; 16 | 17 | private ClazzService service = new ClazzService(); 18 | 19 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 20 | //获取请求的方法 21 | String method = request.getParameter("method"); 22 | if("toClazzListView".equalsIgnoreCase(method)){ //转发到课程列表页 23 | request.getRequestDispatcher("/WEB-INF/view/other/clazzList.jsp").forward(request, response); 24 | } 25 | } 26 | 27 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 28 | //获取请求的方法 29 | String method = request.getParameter("method"); 30 | 31 | if("ClazzList".equalsIgnoreCase(method)){ //获取所有班级 32 | clazzList(request, response); 33 | } else if("ClazzDetailList".equalsIgnoreCase(method)){ //获取所有班级详细信息 34 | clazzDetailList(request, response); 35 | } else if("AddClazz".equalsIgnoreCase(method)){ //添加班级 36 | addClazz(request, response); 37 | } else if("DeleteClazz".equalsIgnoreCase(method)){ //删除班级 38 | deleteClazz(request, response); 39 | } 40 | 41 | } 42 | 43 | private void deleteClazz(HttpServletRequest request, HttpServletResponse response) throws IOException { 44 | int clazzid = Integer.parseInt(request.getParameter("clazzid")); 45 | try { 46 | service.deleteClazz(clazzid); 47 | response.getWriter().write("success"); 48 | } catch (Exception e) { 49 | response.getWriter().write("fail"); 50 | e.printStackTrace(); 51 | } 52 | } 53 | 54 | private void addClazz(HttpServletRequest request, HttpServletResponse response) throws IOException { 55 | String name = request.getParameter("name"); 56 | String gradeid = request.getParameter("gradeid"); 57 | service.addClazz(name, gradeid); 58 | response.getWriter().write("success"); 59 | } 60 | 61 | private void clazzDetailList(HttpServletRequest request, HttpServletResponse response) throws IOException { 62 | //获取参数 63 | String gradeid = request.getParameter("gradeid"); 64 | //获取分页参数 65 | int page = Integer.parseInt(request.getParameter("page")); 66 | int rows = Integer.parseInt(request.getParameter("rows")); 67 | 68 | String result = service.getClazzDetailList(gradeid, new Page(page, rows)); 69 | //返回数据 70 | response.getWriter().write(result); 71 | } 72 | 73 | private void clazzList(HttpServletRequest request, HttpServletResponse response) throws IOException { 74 | //获取参数 75 | String gradeid = request.getParameter("gradeid"); 76 | 77 | if(StringTool.isEmpty(gradeid)){ 78 | return; 79 | } 80 | String result = service.getClazzList(gradeid); 81 | //返回数据 82 | response.getWriter().write(result); 83 | } 84 | 85 | } 86 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/servlet/CourseServlet.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.servlet; 2 | 3 | import java.io.IOException; 4 | 5 | import javax.servlet.ServletException; 6 | import javax.servlet.http.HttpServlet; 7 | import javax.servlet.http.HttpServletRequest; 8 | import javax.servlet.http.HttpServletResponse; 9 | 10 | import com.lizhou.bean.Course; 11 | import com.lizhou.service.CourseService; 12 | 13 | /** 14 | * 课程 15 | * @author chen 16 | * 17 | */ 18 | public class CourseServlet extends HttpServlet { 19 | private static final long serialVersionUID = 1L; 20 | 21 | private CourseService service = new CourseService(); 22 | 23 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 24 | //获取请求的方法 25 | String method = request.getParameter("method"); 26 | if("toCourseListView".equalsIgnoreCase(method)){ //转发到教师列表页 27 | request.getRequestDispatcher("/WEB-INF/view/other/courseList.jsp").forward(request, response); 28 | } 29 | } 30 | 31 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 32 | //获取请求的方法 33 | String method = request.getParameter("method"); 34 | 35 | if("CourseList".equalsIgnoreCase(method)){ //获取所有课程 36 | courseList(request, response); 37 | } else if("AddCourse".equalsIgnoreCase(method)){ //添加课程 38 | addCourse(request, response); 39 | } else if("deleteCourse".equalsIgnoreCase(method)){ //删除课程 40 | deleteCourse(request, response); 41 | } 42 | 43 | } 44 | 45 | private void deleteCourse(HttpServletRequest request, HttpServletResponse response) throws IOException { 46 | int courseid = Integer.parseInt(request.getParameter("courseid")); 47 | try { 48 | service.deleteClazz(courseid); 49 | response.getWriter().write("success"); 50 | } catch (Exception e) { 51 | response.getWriter().write("fail"); 52 | e.printStackTrace(); 53 | } 54 | } 55 | 56 | private void addCourse(HttpServletRequest request, HttpServletResponse response) throws IOException { 57 | String name = request.getParameter("name"); 58 | Course course = new Course(); 59 | course.setName(name); 60 | service.addCourse(course); 61 | response.getWriter().write("success"); 62 | } 63 | 64 | private void courseList(HttpServletRequest request, HttpServletResponse response) throws IOException { 65 | String gradeid = request.getParameter("gradeid"); 66 | 67 | String result = service.getCourseList(gradeid); 68 | //返回数据 69 | response.getWriter().write(result); 70 | } 71 | 72 | } 73 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/servlet/GradeServlet.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.servlet; 2 | 3 | import java.io.IOException; 4 | 5 | import javax.servlet.ServletException; 6 | import javax.servlet.http.HttpServlet; 7 | import javax.servlet.http.HttpServletRequest; 8 | import javax.servlet.http.HttpServletResponse; 9 | 10 | import com.lizhou.service.GradeService; 11 | 12 | public class GradeServlet extends HttpServlet { 13 | private static final long serialVersionUID = 1L; 14 | 15 | private GradeService service = new GradeService(); 16 | 17 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 18 | //获取请求的方法 19 | String method = request.getParameter("method"); 20 | if("toGradeListView".equalsIgnoreCase(method)){ //转发到教师列表页 21 | request.getRequestDispatcher("/WEB-INF/view/other/gradeList.jsp").forward(request, response); 22 | } 23 | } 24 | 25 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 26 | //获取请求的方法 27 | String method = request.getParameter("method"); 28 | 29 | if("GradeList".equalsIgnoreCase(method)){ //获取所有年级 30 | gradeList(request, response); 31 | } else if("AddGrade".equalsIgnoreCase(method)){ //添加年级 32 | addGrade(request, response); 33 | } else if("deleteGrade".equalsIgnoreCase(method)){ //删除年级 34 | deleteGrade(request, response); 35 | } 36 | 37 | } 38 | 39 | private void deleteGrade(HttpServletRequest request, HttpServletResponse response) throws IOException { 40 | int gradeid = Integer.parseInt(request.getParameter("gradeid")); 41 | try { 42 | service.deleteGrade(gradeid); 43 | response.getWriter().write("success"); 44 | } catch (Exception e) { 45 | response.getWriter().write("fail"); 46 | e.printStackTrace(); 47 | } 48 | } 49 | 50 | private void addGrade(HttpServletRequest request, HttpServletResponse response) throws IOException { 51 | String[] clazzids = request.getParameterValues("clazzid"); 52 | String name = request.getParameter("name"); 53 | service.addGrade(name, clazzids); 54 | response.getWriter().write("success"); 55 | } 56 | 57 | private void gradeList(HttpServletRequest request, HttpServletResponse response) throws IOException { 58 | //获取参数:course=course:是否获取年级的同时返回该年级下的课程 59 | String course = request.getParameter("course"); 60 | String result = service.getGradeList(course); 61 | //返回数据 62 | response.getWriter().write(result); 63 | } 64 | 65 | } 66 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/servlet/LoginServlet.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.servlet; 2 | 3 | import java.awt.image.BufferedImage; 4 | import java.io.IOException; 5 | 6 | import javax.imageio.ImageIO; 7 | import javax.servlet.ServletException; 8 | import javax.servlet.http.HttpServlet; 9 | import javax.servlet.http.HttpServletRequest; 10 | import javax.servlet.http.HttpServletResponse; 11 | 12 | import com.lizhou.bean.User; 13 | import com.lizhou.service.SystemService; 14 | import com.lizhou.tools.VCodeGenerator; 15 | 16 | 17 | /** 18 | * 验证码 19 | * @author chen 20 | * 21 | */ 22 | public class LoginServlet extends HttpServlet { 23 | private static final long serialVersionUID = 1L; 24 | 25 | private SystemService service = new SystemService(); 26 | 27 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 28 | //获取请求的方法 29 | String method = request.getParameter("method"); 30 | if("GetVCode".equalsIgnoreCase(method)){ 31 | getVCode(request, response); 32 | } 33 | } 34 | 35 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 36 | //获取请求的方法 37 | String method = request.getParameter("method"); 38 | 39 | if("Login".equals(method)){ //验证登录 40 | login(request, response); 41 | } 42 | } 43 | 44 | 45 | /** 46 | * 验证用户登录 47 | * @param request 48 | * @param response 49 | * @throws IOException 50 | */ 51 | private void login(HttpServletRequest request, HttpServletResponse response) throws IOException { 52 | //获取用户输入的账户 53 | String account = request.getParameter("account"); 54 | //获取用户输入的密码 55 | String password = request.getParameter("password"); 56 | //获取用户输入的验证码 57 | String vcode = request.getParameter("vcode"); 58 | //获取登录类型 59 | int type = Integer.parseInt(request.getParameter("type")); 60 | 61 | //返回信息 62 | String msg = ""; 63 | 64 | //获取session中的验证码 65 | String sVcode = (String) request.getSession().getAttribute("vcode"); 66 | if(!sVcode.equalsIgnoreCase(vcode)){//先判断验证码是否正确 67 | msg = "vcodeError"; 68 | } else{ //判断用户名和密码是否正确 69 | //将账户和密码封装 70 | User user = new User(); 71 | user.setAccount(account); 72 | user.setPassword(password); 73 | user.setType(Integer.parseInt(request.getParameter("type"))); 74 | //创建系统数据层对象 75 | 76 | //查询用户是否存在 77 | User loginUser = service.getAdmin(user); 78 | if(loginUser == null){//如果用户名或密码错误 79 | msg = "loginError"; 80 | } else{ //正确 81 | if(User.USER_ADMIN == type){ 82 | msg = "admin"; 83 | } else if(User.USER_STUDENT == type){ 84 | msg = "student"; 85 | } else if(User.USER_TEACHER == type){ 86 | msg = "teacher"; 87 | } 88 | //将该用户名保存到session中 89 | request.getSession().setAttribute("user", loginUser); 90 | } 91 | } 92 | //返回登录信息 93 | response.getWriter().write(msg); 94 | } 95 | 96 | /** 97 | * 获取验证码 98 | * @param request 99 | * @param response 100 | * @throws IOException 101 | */ 102 | private void getVCode(HttpServletRequest request, HttpServletResponse response) throws IOException { 103 | //创建验证码生成器对象 104 | VCodeGenerator vcGenerator = new VCodeGenerator(); 105 | //生成验证码 106 | String vcode = vcGenerator.generatorVCode(); 107 | //将验证码保存在session域中,以便判断验证码是否正确 108 | request.getSession().setAttribute("vcode", vcode); 109 | //生成验证码图片 110 | BufferedImage vImg = vcGenerator.generatorRotateVCodeImage(vcode, true); 111 | //输出图像 112 | ImageIO.write(vImg, "gif", response.getOutputStream()); 113 | } 114 | 115 | } 116 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/servlet/PhotoServlet.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.servlet; 2 | 3 | import java.io.IOException; 4 | import java.io.InputStream; 5 | 6 | import javax.servlet.ServletException; 7 | import javax.servlet.http.HttpServlet; 8 | import javax.servlet.http.HttpServletRequest; 9 | import javax.servlet.http.HttpServletResponse; 10 | 11 | import com.lizhou.bean.User; 12 | import com.lizhou.service.PhotoService; 13 | import com.lizhou.tools.StringTool; 14 | 15 | /** 16 | * 上传照片Servlet 17 | * @author chen 18 | * 19 | */ 20 | public class PhotoServlet extends HttpServlet { 21 | private static final long serialVersionUID = 1L; 22 | 23 | PhotoService service = new PhotoService(); 24 | 25 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 26 | //获取请求的方法 27 | String method = request.getParameter("method"); 28 | 29 | if("GetPhoto".equals(method)){ //设置照片 30 | getPhoto(request, response); 31 | } 32 | } 33 | 34 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 35 | //获取请求的方法 36 | String method = request.getParameter("method"); 37 | 38 | if("SetPhoto".equals(method)){ //设置照片 39 | setPhoto(request, response); 40 | } 41 | } 42 | 43 | /** 44 | * 获取教师和学生的照片 45 | * @param request 46 | * @param response 47 | * @throws IOException 48 | */ 49 | private void getPhoto(HttpServletRequest request, HttpServletResponse response) throws IOException { 50 | User user = new User(); 51 | //获取number 52 | String number = request.getParameter("number"); 53 | if(!StringTool.isEmpty(number)){ 54 | int type = Integer.parseInt(request.getParameter("type")); 55 | user.setAccount(number); 56 | user.setType(type); 57 | } else{ 58 | user = (User) request.getSession().getAttribute("user"); 59 | } 60 | InputStream is = service.getPhoto(user); 61 | if(is != null){ 62 | byte[] b = new byte[is.available()]; 63 | is.read(b); 64 | response.getOutputStream().write(b, 0, b.length); 65 | } 66 | } 67 | 68 | /** 69 | * 教师和学生设置照片 70 | * @param request 71 | * @param response 72 | * @throws IOException 73 | */ 74 | private void setPhoto(HttpServletRequest request, HttpServletResponse response) throws IOException { 75 | //获取学号或工号 76 | User user = (User) request.getSession().getAttribute("user"); 77 | 78 | String msg = service.setPhoto(user, request); 79 | 80 | response.getWriter().write(msg); 81 | } 82 | 83 | } 84 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/servlet/ScoreServlet.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.servlet; 2 | 3 | import java.io.IOException; 4 | import java.lang.reflect.InvocationTargetException; 5 | import java.util.Enumeration; 6 | 7 | import javax.servlet.ServletException; 8 | import javax.servlet.http.HttpServlet; 9 | import javax.servlet.http.HttpServletRequest; 10 | import javax.servlet.http.HttpServletResponse; 11 | 12 | import org.apache.commons.beanutils.BeanUtils; 13 | 14 | import com.lizhou.bean.Exam; 15 | import com.lizhou.service.ScoreService; 16 | 17 | /** 18 | * 成绩类Servlet 19 | * @author chen 20 | * 21 | */ 22 | @SuppressWarnings("serial") 23 | public class ScoreServlet extends HttpServlet { 24 | 25 | //创建服务层对象 26 | private ScoreService service = new ScoreService(); 27 | 28 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 29 | //获取请求的方法 30 | String method = request.getParameter("method"); 31 | //请求分发 32 | if("ExportScore".equalsIgnoreCase(method)){ //导出成绩 33 | exportScore(request, response); 34 | } 35 | } 36 | 37 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 38 | //获取请求的方法 39 | String method = request.getParameter("method"); 40 | //请求分发 41 | if("ScoreList".equalsIgnoreCase(method)){ //获取所有成绩数据 42 | scoreList(request, response); 43 | } else if("ColumnList".equalsIgnoreCase(method)){ //获取列 44 | columnList(request, response); 45 | } else if("SetScore".equalsIgnoreCase(method)){ //登记成绩 46 | setScore(request, response); 47 | } 48 | 49 | 50 | 51 | } 52 | 53 | private void setScore(HttpServletRequest request, HttpServletResponse response) throws IOException { 54 | String[] score = request.getParameterValues("score[]"); 55 | service.setScore(score); 56 | //返回数据 57 | response.getWriter().write("success"); 58 | } 59 | 60 | @SuppressWarnings("unchecked") 61 | private void exportScore(HttpServletRequest request, HttpServletResponse response) { 62 | //获取分页参数 63 | Enumeration pNames = request.getParameterNames(); 64 | Exam exam = new Exam(); 65 | while(pNames.hasMoreElements()){ 66 | String pName = pNames.nextElement(); 67 | String value = request.getParameter(pName); 68 | try { 69 | BeanUtils.setProperty(exam, pName, value); 70 | } catch (IllegalAccessException e) { 71 | e.printStackTrace(); 72 | }catch( InvocationTargetException e){ 73 | e.printStackTrace(); 74 | } 75 | } 76 | 77 | service.exportScore(response, exam); 78 | } 79 | 80 | @SuppressWarnings("unchecked") 81 | private void columnList(HttpServletRequest request, HttpServletResponse response) throws IOException { 82 | Enumeration pNames = request.getParameterNames(); 83 | Exam exam = new Exam(); 84 | while(pNames.hasMoreElements()){ 85 | String pName = pNames.nextElement(); 86 | String value = request.getParameter(pName); 87 | try { 88 | BeanUtils.setProperty(exam, pName, value); 89 | } catch (IllegalAccessException e) { 90 | e.printStackTrace(); 91 | }catch( InvocationTargetException e){ 92 | e.printStackTrace(); 93 | } 94 | } 95 | 96 | //获取数据 97 | String result = service.columnList(exam); 98 | //返回数据 99 | response.getWriter().write(result); 100 | } 101 | 102 | @SuppressWarnings("unchecked") 103 | private void scoreList(HttpServletRequest request, HttpServletResponse response) throws IOException { 104 | Enumeration pNames = request.getParameterNames(); 105 | Exam exam = new Exam(); 106 | while(pNames.hasMoreElements()){ 107 | String pName = pNames.nextElement(); 108 | String value = request.getParameter(pName); 109 | try { 110 | BeanUtils.setProperty(exam, pName, value); 111 | } catch (IllegalAccessException e) { 112 | e.printStackTrace(); 113 | }catch( InvocationTargetException e){ 114 | e.printStackTrace(); 115 | } 116 | } 117 | 118 | //获取数据 119 | String result = service.getScoreList(exam); 120 | //返回数据 121 | response.getWriter().write(result); 122 | } 123 | 124 | } 125 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/servlet/SystemServlet.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.servlet; 2 | 3 | import java.io.IOException; 4 | 5 | import javax.servlet.ServletException; 6 | import javax.servlet.http.HttpServlet; 7 | import javax.servlet.http.HttpServletRequest; 8 | import javax.servlet.http.HttpServletResponse; 9 | 10 | import com.lizhou.bean.SystemInfo; 11 | import com.lizhou.bean.User; 12 | import com.lizhou.service.SystemService; 13 | 14 | /** 15 | * 系统类 16 | * @author chen 17 | * 18 | */ 19 | public class SystemServlet extends HttpServlet { 20 | private static final long serialVersionUID = 1L; 21 | 22 | private SystemService service = new SystemService(); 23 | 24 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 25 | //获取请求的方法 26 | String method = request.getParameter("method"); 27 | 28 | if("LoginOut".equals(method)){ //退出系统 29 | loginOut(request, response); 30 | } else if("toAdminView".equalsIgnoreCase(method)){ //到管理员界面 31 | request.getRequestDispatcher("/WEB-INF/view/admin/admin.jsp").forward(request, response); 32 | } else if("toStudentView".equals(method)){ //到学生界面 33 | request.getRequestDispatcher("/WEB-INF/view/student/student.jsp").forward(request, response); 34 | } else if("toTeacherView".equals(method)){ //到教师界面 35 | request.getRequestDispatcher("/WEB-INF/view/teacher/teacher.jsp").forward(request, response); 36 | } else if("toAdminPersonalView".equals(method)){ //到系统管理员系统设置界面 37 | request.getRequestDispatcher("/WEB-INF/view/admin/adminPersonal.jsp").forward(request, response); 38 | } 39 | } 40 | 41 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 42 | //获取请求的方法 43 | String method = request.getParameter("method"); 44 | 45 | if("AllAccount".equalsIgnoreCase(method)){ //获取所有账号 46 | allAccount(request, response); 47 | } else if("EditPasswod".equals(method)){ //修改密码 48 | editPasswod(request, response); 49 | } else if("EditSystemInfo".equals(method)){ //修改系统信息 50 | editSystemInfo(request, response); 51 | } 52 | } 53 | 54 | private void editSystemInfo(HttpServletRequest request, HttpServletResponse response) throws IOException { 55 | String name = request.getParameter("name"); 56 | String value = request.getParameter("value"); 57 | 58 | SystemInfo sys = service.editSystemInfo(name, value); 59 | //放到域中 60 | this.getServletContext().setAttribute("systemInfo", sys); 61 | response.getWriter().write("success"); 62 | } 63 | 64 | private void editPasswod(HttpServletRequest request, HttpServletResponse response) throws IOException { 65 | User user = new User(); 66 | user.setAccount(request.getParameter("account")); 67 | user.setPassword(request.getParameter("password")); 68 | service.editPassword(user); 69 | response.getWriter().write("success"); 70 | } 71 | 72 | /** 73 | * 退出系统 74 | * @param request 75 | * @param response 76 | * @throws IOException 77 | * @throws ServletException 78 | */ 79 | private void loginOut(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 80 | //退出系统时清除系统登录的用户 81 | request.getSession().removeAttribute("user"); 82 | String contextPath = request.getContextPath(); 83 | //转发到登录界面 84 | response.sendRedirect(contextPath+"/index.jsp"); 85 | } 86 | 87 | private void allAccount(HttpServletRequest request, HttpServletResponse response) throws IOException { 88 | String result = service.getAccountList(); 89 | //返回数据 90 | response.getWriter().write(result); 91 | } 92 | 93 | } 94 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/tools/MysqlTool.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.tools; 2 | 3 | import java.sql.Connection; 4 | import java.sql.ResultSet; 5 | import java.sql.SQLException; 6 | import java.sql.Statement; 7 | 8 | import javax.sql.DataSource; 9 | 10 | import com.mchange.v2.c3p0.ComboPooledDataSource; 11 | 12 | public class MysqlTool { 13 | private static ComboPooledDataSource dataSource = null; 14 | private static ThreadLocal tl = new ThreadLocal(); 15 | static { 16 | dataSource = new ComboPooledDataSource(); 17 | } 18 | public static DataSource getDataSource(){ 19 | return dataSource; 20 | } 21 | public static Connection getConnection(){ 22 | Connection conn = tl.get(); 23 | try { 24 | if(conn == null){ 25 | conn = dataSource.getConnection(); 26 | } 27 | } catch (SQLException e) { 28 | e.printStackTrace(); 29 | } 30 | tl.set(conn); 31 | return conn; 32 | } 33 | 34 | /** 35 | * 开始事务 36 | * @throws SQLException 37 | */ 38 | public static void startTransaction(){ 39 | Connection conn = getConnection(); 40 | try { 41 | conn.setAutoCommit(false); 42 | } catch (SQLException e) { 43 | e.printStackTrace(); 44 | } 45 | } 46 | 47 | /** 48 | * 回滚事务 49 | * @throws SQLException 50 | */ 51 | public static void rollback(){ 52 | Connection conn = getConnection(); 53 | try { 54 | conn.rollback(); 55 | } catch (SQLException e) { 56 | e.printStackTrace(); 57 | } 58 | } 59 | 60 | /** 61 | * 提交事务 62 | * @throws SQLException 63 | */ 64 | public static void commit(){ 65 | Connection conn = getConnection(); 66 | try { 67 | conn.commit(); 68 | } catch (SQLException e) { 69 | e.printStackTrace(); 70 | } 71 | } 72 | 73 | /** 74 | * 关闭Connection,并移除线程中的连接 75 | * @throws SQLException 76 | */ 77 | public static void closeConnection(){ 78 | close(getConnection()); 79 | tl.remove(); 80 | } 81 | 82 | public static void close(Connection conn){ 83 | try { 84 | if(conn != null){ 85 | conn.close(); 86 | } 87 | } catch (SQLException e) { 88 | e.printStackTrace(); 89 | } 90 | } 91 | 92 | public static void close(Statement stm){ 93 | try { 94 | if(stm != null){ 95 | stm.close(); 96 | } 97 | } catch (SQLException e) { 98 | e.printStackTrace(); 99 | } 100 | } 101 | 102 | public static void close(ResultSet rs){ 103 | try { 104 | if(rs != null){ 105 | rs.close(); 106 | } 107 | } catch (SQLException e) { 108 | e.printStackTrace(); 109 | } 110 | } 111 | 112 | } 113 | -------------------------------------------------------------------------------- /代码/ssms/src/com/lizhou/tools/StringTool.java: -------------------------------------------------------------------------------- 1 | package com.lizhou.tools; 2 | 3 | import java.io.UnsupportedEncodingException; 4 | 5 | /** 6 | * 字符串工具类 7 | * @author chen 8 | * 9 | */ 10 | public class StringTool { 11 | 12 | /** 13 | * 判断字符串是否为空 14 | * @param str 15 | * @return true: 空 | false: 不为空 16 | */ 17 | public static boolean isEmpty(String str){ 18 | if(str == null || "".equals(str.trim())){ 19 | return true; 20 | } else{ 21 | return false; 22 | } 23 | } 24 | 25 | /** 26 | * 将get方式传来的中文转为UTF-8格式 27 | * @param str 28 | * @return 29 | */ 30 | public static String messyCode(String str){ 31 | String code = null; 32 | try { 33 | byte[] by = str.getBytes("ISO-8859-1"); 34 | code = new String(by, "UTF-8"); 35 | } catch (UnsupportedEncodingException e) { 36 | e.printStackTrace(); 37 | } 38 | return code; 39 | } 40 | 41 | /** 42 | * 根据长度生成占位符:即'?,' 43 | * @param length 44 | * @return 45 | */ 46 | public static String getMark(int length){ 47 | StringBuffer mark = new StringBuffer(""); 48 | for(int i = 0;i < length;i++){ 49 | mark.append("?,"); 50 | } 51 | //删除最后一个逗号 52 | mark.deleteCharAt(mark.length()-1); 53 | //返回 54 | return mark.toString(); 55 | } 56 | 57 | } 58 | -------------------------------------------------------------------------------- /代码/ssms/src/db.properties: -------------------------------------------------------------------------------- 1 | jdbc.driverClassName=com.mysql.jdbc.Driver 2 | jdbc.url=jdbc:mysql://localhost:3306/ssms?characterEncoding=utf-8 3 | jdbc.username=root 4 | jdbc.password= -------------------------------------------------------------------------------- /代码/ssms/src/log4j.properties: -------------------------------------------------------------------------------- 1 | # Global logging configuration 2 | log4j.rootLogger=error, stdout 3 | # Console output... 4 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 5 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 6 | log4j.appender.stdout.layout.ConversionPattern=%5p [%t] - %m%n --------------------------------------------------------------------------------