├── .gitattributes ├── .mvn └── wrapper │ ├── MavenWrapperDownloader.java │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── README.md ├── pom.xml ├── sql.sql ├── src ├── main │ ├── java │ │ └── com │ │ │ └── wdd │ │ │ └── studentmanager │ │ │ ├── StudentmanagerApplication.java │ │ │ ├── config │ │ │ └── SpringmvcConfig.java │ │ │ ├── controller │ │ │ ├── AdminController.java │ │ │ ├── AttendanceController.java │ │ │ ├── ClazzController.java │ │ │ ├── CourseController.java │ │ │ ├── LeaveController.java │ │ │ ├── ScoreController.java │ │ │ ├── SelectedCourseController.java │ │ │ ├── StudentController.java │ │ │ ├── SystemController.java │ │ │ └── TeacherController.java │ │ │ ├── domain │ │ │ ├── Admin.java │ │ │ ├── Attendance.java │ │ │ ├── Clazz.java │ │ │ ├── Course.java │ │ │ ├── Grade.java │ │ │ ├── Leave.java │ │ │ ├── Score.java │ │ │ ├── ScoreStats.java │ │ │ ├── SelectedCourse.java │ │ │ ├── Student.java │ │ │ └── Teacher.java │ │ │ ├── interceptors │ │ │ └── LoginInterceptor.java │ │ │ ├── mapper │ │ │ ├── AdminMapper.java │ │ │ ├── AttendanceMapper.java │ │ │ ├── ClazzMapper.java │ │ │ ├── CourseMapper.java │ │ │ ├── GradeMapper.java │ │ │ ├── LeaveMapper.java │ │ │ ├── ScoreMapper.java │ │ │ ├── SelectedCourseMapper.java │ │ │ ├── StudenetMapper.java │ │ │ └── TeacherMapper.java │ │ │ ├── service │ │ │ ├── AdminService.java │ │ │ ├── AttendanceService.java │ │ │ ├── ClazzService.java │ │ │ ├── CourseService.java │ │ │ ├── Impl │ │ │ │ ├── AdminServiceImpl.java │ │ │ │ ├── AttendanceServiceImpl.java │ │ │ │ ├── ClazzServiceImpl.java │ │ │ │ ├── CourseServiceImpl.java │ │ │ │ ├── LeaveServiceImpl.java │ │ │ │ ├── ScoreServiceImpl.java │ │ │ │ ├── SelectedCourseServiceImpl.java │ │ │ │ ├── StudentServiceImpl.java │ │ │ │ └── TeacherServiceImpl.java │ │ │ ├── LeaveService.java │ │ │ ├── ScoreService.java │ │ │ ├── SelectedCourseService.java │ │ │ ├── StudentService.java │ │ │ └── TeacherService.java │ │ │ └── util │ │ │ ├── AjaxResult.java │ │ │ ├── Const.java │ │ │ ├── CpachaUtil.java │ │ │ ├── Data.java │ │ │ ├── DateFormatUtil.java │ │ │ ├── PageBean.java │ │ │ ├── SnGenerateUtil.java │ │ │ └── UploadUtil.java │ └── resources │ │ ├── application.yml │ │ ├── mapper │ │ ├── AdminMapper.xml │ │ ├── AttendanceMapper.xml │ │ ├── ClazzMapper.xml │ │ ├── CourseMapper.xml │ │ ├── LeaveMapper.xml │ │ ├── ScoreMapper.xml │ │ ├── SelectedCourse.xml │ │ ├── StudentMapper.xml │ │ └── TeacherMapper.xml │ │ ├── static │ │ ├── easyui │ │ │ ├── css │ │ │ │ ├── default.css │ │ │ │ └── demo.css │ │ │ ├── jquery.easyui.min.js │ │ │ ├── jquery.min.js │ │ │ ├── js │ │ │ │ ├── echarts.common.min.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 │ │ └── 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 │ │ └── templates │ │ ├── attendance │ │ └── attendanceList.html │ │ ├── clazz │ │ └── clazzList.html │ │ ├── course │ │ ├── courseList.html │ │ └── selectedCourseList.html │ │ ├── leave │ │ └── LeaveList.html │ │ ├── login.html │ │ ├── score │ │ ├── scoreList.html │ │ └── scoreStats.html │ │ ├── student │ │ └── studentList.html │ │ ├── system │ │ ├── index.html │ │ ├── personalView.html │ │ └── welcome.html │ │ └── teacher │ │ └── teacherList.html └── test │ └── java │ └── com │ └── wdd │ └── studentmanager │ ├── IteratorTest.java │ └── StudentmanagerApplicationTests.java └── 项目截图 ├── 1.png ├── 10.jpg ├── 11.jpg ├── 2.png ├── 3.png ├── 4.png ├── 5.png ├── 6.jpg ├── 7.jpg ├── 8.jpg └── 9.jpg /.gitattributes: -------------------------------------------------------------------------------- 1 | *.js linguist-language=java 2 | *.css linguist-language=java 3 | *.html linguist-language=java -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.zip 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 学生管理系统 2 | 3 | ## 简介: 4 | 5 | 题目虽然是学生管理系统,但功能包含(学生,教师,管理员),项目基于springboot2.1.x实现的管理系统。如果你是spring boot初学者,那么此项目非常适合你。如果喜欢,请随手给个star,谢谢。 6 | 7 | ## 编译环境 : 8 | 9 | >jdk 1.8 10 | > 11 | >mysql 5.5 12 | > 13 | >tomcat 7 14 | 15 | ## 框架 : 16 | 17 | >springboot2.0 18 | > 19 | >mybatis 20 | 21 | ## jar包管理工具: 22 | 23 | > Maven 24 | 25 | ## 编译器 : 26 | 27 | >IDEA 28 | 29 | ## 完成进度: 30 | 31 | > 完成 32 | 33 | ## 系统功能 : 34 | 35 | > 学生信息管理 36 | > 37 | > 班级信息管理 38 | > 39 | > 教师信息管理 40 | > 41 | > 课程信息管理 42 | > 43 | > 选课信息管理 44 | > 45 | > 考勤信息管理 46 | > 47 | > 请假信息管理 48 | > 49 | > 成绩信息管理 50 | > 51 | > 系统管理 52 | 53 | ## 项目截图: 54 | 55 |  56 | 57 |  58 | 59 |  60 | 61 |  62 | 63 |  64 | 65 |  66 | 67 |  68 | 69 |  70 | 71 |  72 | 73 |  74 | 75 |  76 | 77 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | 6 | org.springframework.boot 7 | spring-boot-starter-parent 8 | 2.0.1.RELEASE 9 | 10 | 11 | com.wdd.studentmanager 12 | studentmanager 13 | 0.0.1-SNAPSHOT 14 | studentmanager 15 | Demo project for Spring Boot 16 | 17 | 18 | 1.8 19 | 20 | 21 | 22 | 23 | org.springframework.boot 24 | spring-boot-starter-web 25 | 26 | 27 | org.springframework.boot 28 | spring-boot-starter-test 29 | test 30 | 31 | 32 | 33 | org.mybatis.spring.boot 34 | mybatis-spring-boot-starter 35 | 1.1.1 36 | 37 | 38 | 39 | mysql 40 | mysql-connector-java 41 | 42 | 43 | org.springframework.boot 44 | spring-boot-starter-thymeleaf 45 | 46 | 47 | org.apache.poi 48 | poi-ooxml 49 | 3.9 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | org.springframework.boot 59 | spring-boot-maven-plugin 60 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/StudentmanagerApplication.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager; 2 | 3 | import org.mybatis.spring.annotation.MapperScan; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | 7 | @MapperScan("com.wdd.studentmanager.mapper") 8 | @SpringBootApplication() 9 | public class StudentmanagerApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(StudentmanagerApplication.class, args); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/config/SpringmvcConfig.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.config; 2 | 3 | import com.wdd.studentmanager.interceptors.LoginInterceptor; 4 | import org.springframework.stereotype.Component; 5 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 6 | import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; 7 | import org.springframework.web.servlet.config.annotation.ViewControllerRegistry; 8 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 9 | 10 | /** 11 | * @Classname SpringmvcConfig 12 | * @Description 扩展springmvc功能 13 | * @Date 2019/6/24 19:34 14 | * @Created by WDD 15 | */ 16 | @Component 17 | public class SpringmvcConfig implements WebMvcConfigurer { 18 | 19 | @Override 20 | public void addViewControllers(ViewControllerRegistry registry) { 21 | registry.addViewController("/").setViewName("/login"); 22 | } 23 | 24 | @Override 25 | public void addResourceHandlers(ResourceHandlerRegistry registry) { 26 | registry.addResourceHandler("/static/**").addResourceLocations("classpath:/static/"); 27 | 28 | } 29 | 30 | @Override 31 | public void addInterceptors(InterceptorRegistry registry) { 32 | registry.addInterceptor(new LoginInterceptor()).addPathPatterns("/**").excludePathPatterns("/","/system/login","/system/checkCode","/easyui/**","/h-ui/**","/upload/**"); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/controller/AdminController.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.controller; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.web.bind.annotation.GetMapping; 5 | import org.springframework.web.bind.annotation.RequestMapping; 6 | 7 | /** 8 | * @Classname UserController 9 | * @Description None 10 | * @Date 2019/6/25 17:51 11 | * @Created by WDD 12 | */ 13 | @Controller 14 | @RequestMapping("/admin") 15 | public class AdminController { 16 | @GetMapping("/list") 17 | public String list(){ 18 | return "/admin/admin_list"; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/controller/CourseController.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.controller; 2 | 3 | import com.wdd.studentmanager.domain.Course; 4 | import com.wdd.studentmanager.service.CourseService; 5 | import com.wdd.studentmanager.util.AjaxResult; 6 | import com.wdd.studentmanager.util.Data; 7 | import com.wdd.studentmanager.util.PageBean; 8 | import org.springframework.beans.factory.annotation.Autowired; 9 | import org.springframework.stereotype.Controller; 10 | import org.springframework.util.StringUtils; 11 | import org.springframework.web.bind.annotation.*; 12 | 13 | import java.util.HashMap; 14 | import java.util.Map; 15 | 16 | /** 17 | * @Classname CourseController 18 | * @Description None 19 | * @Date 2019/6/29 20:02 20 | * @Created by WDD 21 | */ 22 | @Controller 23 | @RequestMapping("/course") 24 | public class CourseController { 25 | 26 | @Autowired 27 | private CourseService courseService; 28 | 29 | @GetMapping("/course_list") 30 | public String courseList(){ 31 | return "course/courseList"; 32 | } 33 | 34 | /** 35 | * 异步加载课程信息列表 36 | * @param page 37 | * @param rows 38 | * @param name 39 | * @param teacherid 40 | * @param from 41 | * @return 42 | */ 43 | @PostMapping("/getCourseList") 44 | @ResponseBody 45 | public Object getClazzList(@RequestParam(value = "page", defaultValue = "1")Integer page, 46 | @RequestParam(value = "rows", defaultValue = "100")Integer rows, 47 | String name, 48 | @RequestParam(value = "teacherid", defaultValue = "0")String teacherid ,String from){ 49 | Map paramMap = new HashMap(); 50 | paramMap.put("pageno",page); 51 | paramMap.put("pagesize",rows); 52 | if(!StringUtils.isEmpty(name)) paramMap.put("name",name); 53 | if(!teacherid.equals("0")) paramMap.put("teacherId",teacherid); 54 | PageBean pageBean = courseService.queryPage(paramMap); 55 | if(!StringUtils.isEmpty(from) && from.equals("combox")){ 56 | return pageBean.getDatas(); 57 | }else{ 58 | Map result = new HashMap(); 59 | result.put("total",pageBean.getTotalsize()); 60 | result.put("rows",pageBean.getDatas()); 61 | return result; 62 | } 63 | } 64 | 65 | /** 66 | * 添加课程信息 67 | * @param course 68 | * @return 69 | */ 70 | @PostMapping("/addCourse") 71 | @ResponseBody 72 | public AjaxResult addCourse(Course course){ 73 | AjaxResult ajaxResult = new AjaxResult(); 74 | try { 75 | int count = courseService.addCourse(course); 76 | if(count > 0){ 77 | ajaxResult.setSuccess(true); 78 | ajaxResult.setMessage("添加成功"); 79 | }else{ 80 | ajaxResult.setSuccess(false); 81 | ajaxResult.setMessage("添加失败"); 82 | } 83 | }catch (Exception e){ 84 | e.printStackTrace(); 85 | ajaxResult.setSuccess(false); 86 | ajaxResult.setMessage("添加失败"); 87 | } 88 | return ajaxResult; 89 | } 90 | 91 | 92 | /** 93 | * 修改课程信息 94 | * @param course 95 | * @return 96 | */ 97 | @PostMapping("/editCourse") 98 | @ResponseBody 99 | public AjaxResult editCourse(Course course){ 100 | AjaxResult ajaxResult = new AjaxResult(); 101 | try { 102 | int count = courseService.editCourse(course); 103 | if(count > 0){ 104 | ajaxResult.setSuccess(true); 105 | ajaxResult.setMessage("修改成功"); 106 | }else{ 107 | ajaxResult.setSuccess(false); 108 | ajaxResult.setMessage("修改失败"); 109 | } 110 | }catch (Exception e){ 111 | e.printStackTrace(); 112 | ajaxResult.setSuccess(false); 113 | ajaxResult.setMessage("修改失败"); 114 | } 115 | return ajaxResult; 116 | } 117 | 118 | 119 | @PostMapping("/deleteCourse") 120 | @ResponseBody 121 | public AjaxResult deleteCourse(Data data){ 122 | AjaxResult ajaxResult = new AjaxResult(); 123 | try { 124 | int count = courseService.deleteCourse(data.getIds()); 125 | if(count > 0){ 126 | ajaxResult.setSuccess(true); 127 | ajaxResult.setMessage("删除成功"); 128 | }else{ 129 | ajaxResult.setSuccess(false); 130 | ajaxResult.setMessage("删除失败"); 131 | } 132 | }catch (Exception e){ 133 | e.printStackTrace(); 134 | ajaxResult.setSuccess(false); 135 | ajaxResult.setMessage("删除失败,该班级存在老师或学生"); 136 | } 137 | return ajaxResult; 138 | } 139 | } 140 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/controller/SelectedCourseController.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.controller; 2 | 3 | import com.wdd.studentmanager.domain.SelectedCourse; 4 | import com.wdd.studentmanager.domain.Student; 5 | import com.wdd.studentmanager.service.SelectedCourseService; 6 | import com.wdd.studentmanager.util.AjaxResult; 7 | import com.wdd.studentmanager.util.Const; 8 | import com.wdd.studentmanager.util.PageBean; 9 | import org.springframework.beans.factory.annotation.Autowired; 10 | import org.springframework.stereotype.Controller; 11 | import org.springframework.util.StringUtils; 12 | import org.springframework.web.bind.annotation.*; 13 | 14 | import javax.servlet.http.HttpSession; 15 | import java.util.HashMap; 16 | import java.util.Map; 17 | 18 | /** 19 | * @Classname SelectedCourseController 20 | * @Description 选课信息控制器 21 | * @Date 2019/6/30 10:39 22 | * @Created by WDD 23 | */ 24 | @Controller 25 | @RequestMapping("/selectedCourse") 26 | public class SelectedCourseController { 27 | 28 | @Autowired 29 | private SelectedCourseService selectedCourseService; 30 | 31 | 32 | 33 | @GetMapping("/selectedCourse_list") 34 | public String selectedCourseList(){ 35 | return "course/selectedCourseList"; 36 | } 37 | 38 | /** 39 | * 异步加载选课信息列表 40 | * @param page 41 | * @param rows 42 | * @param studentid 43 | * @param courseid 44 | * @param from 45 | * @return 46 | */ 47 | @PostMapping("/getSelectedCourseList") 48 | @ResponseBody 49 | public Object getClazzList(@RequestParam(value = "page", defaultValue = "1")Integer page, 50 | @RequestParam(value = "rows", defaultValue = "100")Integer rows, 51 | @RequestParam(value = "teacherid", defaultValue = "0")String studentid, 52 | @RequestParam(value = "teacherid", defaultValue = "0")String courseid ,String from,HttpSession session){ 53 | Map paramMap = new HashMap(); 54 | paramMap.put("pageno",page); 55 | paramMap.put("pagesize",rows); 56 | if(!studentid.equals("0")) paramMap.put("studentId",studentid); 57 | if(!courseid.equals("0")) paramMap.put("courseId",courseid); 58 | //判断是老师还是学生权限 59 | Student student = (Student) session.getAttribute(Const.STUDENT); 60 | if(!StringUtils.isEmpty(student)){ 61 | //是学生权限,只能查询自己的信息 62 | paramMap.put("studentid",student.getId()); 63 | } 64 | PageBean pageBean = selectedCourseService.queryPage(paramMap); 65 | if(!StringUtils.isEmpty(from) && from.equals("combox")){ 66 | return pageBean.getDatas(); 67 | }else{ 68 | Map result = new HashMap(); 69 | result.put("total",pageBean.getTotalsize()); 70 | result.put("rows",pageBean.getDatas()); 71 | return result; 72 | } 73 | } 74 | 75 | /** 76 | * 学生进行选课 77 | * @param selectedCourse 78 | * @return 79 | */ 80 | @PostMapping("/addSelectedCourse") 81 | @ResponseBody 82 | public AjaxResult addSelectedCourse(SelectedCourse selectedCourse){ 83 | AjaxResult ajaxResult = new AjaxResult(); 84 | try { 85 | int count = selectedCourseService.addSelectedCourse(selectedCourse); 86 | if(count == 1){ 87 | ajaxResult.setSuccess(true); 88 | ajaxResult.setMessage("选课成功"); 89 | }else if(count == 0){ 90 | ajaxResult.setSuccess(false); 91 | ajaxResult.setMessage("选课人数已满"); 92 | }else if(count == 2){ 93 | ajaxResult.setSuccess(false); 94 | ajaxResult.setMessage("已选择这门课程"); 95 | } 96 | }catch (Exception e){ 97 | e.printStackTrace(); 98 | ajaxResult.setSuccess(false); 99 | ajaxResult.setMessage("系统内部出错,请联系管理员!"); 100 | } 101 | return ajaxResult; 102 | } 103 | 104 | 105 | /** 106 | * 删除选课信息 107 | * @param id 108 | * @return 109 | */ 110 | @PostMapping("/deleteSelectedCourse") 111 | @ResponseBody 112 | public AjaxResult deleteSelectedCourse(Integer id){ 113 | AjaxResult ajaxResult = new AjaxResult(); 114 | 115 | try { 116 | int count = selectedCourseService.deleteSelectedCourse(id); 117 | if(count > 0){ 118 | ajaxResult.setSuccess(true); 119 | ajaxResult.setMessage("移除成功"); 120 | }else{ 121 | ajaxResult.setSuccess(false); 122 | ajaxResult.setMessage("移除失败"); 123 | } 124 | } catch (Exception e) { 125 | e.printStackTrace(); 126 | } 127 | return ajaxResult; 128 | } 129 | 130 | 131 | } 132 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/domain/Admin.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.domain; 2 | 3 | /** 4 | * 用户实体类 5 | */ 6 | public class Admin { 7 | private Long id; 8 | private String username; 9 | private String password; 10 | public Long getId() { 11 | return id; 12 | } 13 | public void setId(Long id) { 14 | this.id = id; 15 | } 16 | public String getUsername() { 17 | return username; 18 | } 19 | public void setUsername(String username) { 20 | this.username = username; 21 | } 22 | public String getPassword() { 23 | return password; 24 | } 25 | public void setPassword(String password) { 26 | this.password = password; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/domain/Attendance.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.domain; 2 | 3 | /** 4 | * @Classname Attendance 5 | * @Description 考勤实体类 6 | * @Date 2019/7/1 11:52 7 | * @Created by WDD 8 | */ 9 | public class Attendance { 10 | private Integer id; 11 | private Integer courseId; 12 | private Integer studentId; 13 | private String type; 14 | private String date; 15 | 16 | public Integer getId() { 17 | return id; 18 | } 19 | 20 | public void setId(Integer id) { 21 | this.id = id; 22 | } 23 | 24 | public Integer getCourseId() { 25 | return courseId; 26 | } 27 | 28 | public void setCourseId(Integer courseId) { 29 | this.courseId = courseId; 30 | } 31 | 32 | public Integer getStudentId() { 33 | return studentId; 34 | } 35 | 36 | public void setStudentId(Integer studentId) { 37 | this.studentId = studentId; 38 | } 39 | 40 | public String getType() { 41 | return type; 42 | } 43 | 44 | public void setType(String type) { 45 | this.type = type; 46 | } 47 | 48 | public String getDate() { 49 | return date; 50 | } 51 | 52 | public void setDate(String date) { 53 | this.date = date; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/domain/Clazz.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.domain; 2 | 3 | /** 4 | * 班级实体类 5 | */ 6 | public class Clazz { 7 | private Integer id; 8 | private String name; 9 | private String info; 10 | 11 | public Integer getId() { 12 | return id; 13 | } 14 | 15 | public void setId(Integer id) { 16 | this.id = id; 17 | } 18 | 19 | public String getName() { 20 | return name; 21 | } 22 | 23 | public void setName(String name) { 24 | this.name = name; 25 | } 26 | 27 | public String getInfo() { 28 | return info; 29 | } 30 | 31 | public void setInfo(String info) { 32 | this.info = info; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/domain/Course.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.domain; 2 | 3 | /** 4 | * @Classname Course 5 | * @Description None 6 | * @Date 2019/6/29 20:06 7 | * @Created by WDD 8 | */ 9 | public class Course { 10 | private int id; 11 | private String name; 12 | private int teacherId; 13 | private String courseDate; 14 | private int selectedNum = 0;//已选人数 15 | private int maxNum = 50;//课程最大选课人数 16 | private String info; 17 | 18 | public int getId() { 19 | return id; 20 | } 21 | 22 | public void setId(int id) { 23 | this.id = id; 24 | } 25 | 26 | public String getName() { 27 | return name; 28 | } 29 | 30 | public void setName(String name) { 31 | this.name = name; 32 | } 33 | 34 | public int getTeacherId() { 35 | return teacherId; 36 | } 37 | 38 | public void setTeacherId(int teacherId) { 39 | this.teacherId = teacherId; 40 | } 41 | 42 | public String getCourseDate() { 43 | return courseDate; 44 | } 45 | 46 | public void setCourseDate(String courseDate) { 47 | this.courseDate = courseDate; 48 | } 49 | 50 | public int getSelectedNum() { 51 | return selectedNum; 52 | } 53 | 54 | public void setSelectedNum(int selectedNum) { 55 | this.selectedNum = selectedNum; 56 | } 57 | 58 | public int getMaxNum() { 59 | return maxNum; 60 | } 61 | 62 | public void setMaxNum(int maxNum) { 63 | this.maxNum = maxNum; 64 | } 65 | 66 | public String getInfo() { 67 | return info; 68 | } 69 | 70 | public void setInfo(String info) { 71 | this.info = info; 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/domain/Grade.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.domain; 2 | 3 | import org.springframework.stereotype.Component; 4 | 5 | 6 | @Component 7 | public class Grade { 8 | private Long id; 9 | private String name; 10 | private String remark;//��ע 11 | public Long getId() { 12 | return id; 13 | } 14 | public void setId(Long id) { 15 | this.id = id; 16 | } 17 | public String getName() { 18 | return name; 19 | } 20 | public void setName(String name) { 21 | this.name = name; 22 | } 23 | public String getRemark() { 24 | return remark; 25 | } 26 | public void setRemark(String remark) { 27 | this.remark = remark; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/domain/Leave.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.domain; 2 | 3 | /** 4 | * @Classname Leave 5 | * @Description 请假表实体类 6 | * @Date 2019/7/2 13:57 7 | * @Created by WDD 8 | */ 9 | public class Leave { 10 | public static int LEAVE_STATUS_WAIT = 0;//等待审核 11 | public static int LEAVE_STATUS_AGREE = 1;//同意 12 | public static int LEAVE_STATUS_DISAGREE = -1;//不同意 13 | private int id; 14 | private int studentId; 15 | private String info;//请假理由 16 | private int status = LEAVE_STATUS_WAIT;//请假条状态 17 | private String remark;//批复内容 18 | 19 | public int getId() { 20 | return id; 21 | } 22 | 23 | public void setId(int id) { 24 | this.id = id; 25 | } 26 | 27 | public int getStudentId() { 28 | return studentId; 29 | } 30 | 31 | public void setStudentId(int studentId) { 32 | this.studentId = studentId; 33 | } 34 | 35 | public String getInfo() { 36 | return info; 37 | } 38 | 39 | public void setInfo(String info) { 40 | this.info = info; 41 | } 42 | 43 | public int getStatus() { 44 | return status; 45 | } 46 | 47 | public void setStatus(int status) { 48 | this.status = status; 49 | } 50 | 51 | public String getRemark() { 52 | return remark; 53 | } 54 | 55 | public void setRemark(String remark) { 56 | this.remark = remark; 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/domain/Score.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.domain; 2 | 3 | /** 4 | * @Classname score 5 | * @Description 成绩实体表 6 | * @Date 2019/7/3 10:22 7 | * @Created by WDD 8 | */ 9 | public class Score { 10 | private Integer id; 11 | private Integer studentId; 12 | private Integer courseId; 13 | private double score; 14 | private String remark; 15 | 16 | //关联表 17 | private String courseName; 18 | private String studentName; 19 | 20 | public Integer getId() { 21 | return id; 22 | } 23 | 24 | public void setId(Integer id) { 25 | this.id = id; 26 | } 27 | 28 | public Integer getStudentId() { 29 | return studentId; 30 | } 31 | 32 | public void setStudentId(Integer studentId) { 33 | this.studentId = studentId; 34 | } 35 | 36 | public Integer getCourseId() { 37 | return courseId; 38 | } 39 | 40 | public void setCourseId(Integer courseId) { 41 | this.courseId = courseId; 42 | } 43 | 44 | public double getScore() { 45 | return score; 46 | } 47 | 48 | public void setScore(double score) { 49 | this.score = score; 50 | } 51 | 52 | public String getRemark() { 53 | return remark; 54 | } 55 | 56 | public void setRemark(String remark) { 57 | this.remark = remark; 58 | } 59 | 60 | public String getCourseName() { 61 | return courseName; 62 | } 63 | 64 | public void setCourseName(String courseName) { 65 | this.courseName = courseName; 66 | } 67 | 68 | public String getStudentName() { 69 | return studentName; 70 | } 71 | 72 | public void setStudentName(String studentName) { 73 | this.studentName = studentName; 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/domain/ScoreStats.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.domain; 2 | 3 | /** 4 | * @Classname ScoreStats 5 | * @Description 成绩统计 6 | * @Date 2019/7/4 13:30 7 | * @Created by WDD 8 | */ 9 | public class ScoreStats { 10 | private Double max_score; 11 | private Double avg_score; 12 | private Double min_score; 13 | private String courseName;//课程名称 14 | 15 | public Double getMax_score() { 16 | return max_score; 17 | } 18 | 19 | public void setMax_score(Double max_score) { 20 | this.max_score = max_score; 21 | } 22 | 23 | public Double getAvg_score() { 24 | return avg_score; 25 | } 26 | 27 | public void setAvg_score(Double avg_score) { 28 | this.avg_score = avg_score; 29 | } 30 | 31 | public Double getMin_score() { 32 | return min_score; 33 | } 34 | 35 | public void setMin_score(Double min_score) { 36 | this.min_score = min_score; 37 | } 38 | 39 | public String getCourseName() { 40 | return courseName; 41 | } 42 | 43 | public void setCourseName(String courseName) { 44 | this.courseName = courseName; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/domain/SelectedCourse.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.domain; 2 | 3 | /** 4 | * @Classname SelectedCourse 5 | * @Description 选课信息实体类 6 | * @Date 2019/6/30 10:30 7 | * @Created by WDD 8 | */ 9 | public class SelectedCourse { 10 | private Integer id; 11 | private Integer studentId; 12 | private Integer courseId; 13 | 14 | public Integer getId() { 15 | return id; 16 | } 17 | 18 | public void setId(Integer id) { 19 | this.id = id; 20 | } 21 | 22 | public Integer getStudentId() { 23 | return studentId; 24 | } 25 | 26 | public void setStudentId(Integer studentId) { 27 | this.studentId = studentId; 28 | } 29 | 30 | public Integer getCourseId() { 31 | return courseId; 32 | } 33 | 34 | public void setCourseId(Integer courseId) { 35 | this.courseId = courseId; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/domain/Student.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.domain; 2 | 3 | public class Student { 4 | private int id; 5 | private String sn;//学号 6 | private String username; 7 | private String password; 8 | private int clazzId; 9 | private String sex = "男"; 10 | private String mobile; 11 | private String qq; 12 | private String photo;//头像 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 getSn() { 23 | return sn; 24 | } 25 | 26 | public void setSn(String sn) { 27 | this.sn = sn; 28 | } 29 | 30 | public String getUsername() { 31 | return username; 32 | } 33 | 34 | public void setUsername(String username) { 35 | this.username = username; 36 | } 37 | 38 | public String getPassword() { 39 | return password; 40 | } 41 | 42 | public void setPassword(String password) { 43 | this.password = password; 44 | } 45 | 46 | public int getClazzId() { 47 | return clazzId; 48 | } 49 | 50 | public void setClazzId(int clazzId) { 51 | this.clazzId = clazzId; 52 | } 53 | 54 | public String getSex() { 55 | return sex; 56 | } 57 | 58 | public void setSex(String sex) { 59 | this.sex = sex; 60 | } 61 | 62 | public String getMobile() { 63 | return mobile; 64 | } 65 | 66 | public void setMobile(String mobile) { 67 | this.mobile = mobile; 68 | } 69 | 70 | public String getQq() { 71 | return qq; 72 | } 73 | 74 | public void setQq(String qq) { 75 | this.qq = qq; 76 | } 77 | 78 | public String getPhoto() { 79 | return photo; 80 | } 81 | 82 | public void setPhoto(String photo) { 83 | this.photo = photo; 84 | } 85 | } 86 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/domain/Teacher.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.domain; 2 | 3 | /** 4 | * @Classname Teacher 5 | * @Description None 6 | * @Date 2019/6/28 18:55 7 | * @Created by WDD 8 | */ 9 | public class Teacher { 10 | private int id; 11 | private String sn;//学号 12 | private String username; 13 | private String password; 14 | private int clazzId; 15 | private String sex = "男"; 16 | private String mobile; 17 | private String qq; 18 | private String photo;//头像 19 | 20 | public int getId() { 21 | return id; 22 | } 23 | 24 | public void setId(int id) { 25 | this.id = id; 26 | } 27 | 28 | public String getSn() { 29 | return sn; 30 | } 31 | 32 | public void setSn(String sn) { 33 | this.sn = sn; 34 | } 35 | 36 | public String getUsername() { 37 | return username; 38 | } 39 | 40 | public void setUsername(String username) { 41 | this.username = username; 42 | } 43 | 44 | public String getPassword() { 45 | return password; 46 | } 47 | 48 | public void setPassword(String password) { 49 | this.password = password; 50 | } 51 | 52 | public int getClazzId() { 53 | return clazzId; 54 | } 55 | 56 | public void setClazzId(int clazzId) { 57 | this.clazzId = clazzId; 58 | } 59 | 60 | public String getSex() { 61 | return sex; 62 | } 63 | 64 | public void setSex(String sex) { 65 | this.sex = sex; 66 | } 67 | 68 | public String getMobile() { 69 | return mobile; 70 | } 71 | 72 | public void setMobile(String mobile) { 73 | this.mobile = mobile; 74 | } 75 | 76 | public String getQq() { 77 | return qq; 78 | } 79 | 80 | public void setQq(String qq) { 81 | this.qq = qq; 82 | } 83 | 84 | public String getPhoto() { 85 | return photo; 86 | } 87 | 88 | public void setPhoto(String photo) { 89 | this.photo = photo; 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/interceptors/LoginInterceptor.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.interceptors; 2 | 3 | import com.wdd.studentmanager.domain.Admin; 4 | import com.wdd.studentmanager.domain.Student; 5 | import com.wdd.studentmanager.domain.Teacher; 6 | import com.wdd.studentmanager.util.Const; 7 | import org.springframework.util.StringUtils; 8 | import org.springframework.web.servlet.HandlerInterceptor; 9 | 10 | import javax.servlet.http.HttpServletRequest; 11 | import javax.servlet.http.HttpServletResponse; 12 | import java.io.IOException; 13 | 14 | /** 15 | * @Classname LoginInterceptor 16 | * @Description 登录拦截器 17 | * @Date 2019/6/25 16:09 18 | * @Created by WDD 19 | */ 20 | public class LoginInterceptor implements HandlerInterceptor { 21 | @Override 22 | public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws IOException { 23 | Admin user = (Admin)request.getSession().getAttribute(Const.ADMIN); 24 | Teacher teacher = (Teacher)request.getSession().getAttribute(Const.TEACHER); 25 | Student student = (Student)request.getSession().getAttribute(Const.STUDENT); 26 | if(!StringUtils.isEmpty(user) || !StringUtils.isEmpty(teacher) || !StringUtils.isEmpty(student)){ 27 | return true; 28 | } 29 | response.sendRedirect(request.getContextPath() + "/system/login"); 30 | return false; 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/mapper/AdminMapper.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.mapper; 2 | 3 | import com.wdd.studentmanager.domain.Admin; 4 | import org.springframework.stereotype.Repository; 5 | 6 | /** 7 | * @Classname UserMapper 8 | * @Description None 9 | * @Date 2019/6/24 20:09 10 | * @Created by WDD 11 | */ 12 | @Repository 13 | public interface AdminMapper { 14 | 15 | Admin findByAdmin(Admin admin); 16 | 17 | 18 | int editPswdByAdmin(Admin admin); 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/mapper/AttendanceMapper.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.mapper; 2 | 3 | import com.wdd.studentmanager.domain.Attendance; 4 | 5 | import java.util.List; 6 | import java.util.Map; 7 | 8 | /** 9 | * @Classname AttendanceMapper 10 | * @Description None 11 | * @Date 2019/7/1 15:49 12 | * @Created by WDD 13 | */ 14 | public interface AttendanceMapper { 15 | List queryList(Map paramMap); 16 | 17 | Integer queryCount(Map paramMap); 18 | 19 | int addAtendance(Attendance attendance); 20 | 21 | Attendance isAttendance(Attendance attendance); 22 | 23 | int deleteAttendance(Integer id); 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/mapper/ClazzMapper.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.mapper; 2 | 3 | import com.wdd.studentmanager.domain.Clazz; 4 | 5 | import java.util.List; 6 | import java.util.Map; 7 | 8 | /** 9 | * @Classname ClazzMapper 10 | * @Description None 11 | * @Date 2019/6/24 20:09 12 | * @Created by WDD 13 | */ 14 | public interface ClazzMapper { 15 | List queryList(Map paramMap); 16 | 17 | Integer queryCount(Map paramMap); 18 | 19 | int addClazz(Clazz clazz); 20 | 21 | int deleteClazz(List ids); 22 | 23 | int editClazz(Clazz clazz); 24 | 25 | Clazz findByName(String clazzName); 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/mapper/CourseMapper.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.mapper; 2 | 3 | import com.wdd.studentmanager.domain.Course; 4 | 5 | import java.util.List; 6 | import java.util.Map; 7 | 8 | /** 9 | * @Classname CourseMapper 10 | * @Description None 11 | * @Date 2019/6/29 20:34 12 | * @Created by WDD 13 | */ 14 | public interface CourseMapper { 15 | List queryList(Map paramMap); 16 | 17 | Integer queryCount(Map paramMap); 18 | 19 | int addCourse(Course course); 20 | 21 | int editCourse(Course course); 22 | 23 | int deleteCourse(List ids); 24 | 25 | int addStudentNum(Integer courseId); 26 | 27 | void deleteStudentNum(Integer courseId); 28 | 29 | List getCourseById(List ids); 30 | 31 | int findByName(String name); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/mapper/GradeMapper.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.mapper; 2 | 3 | /** 4 | * @Classname GradeMapper 5 | * @Description None 6 | * @Date 2019/6/24 20:09 7 | * @Created by WDD 8 | */ 9 | public interface GradeMapper { 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/mapper/LeaveMapper.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.mapper; 2 | 3 | import com.wdd.studentmanager.domain.Leave; 4 | 5 | import java.util.List; 6 | import java.util.Map; 7 | 8 | /** 9 | * @Classname LeaveMapper 10 | * @Description None 11 | * @Date 2019/7/2 15:55 12 | * @Created by WDD 13 | */ 14 | public interface LeaveMapper { 15 | List queryList(Map paramMap); 16 | 17 | Integer queryCount(Map paramMap); 18 | 19 | int addLeave(Leave leave); 20 | 21 | int editLeave(Leave leave); 22 | 23 | int checkLeave(Leave leave); 24 | 25 | int deleteLeave(Integer id); 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/mapper/ScoreMapper.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.mapper; 2 | 3 | import com.wdd.studentmanager.domain.Score; 4 | import com.wdd.studentmanager.domain.ScoreStats; 5 | 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | /** 10 | * @Classname ScoreMapper 11 | * @Description None 12 | * @Date 2019/7/3 11:47 13 | * @Created by WDD 14 | */ 15 | public interface ScoreMapper { 16 | List queryList(Map paramMap); 17 | 18 | Integer queryCount(Map paramMap); 19 | 20 | int addScore(Score score); 21 | 22 | Score isScore(Score score); 23 | 24 | int editScore(Score score); 25 | 26 | int deleteScore(Integer id); 27 | 28 | List getAll(Score score); 29 | 30 | ScoreStats getAvgStats(Integer courseid); 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/mapper/SelectedCourseMapper.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.mapper; 2 | 3 | import com.wdd.studentmanager.domain.SelectedCourse; 4 | 5 | import java.util.List; 6 | import java.util.Map; 7 | 8 | /** 9 | * @Classname SelectedCourseMapper 10 | * @Description None 11 | * @Date 2019/6/30 10:56 12 | * @Created by WDD 13 | */ 14 | public interface SelectedCourseMapper { 15 | List queryList(Map paramMap); 16 | 17 | Integer queryCount(Map paramMap); 18 | 19 | int addSelectedCourse(SelectedCourse selectedCourse); 20 | 21 | SelectedCourse findBySelectedCourse(SelectedCourse selectedCourse); 22 | 23 | SelectedCourse findById(Integer id); 24 | 25 | int deleteSelectedCourse(Integer id); 26 | 27 | List isStudentId(int id); 28 | 29 | List getAllBySid(int studentid); 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/mapper/StudenetMapper.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.mapper; 2 | 3 | import com.wdd.studentmanager.domain.Student; 4 | 5 | import java.util.List; 6 | import java.util.Map; 7 | 8 | /** 9 | * @Classname StudenetMapper 10 | * @Description None 11 | * @Date 2019/6/24 20:09 12 | * @Created by WDD 13 | */ 14 | public interface StudenetMapper { 15 | List queryList(Map paramMap); 16 | 17 | Integer queryCount(Map paramMap); 18 | 19 | int deleteStudent(List ids); 20 | 21 | int addStudent(Student student); 22 | 23 | Student findById(Integer sid); 24 | 25 | int editStudent(Student student); 26 | 27 | Student findByStudent(Student student); 28 | 29 | List isStudentByClazzId(Integer id); 30 | 31 | int editPswdByStudent(Student student); 32 | 33 | int findByName(String name); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/mapper/TeacherMapper.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.mapper; 2 | 3 | import com.wdd.studentmanager.domain.Teacher; 4 | 5 | import java.util.List; 6 | import java.util.Map; 7 | 8 | /** 9 | * @Classname TeacherMapper 10 | * @Description None 11 | * @Date 2019/6/28 19:06 12 | * @Created by WDD 13 | */ 14 | public interface TeacherMapper { 15 | List queryList(Map paramMap); 16 | 17 | Integer queryCount(Map paramMap); 18 | 19 | int deleteTeacher(List ids); 20 | 21 | int addTeacher(Teacher teacher); 22 | 23 | Teacher findById(Integer tid); 24 | 25 | int editTeacher(Teacher teacher); 26 | 27 | Teacher findByTeacher(Teacher teacher); 28 | 29 | int editPswdByTeacher(Teacher teacher); 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/AdminService.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service; 2 | 3 | import com.wdd.studentmanager.domain.Admin; 4 | 5 | /** 6 | * @Classname AdminService 7 | * @Description None 8 | * @Date 2019/6/25 11:07 9 | * @Created by WDD 10 | */ 11 | public interface AdminService { 12 | 13 | Admin findByAdmin(Admin admin); 14 | 15 | 16 | int editPswdByAdmin(Admin admin); 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/AttendanceService.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service; 2 | 3 | import com.wdd.studentmanager.domain.Attendance; 4 | import com.wdd.studentmanager.util.PageBean; 5 | 6 | import java.util.Map; 7 | 8 | /** 9 | * @Classname AttendanceService 10 | * @Description None 11 | * @Date 2019/7/1 15:47 12 | * @Created by WDD 13 | */ 14 | public interface AttendanceService { 15 | PageBean queryPage(Map paramMap); 16 | 17 | boolean isAttendance(Attendance attendance); 18 | 19 | int addAtendance(Attendance attendance); 20 | 21 | int deleteAttendance(Integer id); 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/ClazzService.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service; 2 | 3 | import com.wdd.studentmanager.domain.Clazz; 4 | import com.wdd.studentmanager.util.PageBean; 5 | 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | /** 10 | * @Classname ClazzService 11 | * @Description None 12 | * @Date 2019/6/26 10:14 13 | * @Created by WDD 14 | */ 15 | public interface ClazzService { 16 | PageBean queryPage(Map paramMap); 17 | 18 | int addClazz(Clazz clazz); 19 | 20 | int deleteClazz(List ids); 21 | 22 | int editClazz(Clazz clazz); 23 | 24 | Clazz findByName(String clazzName); 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/CourseService.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service; 2 | 3 | import com.wdd.studentmanager.domain.Course; 4 | import com.wdd.studentmanager.util.PageBean; 5 | 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | /** 10 | * @Classname CourseService 11 | * @Description None 12 | * @Date 2019/6/29 20:09 13 | * @Created by WDD 14 | */ 15 | public interface CourseService { 16 | PageBean queryPage(Map paramMap); 17 | 18 | int addCourse(Course course); 19 | 20 | int editCourse(Course course); 21 | 22 | int deleteCourse(List ids); 23 | 24 | List getCourseById(List ids); 25 | 26 | int findByName(String name); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/Impl/AdminServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service.Impl; 2 | 3 | import com.wdd.studentmanager.domain.Admin; 4 | import com.wdd.studentmanager.mapper.AdminMapper; 5 | import com.wdd.studentmanager.service.AdminService; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | * @Classname UserServiceImpl 11 | * @Description None 12 | * @Date 2019/6/25 11:08 13 | * @Created by WDD 14 | */ 15 | @Service 16 | public class AdminServiceImpl implements AdminService { 17 | 18 | @Autowired 19 | private AdminMapper adminMapper; 20 | 21 | @Override 22 | public Admin findByAdmin(Admin admin) { 23 | return adminMapper.findByAdmin(admin); 24 | } 25 | 26 | @Override 27 | public int editPswdByAdmin(Admin admin) { 28 | return adminMapper.editPswdByAdmin(admin); 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/Impl/AttendanceServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service.Impl; 2 | 3 | import com.wdd.studentmanager.domain.Attendance; 4 | import com.wdd.studentmanager.mapper.AttendanceMapper; 5 | import com.wdd.studentmanager.service.AttendanceService; 6 | import com.wdd.studentmanager.util.PageBean; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.stereotype.Service; 9 | 10 | import java.util.List; 11 | import java.util.Map; 12 | 13 | /** 14 | * @Classname AttendanceServiceImpl 15 | * @Description None 16 | * @Date 2019/7/1 15:47 17 | * @Created by WDD 18 | */ 19 | @Service 20 | public class AttendanceServiceImpl implements AttendanceService { 21 | 22 | @Autowired 23 | private AttendanceMapper attendanceMapper; 24 | 25 | @Override 26 | public PageBean queryPage(Map paramMap) { 27 | PageBean pageBean = new PageBean<>((Integer) paramMap.get("pageno"),(Integer) paramMap.get("pagesize")); 28 | 29 | Integer startIndex = pageBean.getStartIndex(); 30 | paramMap.put("startIndex",startIndex); 31 | List datas = attendanceMapper.queryList(paramMap); 32 | pageBean.setDatas(datas); 33 | 34 | Integer totalsize = attendanceMapper.queryCount(paramMap); 35 | pageBean.setTotalsize(totalsize); 36 | return pageBean; 37 | } 38 | 39 | @Override 40 | public boolean isAttendance(Attendance attendance) { 41 | Attendance at = attendanceMapper.isAttendance(attendance); 42 | if(at != null){ 43 | return true; 44 | }else{ 45 | return false; 46 | } 47 | } 48 | 49 | @Override 50 | public int addAtendance(Attendance attendance) { 51 | return attendanceMapper.addAtendance(attendance); 52 | } 53 | 54 | @Override 55 | public int deleteAttendance(Integer id) { 56 | return attendanceMapper.deleteAttendance(id); 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/Impl/ClazzServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service.Impl; 2 | 3 | import com.wdd.studentmanager.domain.Clazz; 4 | import com.wdd.studentmanager.domain.Student; 5 | import com.wdd.studentmanager.mapper.ClazzMapper; 6 | import com.wdd.studentmanager.service.ClazzService; 7 | import com.wdd.studentmanager.util.PageBean; 8 | import org.springframework.beans.factory.annotation.Autowired; 9 | import org.springframework.stereotype.Service; 10 | import org.springframework.transaction.annotation.Transactional; 11 | 12 | import java.util.List; 13 | import java.util.Map; 14 | 15 | /** 16 | * @Classname ClazzServiceImpl 17 | * @Description None 18 | * @Date 2019/6/26 10:14 19 | * @Created by WDD 20 | */ 21 | @Service 22 | public class ClazzServiceImpl implements ClazzService { 23 | 24 | @Autowired 25 | private ClazzMapper clazzMapper; 26 | 27 | @Override 28 | public PageBean queryPage(Map paramMap) { 29 | PageBean pageBean = new PageBean<>((Integer) paramMap.get("pageno"),(Integer) paramMap.get("pagesize")); 30 | 31 | Integer startIndex = pageBean.getStartIndex(); 32 | paramMap.put("startIndex",startIndex); 33 | List datas = clazzMapper.queryList(paramMap); 34 | pageBean.setDatas(datas); 35 | 36 | Integer totalsize = clazzMapper.queryCount(paramMap); 37 | pageBean.setTotalsize(totalsize); 38 | return pageBean; 39 | } 40 | 41 | @Override 42 | public int addClazz(Clazz clazz) { 43 | return clazzMapper.addClazz(clazz); 44 | } 45 | 46 | @Override 47 | @Transactional 48 | public int deleteClazz(List ids) { 49 | return clazzMapper.deleteClazz(ids); 50 | } 51 | 52 | @Override 53 | public int editClazz(Clazz clazz) { 54 | return clazzMapper.editClazz(clazz); 55 | } 56 | 57 | @Override 58 | public Clazz findByName(String clazzName) { 59 | return clazzMapper.findByName(clazzName); 60 | } 61 | 62 | } 63 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/Impl/CourseServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service.Impl; 2 | 3 | import com.wdd.studentmanager.domain.Course; 4 | import com.wdd.studentmanager.mapper.CourseMapper; 5 | import com.wdd.studentmanager.service.CourseService; 6 | import com.wdd.studentmanager.util.PageBean; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.stereotype.Service; 9 | 10 | import java.util.List; 11 | import java.util.Map; 12 | 13 | /** 14 | * @Classname CourseServiceImpl 15 | * @Description None 16 | * @Date 2019/6/29 20:09 17 | * @Created by WDD 18 | */ 19 | @Service 20 | public class CourseServiceImpl implements CourseService { 21 | 22 | @Autowired 23 | private CourseMapper courseMapper; 24 | 25 | @Override 26 | public PageBean queryPage(Map paramMap) { 27 | PageBean pageBean = new PageBean<>((Integer) paramMap.get("pageno"),(Integer) paramMap.get("pagesize")); 28 | 29 | Integer startIndex = pageBean.getStartIndex(); 30 | paramMap.put("startIndex",startIndex); 31 | List datas = courseMapper.queryList(paramMap); 32 | pageBean.setDatas(datas); 33 | 34 | Integer totalsize = courseMapper.queryCount(paramMap); 35 | pageBean.setTotalsize(totalsize); 36 | return pageBean; 37 | } 38 | 39 | @Override 40 | public int addCourse(Course course) { 41 | return courseMapper.addCourse(course); 42 | } 43 | 44 | @Override 45 | public int editCourse(Course course) { 46 | return courseMapper.editCourse(course); 47 | } 48 | 49 | @Override 50 | public int deleteCourse(List ids) { 51 | return courseMapper.deleteCourse(ids); 52 | } 53 | 54 | @Override 55 | public List getCourseById(List ids) { 56 | return courseMapper.getCourseById(ids); 57 | } 58 | 59 | @Override 60 | public int findByName(String name) { 61 | return courseMapper.findByName(name); 62 | } 63 | 64 | } 65 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/Impl/LeaveServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service.Impl; 2 | 3 | import com.wdd.studentmanager.domain.Leave; 4 | import com.wdd.studentmanager.mapper.LeaveMapper; 5 | import com.wdd.studentmanager.service.LeaveService; 6 | import com.wdd.studentmanager.util.PageBean; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.stereotype.Service; 9 | 10 | import java.util.List; 11 | import java.util.Map; 12 | 13 | /** 14 | * @Classname LeaveServiceImpl 15 | * @Description None 16 | * @Date 2019/7/2 15:54 17 | * @Created by WDD 18 | */ 19 | @Service 20 | public class LeaveServiceImpl implements LeaveService { 21 | 22 | @Autowired 23 | private LeaveMapper leaveMapper; 24 | 25 | @Override 26 | public PageBean queryPage(Map paramMap) { 27 | PageBean pageBean = new PageBean<>((Integer) paramMap.get("pageno"),(Integer) paramMap.get("pagesize")); 28 | 29 | Integer startIndex = pageBean.getStartIndex(); 30 | paramMap.put("startIndex",startIndex); 31 | List datas = leaveMapper.queryList(paramMap); 32 | pageBean.setDatas(datas); 33 | 34 | Integer totalsize = leaveMapper.queryCount(paramMap); 35 | pageBean.setTotalsize(totalsize); 36 | return pageBean; 37 | } 38 | 39 | @Override 40 | public int addLeave(Leave leave) { 41 | return leaveMapper.addLeave(leave); 42 | } 43 | 44 | @Override 45 | public int editLeave(Leave leave) { 46 | return leaveMapper.editLeave(leave); 47 | } 48 | 49 | @Override 50 | public int checkLeave(Leave leave) { 51 | return leaveMapper.checkLeave(leave); 52 | } 53 | 54 | @Override 55 | public int deleteLeave(Integer id) { 56 | return leaveMapper.deleteLeave(id); 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/Impl/ScoreServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service.Impl; 2 | 3 | import com.wdd.studentmanager.domain.Score; 4 | import com.wdd.studentmanager.domain.ScoreStats; 5 | import com.wdd.studentmanager.mapper.ScoreMapper; 6 | import com.wdd.studentmanager.service.ScoreService; 7 | import com.wdd.studentmanager.util.PageBean; 8 | import org.springframework.beans.factory.annotation.Autowired; 9 | import org.springframework.stereotype.Service; 10 | 11 | import java.util.List; 12 | import java.util.Map; 13 | 14 | /** 15 | * @Classname ScoreServiceImpl 16 | * @Description None 17 | * @Date 2019/7/3 11:45 18 | * @Created by WDD 19 | */ 20 | @Service 21 | public class ScoreServiceImpl implements ScoreService { 22 | 23 | @Autowired 24 | private ScoreMapper scoreMapper; 25 | 26 | @Override 27 | public PageBean queryPage(Map paramMap) { 28 | PageBean pageBean = new PageBean<>((Integer) paramMap.get("pageno"),(Integer) paramMap.get("pagesize")); 29 | 30 | Integer startIndex = pageBean.getStartIndex(); 31 | paramMap.put("startIndex",startIndex); 32 | List datas = scoreMapper.queryList(paramMap); 33 | pageBean.setDatas(datas); 34 | 35 | Integer totalsize = scoreMapper.queryCount(paramMap); 36 | pageBean.setTotalsize(totalsize); 37 | return pageBean; 38 | } 39 | 40 | @Override 41 | public boolean isScore(Score score) { 42 | Score sc = scoreMapper.isScore(score); 43 | if(sc != null){ 44 | return true; 45 | }else{ 46 | return false; 47 | } 48 | } 49 | 50 | @Override 51 | public int addScore(Score score) { 52 | return scoreMapper.addScore(score); 53 | } 54 | 55 | @Override 56 | public int editScore(Score score) { 57 | return scoreMapper.editScore(score); 58 | } 59 | 60 | @Override 61 | public int deleteScore(Integer id) { 62 | return scoreMapper.deleteScore(id); 63 | } 64 | 65 | @Override 66 | public List getAll(Score score) { 67 | return scoreMapper.getAll(score); 68 | } 69 | 70 | @Override 71 | public ScoreStats getAvgStats(Integer courseid) { 72 | return scoreMapper.getAvgStats(courseid); 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/Impl/SelectedCourseServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service.Impl; 2 | 3 | import com.wdd.studentmanager.domain.SelectedCourse; 4 | import com.wdd.studentmanager.mapper.CourseMapper; 5 | import com.wdd.studentmanager.mapper.SelectedCourseMapper; 6 | import com.wdd.studentmanager.service.SelectedCourseService; 7 | import com.wdd.studentmanager.util.PageBean; 8 | import org.springframework.beans.factory.annotation.Autowired; 9 | import org.springframework.stereotype.Service; 10 | import org.springframework.transaction.annotation.Transactional; 11 | import org.springframework.util.StringUtils; 12 | 13 | import java.util.List; 14 | import java.util.Map; 15 | 16 | /** 17 | * @Classname SelectedCourseServiceImpl 18 | * @Description None 19 | * @Date 2019/6/30 10:48 20 | * @Created by WDD 21 | */ 22 | @Service 23 | public class SelectedCourseServiceImpl implements SelectedCourseService { 24 | 25 | @Autowired 26 | private SelectedCourseMapper selectedCourseMapper; 27 | @Autowired 28 | private CourseMapper courseMapper; 29 | 30 | @Override 31 | public PageBean queryPage(Map paramMap) { 32 | PageBean pageBean = new PageBean<>((Integer) paramMap.get("pageno"),(Integer) paramMap.get("pagesize")); 33 | 34 | Integer startIndex = pageBean.getStartIndex(); 35 | paramMap.put("startIndex",startIndex); 36 | List datas = selectedCourseMapper.queryList(paramMap); 37 | pageBean.setDatas(datas); 38 | 39 | Integer totalsize = selectedCourseMapper.queryCount(paramMap); 40 | pageBean.setTotalsize(totalsize); 41 | return pageBean; 42 | } 43 | 44 | @Override 45 | @Transactional 46 | public int addSelectedCourse(SelectedCourse selectedCourse) { 47 | SelectedCourse s = selectedCourseMapper.findBySelectedCourse(selectedCourse); 48 | if(StringUtils.isEmpty(s)){ 49 | int count = courseMapper.addStudentNum(selectedCourse.getCourseId()); 50 | if(count == 1){ 51 | selectedCourseMapper.addSelectedCourse(selectedCourse); 52 | return count; 53 | } 54 | if(count == 0){ 55 | return count; 56 | } 57 | }else{ 58 | return 2; 59 | } 60 | return 3; 61 | } 62 | 63 | @Override 64 | @Transactional 65 | public int deleteSelectedCourse(Integer id) { 66 | SelectedCourse selectedCourse = selectedCourseMapper.findById(id); 67 | courseMapper.deleteStudentNum(selectedCourse.getCourseId()); 68 | return selectedCourseMapper.deleteSelectedCourse(id); 69 | } 70 | 71 | @Override 72 | public boolean isStudentId(int id) { 73 | List selectedCourseList = selectedCourseMapper.isStudentId(id); 74 | if (selectedCourseList.isEmpty()){ 75 | return true; 76 | }else{ 77 | return false; 78 | } 79 | } 80 | 81 | @Override 82 | public List getAllBySid(int studentid) { 83 | return selectedCourseMapper.getAllBySid(studentid); 84 | } 85 | } 86 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/Impl/StudentServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service.Impl; 2 | 3 | import com.wdd.studentmanager.domain.Student; 4 | import com.wdd.studentmanager.mapper.StudenetMapper; 5 | import com.wdd.studentmanager.service.StudentService; 6 | import com.wdd.studentmanager.util.PageBean; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.stereotype.Service; 9 | 10 | import java.util.List; 11 | import java.util.Map; 12 | 13 | /** 14 | * @Classname StudentServiceImpl 15 | * @Description None 16 | * @Date 2019/6/27 14:12 17 | * @Created by WDD 18 | */ 19 | @Service 20 | public class StudentServiceImpl implements StudentService { 21 | 22 | @Autowired 23 | private StudenetMapper studenetMapper; 24 | 25 | @Override 26 | public PageBean queryPage(Map paramMap) { 27 | PageBean pageBean = new PageBean<>((Integer) paramMap.get("pageno"),(Integer) paramMap.get("pagesize")); 28 | 29 | Integer startIndex = pageBean.getStartIndex(); 30 | paramMap.put("startIndex",startIndex); 31 | List datas = studenetMapper.queryList(paramMap); 32 | pageBean.setDatas(datas); 33 | 34 | Integer totalsize = studenetMapper.queryCount(paramMap); 35 | pageBean.setTotalsize(totalsize); 36 | return pageBean; 37 | } 38 | 39 | @Override 40 | public int deleteStudent(List ids) { 41 | return studenetMapper.deleteStudent(ids); 42 | } 43 | 44 | @Override 45 | public int addStudent(Student student) { 46 | return studenetMapper.addStudent(student); 47 | } 48 | 49 | @Override 50 | public Student findById(Integer sid) { 51 | return studenetMapper.findById(sid); 52 | } 53 | 54 | @Override 55 | public int editStudent(Student student) { 56 | return studenetMapper.editStudent(student); 57 | } 58 | 59 | @Override 60 | public Student findByStudent(Student student) { 61 | return studenetMapper.findByStudent(student); 62 | } 63 | 64 | @Override 65 | public boolean isStudentByClazzId(Integer id) { 66 | List studentList = studenetMapper.isStudentByClazzId(id); 67 | if (studentList.isEmpty()){ 68 | return true; 69 | }else{ 70 | return false; 71 | } 72 | } 73 | 74 | @Override 75 | public int editPswdByStudent(Student student) { 76 | return studenetMapper.editPswdByStudent(student); 77 | } 78 | 79 | @Override 80 | public int findByName(String name) { 81 | return studenetMapper.findByName(name); 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/Impl/TeacherServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service.Impl; 2 | 3 | import com.wdd.studentmanager.domain.Teacher; 4 | import com.wdd.studentmanager.mapper.TeacherMapper; 5 | import com.wdd.studentmanager.service.TeacherService; 6 | import com.wdd.studentmanager.util.PageBean; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.stereotype.Service; 9 | 10 | import java.util.List; 11 | import java.util.Map; 12 | 13 | /** 14 | * @Classname TeacherServiceImpl 15 | * @Description None 16 | * @Date 2019/6/28 18:56 17 | * @Created by WDD 18 | */ 19 | @Service 20 | public class TeacherServiceImpl implements TeacherService { 21 | 22 | @Autowired 23 | private TeacherMapper teacherMapper; 24 | 25 | @Override 26 | public PageBean queryPage(Map paramMap) { 27 | PageBean pageBean = new PageBean<>((Integer) paramMap.get("pageno"),(Integer) paramMap.get("pagesize")); 28 | 29 | Integer startIndex = pageBean.getStartIndex(); 30 | paramMap.put("startIndex",startIndex); 31 | List datas = teacherMapper.queryList(paramMap); 32 | pageBean.setDatas(datas); 33 | 34 | Integer totalsize = teacherMapper.queryCount(paramMap); 35 | pageBean.setTotalsize(totalsize); 36 | return pageBean; 37 | } 38 | 39 | @Override 40 | public int deleteTeacher(List ids) { 41 | return teacherMapper.deleteTeacher(ids); 42 | } 43 | 44 | @Override 45 | public int addTeacher(Teacher teacher) { 46 | return teacherMapper.addTeacher(teacher); 47 | } 48 | 49 | @Override 50 | public Teacher findById(Integer tid) { 51 | return teacherMapper.findById(tid); 52 | } 53 | 54 | @Override 55 | public int editTeacher(Teacher teacher) { 56 | return teacherMapper.editTeacher(teacher); 57 | } 58 | 59 | @Override 60 | public Teacher findByTeacher(Teacher teacher) { 61 | return teacherMapper.findByTeacher(teacher); 62 | } 63 | 64 | @Override 65 | public int editPswdByTeacher(Teacher teacher) { 66 | return teacherMapper.editPswdByTeacher(teacher); 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/LeaveService.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service; 2 | 3 | import com.wdd.studentmanager.domain.Leave; 4 | import com.wdd.studentmanager.util.PageBean; 5 | 6 | import java.util.Map; 7 | 8 | /** 9 | * @Classname LeaveService 10 | * @Description None 11 | * @Date 2019/7/2 15:54 12 | * @Created by WDD 13 | */ 14 | public interface LeaveService { 15 | PageBean queryPage(Map paramMap); 16 | 17 | int addLeave(Leave leave); 18 | 19 | int editLeave(Leave leave); 20 | 21 | int checkLeave(Leave leave); 22 | 23 | int deleteLeave(Integer id); 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/ScoreService.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service; 2 | 3 | import com.wdd.studentmanager.domain.Score; 4 | import com.wdd.studentmanager.domain.ScoreStats; 5 | import com.wdd.studentmanager.util.PageBean; 6 | 7 | import java.util.List; 8 | import java.util.Map; 9 | 10 | /** 11 | * @Classname ScoreService 12 | * @Description None 13 | * @Date 2019/7/3 11:45 14 | * @Created by WDD 15 | */ 16 | public interface ScoreService { 17 | PageBean queryPage(Map paramMap); 18 | 19 | boolean isScore(Score score); 20 | 21 | int addScore(Score score); 22 | 23 | int editScore(Score score); 24 | 25 | int deleteScore(Integer id); 26 | 27 | List getAll(Score score); 28 | 29 | ScoreStats getAvgStats(Integer courseid); 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/SelectedCourseService.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service; 2 | 3 | import com.wdd.studentmanager.domain.SelectedCourse; 4 | import com.wdd.studentmanager.util.PageBean; 5 | 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | /** 10 | * @Classname SelectedCourseService 11 | * @Description None 12 | * @Date 2019/6/30 10:48 13 | * @Created by WDD 14 | */ 15 | public interface SelectedCourseService { 16 | PageBean queryPage(Map paramMap); 17 | 18 | int addSelectedCourse(SelectedCourse selectedCourse); 19 | 20 | int deleteSelectedCourse(Integer id); 21 | 22 | boolean isStudentId(int id); 23 | 24 | List getAllBySid(int studentid); 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/StudentService.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service; 2 | 3 | import com.wdd.studentmanager.domain.Student; 4 | import com.wdd.studentmanager.util.PageBean; 5 | 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | /** 10 | * @Classname StudentService 11 | * @Description None 12 | * @Date 2019/6/27 14:11 13 | * @Created by WDD 14 | */ 15 | public interface StudentService { 16 | PageBean queryPage(Map paramMap); 17 | 18 | int deleteStudent(List ids); 19 | 20 | int addStudent(Student student); 21 | 22 | Student findById(Integer sid); 23 | 24 | int editStudent(Student student); 25 | 26 | Student findByStudent(Student student); 27 | 28 | boolean isStudentByClazzId(Integer next); 29 | 30 | int editPswdByStudent(Student student); 31 | 32 | int findByName(String username); 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/service/TeacherService.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.service; 2 | 3 | import com.wdd.studentmanager.domain.Teacher; 4 | import com.wdd.studentmanager.util.PageBean; 5 | 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | /** 10 | * @Classname TeacherService 11 | * @Description None 12 | * @Date 2019/6/28 18:56 13 | * @Created by WDD 14 | */ 15 | public interface TeacherService { 16 | PageBean queryPage(Map paramMap); 17 | 18 | int deleteTeacher(List ids); 19 | 20 | int addTeacher(Teacher teacher); 21 | 22 | Teacher findById(Integer tid); 23 | 24 | int editTeacher(Teacher teacher); 25 | 26 | Teacher findByTeacher(Teacher teacher); 27 | 28 | int editPswdByTeacher(Teacher teacher); 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/util/AjaxResult.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.util; 2 | 3 | /** 4 | * @Classname AjaxResult 5 | * @Description ajax json 返回数据 6 | * @Date 2019/6/25 10:21 7 | * @Created by WDD 8 | */ 9 | public class AjaxResult { 10 | private boolean success; 11 | private String message; 12 | private String imgurl; 13 | private String type; 14 | 15 | public boolean isSuccess() { 16 | return success; 17 | } 18 | 19 | public void setSuccess(boolean success) { 20 | this.success = success; 21 | } 22 | 23 | public String getMessage() { 24 | return message; 25 | } 26 | 27 | public void setMessage(String message) { 28 | this.message = message; 29 | } 30 | 31 | public String getImgurl() { 32 | return imgurl; 33 | } 34 | 35 | public void setImgurl(String imgurl) { 36 | this.imgurl = imgurl; 37 | } 38 | 39 | public String getType() { 40 | return type; 41 | } 42 | 43 | public void setType(String type) { 44 | this.type = type; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/util/Const.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.util; 2 | 3 | public class Const { 4 | public static final String CODE = "code"; 5 | public static final String ADMIN = "admin"; 6 | public static final String STUDENT = "student"; 7 | public static final String TEACHER = "teacher"; 8 | public static final String USERTYPE = "usertype"; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/util/Data.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.util; 2 | 3 | import java.util.List; 4 | 5 | public class Data { 6 | private List ids ; 7 | 8 | public List getIds() { 9 | return ids; 10 | } 11 | 12 | public void setIds(List ids) { 13 | this.ids = ids; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/util/DateFormatUtil.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.util; 2 | 3 | import java.text.SimpleDateFormat; 4 | import java.util.Date; 5 | 6 | /** 7 | * @Classname DateFormatUtil 8 | * @Description None 9 | * @Date 2019/7/2 13:22 10 | * @Created by WDD 11 | */ 12 | public class DateFormatUtil { 13 | public static String getFormatDate(Date date, String format){ 14 | SimpleDateFormat sdf = new SimpleDateFormat(format); 15 | return sdf.format(date); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/util/PageBean.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.util; 2 | 3 | import java.util.List; 4 | 5 | public class PageBean { 6 | private Integer pageno; //第几页 7 | private Integer pagesize; //每页条数 8 | private List datas; 9 | private Integer totalno; //总共几页 10 | private Integer totalsize; //总的条数 11 | 12 | public PageBean(Integer pageno, Integer pagesize) { 13 | if(pageno<=0){ 14 | this.pageno = 1; 15 | }else{ 16 | this.pageno = pageno; 17 | } 18 | if(pagesize<=0){ 19 | this.pagesize = 10; 20 | }else{ 21 | this.pagesize = pagesize; 22 | } 23 | this.pageno = pageno; 24 | this.pagesize = pagesize; 25 | } 26 | 27 | public Integer getPageno() { 28 | return pageno; 29 | } 30 | 31 | public void setPageno(Integer pageno) { 32 | this.pageno = pageno; 33 | } 34 | 35 | public Integer getPagesize() { 36 | return pagesize; 37 | } 38 | 39 | public void setPagesize(Integer pagesize) { 40 | this.pagesize = pagesize; 41 | } 42 | 43 | public List getDatas() { 44 | return datas; 45 | } 46 | 47 | public void setDatas(List datas) { 48 | this.datas = datas; 49 | } 50 | 51 | public Integer getTotalno() { 52 | return totalno; 53 | } 54 | 55 | public void setTotalno(Integer totalno) { 56 | this.totalno = totalno; 57 | } 58 | 59 | public Integer getTotalsize() { 60 | return totalsize; 61 | } 62 | 63 | public void setTotalsize(Integer totalsize) { 64 | this.totalno = (totalsize%pagesize==0)?(totalsize/pagesize):(totalsize/pagesize+1); 65 | this.totalsize = totalsize; 66 | } 67 | 68 | /** 69 | * 开始索引 70 | */ 71 | public Integer getStartIndex(){ 72 | return (this.pageno-1)*this.pagesize; 73 | } 74 | 75 | 76 | @Override 77 | public String toString() { 78 | return "PageBean{" + 79 | "pageno=" + pageno + 80 | ", pagesize=" + pagesize + 81 | ", datas=" + datas + 82 | ", totalno=" + totalno + 83 | ", totalsize=" + totalsize + 84 | '}'; 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/util/SnGenerateUtil.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.util; 2 | 3 | /** 4 | * @Classname SnGenerateUtil 5 | * @Description 随机生成学号 6 | * @Date 2019/6/27 20:17 7 | * @Created by WDD 8 | */ 9 | public class SnGenerateUtil { 10 | public static String generateSn(int clazzId){ 11 | String sn = ""; 12 | sn = "S" + clazzId + System.currentTimeMillis(); 13 | return sn; 14 | } 15 | public static String generateTeacherSn(int clazzId){ 16 | String sn = ""; 17 | sn = "T" + clazzId + System.currentTimeMillis(); 18 | return sn; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/wdd/studentmanager/util/UploadUtil.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager.util; 2 | 3 | import java.io.File; 4 | 5 | /** 6 | * @Classname UploadUtil 7 | * @Description None 8 | * @Date 2019/6/27 20:06 9 | * @Created by WDD 10 | */ 11 | public class UploadUtil { 12 | // 项目根路径下的目录 -- SpringBoot static 目录相当于是根路径下(SpringBoot 默认) 13 | public final static String IMG_PATH_PREFIX = "static/upload/imgs"; 14 | 15 | public static File getImgDirFile(){ 16 | 17 | // 构建上传文件的存放 "文件夹" 路径 18 | String fileDirPath = new String("src/main/resources/" + IMG_PATH_PREFIX); 19 | 20 | File fileDir = new File(fileDirPath); 21 | if(!fileDir.exists()){ 22 | // 递归生成文件夹 23 | fileDir.mkdirs(); 24 | } 25 | return fileDir; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | datasource: 3 | driver-class-name: com.mysql.jdbc.Driver 4 | url: jdbc:mysql://127.0.0.1:3306/studentmanager?setUnicode=true&characterEncoding=utf8&useAffectedRows=true 5 | username: root 6 | password: 123 7 | servlet: 8 | multipart: 9 | max-file-size: 30Mb 10 | max-request-size: 30Mb 11 | 12 | 13 | mybatis: 14 | type-aliases-package: com.wdd.studentmanager.domain 15 | mapper-locations: classpath:mapper/*.xml 16 | 17 | -------------------------------------------------------------------------------- /src/main/resources/mapper/AdminMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | select * from s_admin where username = #{username} and password = #{password} 6 | 7 | 8 | 9 | update s_admin set password = #{password} where id = #{id} 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/main/resources/mapper/AttendanceMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | SELECT * 16 | from s_attendance 17 | 18 | and course_id = #{courseid} 19 | and student_id = #{studentid} 20 | and type = #{type} 21 | and date = #{date} 22 | 23 | limit #{startIndex},#{pagesize} 24 | 25 | 26 | 27 | select count(*) from s_attendance 28 | 29 | and course_id = #{courseid} 30 | and student_id = #{studentid} 31 | and type = #{type} 32 | and date = #{date} 33 | 34 | 35 | 36 | 37 | insert into s_attendance(course_id,student_id,type,date) 38 | values(#{courseId},#{studentId},#{type},#{date}) 39 | 40 | 41 | 42 | delete from s_attendance where id = #{id} 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | select * from s_attendance where course_id = #{courseId} and student_id = #{studentId} and type = #{type} and date = #{date} 81 | 82 | 83 | 84 | 85 | 86 | 87 | -------------------------------------------------------------------------------- /src/main/resources/mapper/ClazzMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | SELECT * 14 | from s_clazz 15 | 16 | and name LIKE concat("%",#{name},"%") 17 | 18 | limit #{startIndex},#{pagesize} 19 | 20 | 21 | 22 | select count(*) from s_clazz 23 | 24 | and name LIKE concat("%",#{name},"%") 25 | 26 | 27 | 28 | 29 | insert into s_clazz(name,info) values(#{name},#{info}) 30 | 31 | 32 | 33 | delete from s_clazz 34 | 35 | id in 36 | 37 | #{id} 38 | 39 | 40 | 41 | 42 | 43 | update s_clazz set name = #{name},info = #{info} where id = #{id} 44 | 45 | 46 | 47 | select * from s_clazz where name = #{clazzName} 48 | 49 | 50 | -------------------------------------------------------------------------------- /src/main/resources/mapper/CourseMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | SELECT * 18 | from s_course 19 | 20 | and name LIKE concat("%",#{name},"%") 21 | and teacher_id LIKE concat("%",#{teacherId},"%") 22 | 23 | limit #{startIndex},#{pagesize} 24 | 25 | 26 | 27 | select count(*) from s_course 28 | 29 | and name LIKE concat("%",#{name},"%") 30 | and teacher_id LIKE concat("%",#{teacherId},"%") 31 | 32 | 33 | 34 | 35 | insert into s_course(name,teacher_id,course_date,max_num,info) 36 | values(#{name},#{teacherId},#{courseDate},#{maxNum},#{info}) 37 | 38 | 39 | 40 | delete from s_course 41 | 42 | id in 43 | 44 | #{id} 45 | 46 | 47 | 48 | 49 | 50 | update s_course set name = #{name},teacher_id = #{teacherId},course_date = #{courseDate},max_num = #{maxNum},info = #{info} where id = #{id} 51 | 52 | 53 | 54 | update s_course 55 | set selected_num = (case 56 | when selected_num = max_num then 50 57 | when selected_num < max_num then selected_num+1 58 | end 59 | ) 60 | where id = #{courseId} 61 | 62 | 63 | 64 | update s_course 65 | set selected_num = selected_num-1 66 | where id = #{courseId} 67 | 68 | 69 | 70 | select * 71 | from s_course 72 | 73 | id in 74 | 75 | #{id} 76 | 77 | 78 | 79 | 80 | 81 | select id from s_course where name = #{name} 82 | 83 | 84 | -------------------------------------------------------------------------------- /src/main/resources/mapper/LeaveMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | SELECT * 16 | from s_leave 17 | 18 | and student_id = #{studentId} 19 | 20 | limit #{startIndex},#{pagesize} 21 | 22 | 23 | 24 | select count(*) from s_leave 25 | 26 | and student_id = #{studentId} 27 | 28 | 29 | 30 | 31 | insert into s_leave(student_id,info) 32 | values(#{studentId},#{info}) 33 | 34 | 35 | 36 | delete from s_leave where id = #{id} 37 | 38 | 39 | 40 | update s_leave set student_id = #{studentId},info = #{info} where id = #{id} 41 | 42 | 43 | 44 | update s_leave set student_id = #{studentId},info = #{info},status = #{status},remark = #{remark} where id = #{id} 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | -------------------------------------------------------------------------------- /src/main/resources/mapper/ScoreMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | SELECT * 18 | from s_score 19 | 20 | and course_id = #{courseid} 21 | and student_id = #{studentid} 22 | 23 | limit #{startIndex},#{pagesize} 24 | 25 | 26 | 27 | select count(*) from s_score 28 | 29 | and course_id = #{courseid} 30 | and student_id = #{studentid} 31 | 32 | 33 | 34 | 35 | insert into s_score(course_id,student_id,score,remark) 36 | values(#{courseId},#{studentId},#{score},#{remark}) 37 | 38 | 39 | 40 | delete from s_score where id = #{id} 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | select * from s_score where course_id = #{courseId} and student_id = #{studentId} 79 | 80 | 81 | 82 | update s_score set course_id = #{courseId},student_id = #{studentId},score = #{score}, remark = #{remark} where id = #{id} 83 | 84 | 85 | 86 | select s_score.*,s_course.name as courseName,s_student.username as studentName 87 | from s_score,s_course,s_student 88 | 89 | s_score.course_id = s_course.id and s_score.student_id = s_student.id 90 | and course_id = #{courseId} 91 | and student_id = #{studentId} 92 | 93 | 94 | 95 | 96 | select max(s_score.score) as max_score,avg(s_score.score) as avg_score,min(s_score.score) as min_score,s_course.name as courseName 97 | from s_score,s_course 98 | where s_score.course_id=s_course.id and s_score.course_id = #{courseid} 99 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /src/main/resources/mapper/SelectedCourse.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | SELECT * 14 | from s_selected_course 15 | 16 | and student_id LIKE concat("%",#{studentId},"%") 17 | and course_id LIKE concat("%",#{courseId},"%") 18 | and student_id = #{studentid} 19 | 20 | limit #{startIndex},#{pagesize} 21 | 22 | 23 | 24 | select count(*) from s_selected_course 25 | 26 | and student_id LIKE concat("%",#{studentId},"%") 27 | and course_id LIKE concat("%",#{courseId},"%") 28 | and student_id = #{studentid} 29 | 30 | 31 | 32 | 33 | insert into s_selected_course(student_id,course_id) 34 | values(#{studentId},#{courseId}) 35 | 36 | 37 | 38 | delete from s_selected_course where id = #{id} 39 | 40 | 41 | 42 | select * from s_selected_course where id = #{id} 43 | 44 | 45 | 46 | 47 | select * from s_selected_course 48 | where student_id = #{studentId} and course_id = #{courseId} 49 | 50 | 51 | 52 | select * from s_selected_course 53 | where student_id = #{id} 54 | 55 | 56 | 57 | select * from s_selected_course 58 | where student_id = #{studentid} 59 | 60 | -------------------------------------------------------------------------------- /src/main/resources/mapper/StudentMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | SELECT * 20 | from s_student 21 | 22 | and username LIKE concat("%",#{username},"%") 23 | and clazz_id LIKE concat("%",#{clazzid},"%") 24 | and id = #{studentid} 25 | 26 | limit #{startIndex},#{pagesize} 27 | 28 | 29 | 30 | select count(*) from s_student 31 | 32 | and username LIKE concat("%",#{username},"%") 33 | and clazz_id LIKE concat("%",#{clazzid},"%") 34 | and id = #{studentid} 35 | 36 | 37 | 38 | 39 | insert into s_student(sn,username,password,clazz_id,sex,mobile,qq,photo) 40 | values(#{sn},#{username},#{password},#{clazzId},#{sex},#{mobile},#{qq},#{photo}) 41 | 42 | 43 | 44 | delete from s_student 45 | 46 | id in 47 | 48 | #{id} 49 | 50 | 51 | 52 | 53 | 54 | update s_student 55 | 56 | 57 | username = #{username}, 58 | 59 | 60 | clazz_id = #{clazzId}, 61 | 62 | 63 | sex = #{sex}, 64 | 65 | 66 | mobile = #{mobile}, 67 | 68 | 69 | qq = #{qq}, 70 | 71 | 72 | photo = #{photo}, 73 | 74 | 75 | where id = #{id} 76 | 77 | 78 | 79 | 80 | select * from s_student where id = #{sid} 81 | 82 | 83 | 84 | select * from s_student where username = #{username} and password = #{password} 85 | 86 | 87 | 88 | select * from s_student where clazz_id = #{id} 89 | 90 | 91 | 92 | update s_student set password = #{password} where id = #{id} 93 | 94 | 95 | 96 | select id from s_student where username = #{name} 97 | 98 | 99 | -------------------------------------------------------------------------------- /src/main/resources/mapper/TeacherMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | SELECT * 20 | from s_teacher 21 | 22 | and username LIKE concat("%",#{username},"%") 23 | and clazz_id LIKE concat("%",#{clazzid},"%") 24 | and id = #{teacherid} 25 | 26 | limit #{startIndex},#{pagesize} 27 | 28 | 29 | 30 | select count(*) from s_teacher 31 | 32 | and username LIKE concat("%",#{username},"%") 33 | and clazz_id LIKE concat("%",#{clazzid},"%") 34 | and id = #{teacherid} 35 | 36 | 37 | 38 | 39 | insert into s_teacher(sn,username,password,clazz_id,sex,mobile,qq,photo) 40 | values(#{sn},#{username},#{password},#{clazzId},#{sex},#{mobile},#{qq},#{photo}) 41 | 42 | 43 | 44 | delete from s_teacher 45 | 46 | id in 47 | 48 | #{id} 49 | 50 | 51 | 52 | 53 | 54 | update s_teacher 55 | 56 | 57 | username = #{username}, 58 | 59 | 60 | clazz_id = #{clazzId}, 61 | 62 | 63 | sex = #{sex}, 64 | 65 | 66 | mobile = #{mobile}, 67 | 68 | 69 | qq = #{qq}, 70 | 71 | 72 | photo = #{photo}, 73 | 74 | 75 | where id = #{id} 76 | 77 | 78 | 79 | 80 | 81 | select * from s_teacher where id = #{tid} 82 | 83 | 84 | 85 | 86 | select * from s_teacher where username = #{username} and password = #{password} 87 | 88 | 89 | 90 | update s_teacher set password = #{password} where id = #{id} 91 | 92 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/easyui/js/outlook2.js: -------------------------------------------------------------------------------- 1 | 2 | $(function(){ 3 | InitLeftMenu(); 4 | tabClose(); 5 | tabCloseEven(); 6 | 7 | 8 | }) 9 | 10 | //初始化左侧 11 | function InitLeftMenu() { 12 | $("#nav").accordion({animate:false}); 13 | 14 | $.each(_menus.menus, function(i, n) { 15 | var menulist =''; 16 | menulist +=''; 17 | $.each(n.menus, function(j, o) { 18 | menulist += ' ' + o.menuname + ' '; 19 | }) 20 | menulist += ''; 21 | 22 | $('#nav').accordion('add', { 23 | title: n.menuname, 24 | content: menulist, 25 | iconCls: 'icon ' + n.icon 26 | }); 27 | 28 | }); 29 | 30 | $('.easyui-accordion li a').click(function(){ 31 | var tabTitle = $(this).children('.nav').text(); 32 | 33 | var url = $(this).attr("rel"); 34 | var menuid = $(this).attr("ref"); 35 | var icon = getIcon(menuid,icon); 36 | 37 | addTab(tabTitle,url,icon); 38 | $('.easyui-accordion li div').removeClass("selected"); 39 | $(this).parent().addClass("selected"); 40 | }).hover(function(){ 41 | $(this).parent().addClass("hover"); 42 | },function(){ 43 | $(this).parent().removeClass("hover"); 44 | }); 45 | 46 | //选中第一个 47 | var panels = $('#nav').accordion('panels'); 48 | var t = panels[0].panel('options').title; 49 | $('#nav').accordion('select', t); 50 | } 51 | //获取左侧导航的图标 52 | function getIcon(menuid){ 53 | var icon = 'icon '; 54 | $.each(_menus.menus, function(i, n) { 55 | $.each(n.menus, function(j, o) { 56 | if(o.menuid==menuid){ 57 | icon += o.icon; 58 | } 59 | }) 60 | }) 61 | 62 | return icon; 63 | } 64 | 65 | function addTab(subtitle,url,icon){ 66 | if(!$('#tabs').tabs('exists',subtitle)){ 67 | $('#tabs').tabs('add',{ 68 | title:subtitle, 69 | content:createFrame(url), 70 | closable:true, 71 | icon:icon 72 | }); 73 | }else{ 74 | $('#tabs').tabs('select',subtitle); 75 | $('#mm-tabupdate').click(); 76 | } 77 | tabClose(); 78 | } 79 | 80 | function createFrame(url) 81 | { 82 | var s = ''; 83 | return s; 84 | } 85 | 86 | function tabClose() 87 | { 88 | /*双击关闭TAB选项卡*/ 89 | $(".tabs-inner").dblclick(function(){ 90 | var subtitle = $(this).children(".tabs-closable").text(); 91 | $('#tabs').tabs('close',subtitle); 92 | }) 93 | /*为选项卡绑定右键*/ 94 | $(".tabs-inner").bind('contextmenu',function(e){ 95 | $('#mm').menu('show', { 96 | left: e.pageX, 97 | top: e.pageY 98 | }); 99 | 100 | var subtitle =$(this).children(".tabs-closable").text(); 101 | 102 | $('#mm').data("currtab",subtitle); 103 | $('#tabs').tabs('select',subtitle); 104 | return false; 105 | }); 106 | } 107 | //绑定右键菜单事件 108 | function tabCloseEven() 109 | { 110 | //刷新 111 | $('#mm-tabupdate').click(function(){ 112 | var currTab = $('#tabs').tabs('getSelected'); 113 | var url = $(currTab.panel('options').content).attr('src'); 114 | $('#tabs').tabs('update',{ 115 | tab:currTab, 116 | options:{ 117 | content:createFrame(url) 118 | } 119 | }) 120 | }) 121 | //关闭当前 122 | $('#mm-tabclose').click(function(){ 123 | var currtab_title = $('#mm').data("currtab"); 124 | $('#tabs').tabs('close',currtab_title); 125 | }) 126 | //全部关闭 127 | $('#mm-tabcloseall').click(function(){ 128 | $('.tabs-inner span').each(function(i,n){ 129 | var t = $(n).text(); 130 | $('#tabs').tabs('close',t); 131 | }); 132 | }); 133 | //关闭除当前之外的TAB 134 | $('#mm-tabcloseother').click(function(){ 135 | $('#mm-tabcloseright').click(); 136 | $('#mm-tabcloseleft').click(); 137 | }); 138 | //关闭当前右侧的TAB 139 | $('#mm-tabcloseright').click(function(){ 140 | var nextall = $('.tabs-selected').nextAll(); 141 | if(nextall.length==0){ 142 | //msgShow('系统提示','后边没有啦~~','error'); 143 | alert('后边没有啦~~'); 144 | return false; 145 | } 146 | nextall.each(function(i,n){ 147 | var t=$('a:eq(0) span',$(n)).text(); 148 | $('#tabs').tabs('close',t); 149 | }); 150 | return false; 151 | }); 152 | //关闭当前左侧的TAB 153 | $('#mm-tabcloseleft').click(function(){ 154 | var prevall = $('.tabs-selected').prevAll(); 155 | if(prevall.length==0){ 156 | alert('到头了,前边没有啦~~'); 157 | return false; 158 | } 159 | prevall.each(function(i,n){ 160 | var t=$('a:eq(0) span',$(n)).text(); 161 | $('#tabs').tabs('close',t); 162 | }); 163 | return false; 164 | }); 165 | 166 | //退出 167 | $("#mm-exit").click(function(){ 168 | $('#mm').menu('hide'); 169 | }) 170 | } 171 | 172 | //弹出信息窗口 title:标题 msgString:提示信息 msgType:信息类型 [error,info,question,warning] 173 | function msgShow(title, msgString, msgType) { 174 | $.messager.alert(title, msgString, msgType); 175 | } 176 | -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/color.css: -------------------------------------------------------------------------------- 1 | .c1,.c1:hover{ 2 | color: #fff; 3 | border-color: #3c8b3c; 4 | background: #4cae4c; 5 | background: -webkit-linear-gradient(top,#4cae4c 0,#449d44 100%); 6 | background: -moz-linear-gradient(top,#4cae4c 0,#449d44 100%); 7 | background: -o-linear-gradient(top,#4cae4c 0,#449d44 100%); 8 | background: linear-gradient(to bottom,#4cae4c 0,#449d44 100%); 9 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4cae4c,endColorstr=#449d44,GradientType=0); 10 | } 11 | a.c1:hover{ 12 | background: #449d44; 13 | filter: none; 14 | } 15 | .c2,.c2:hover{ 16 | color: #fff; 17 | border-color: #5f5f5f; 18 | background: #747474; 19 | background: -webkit-linear-gradient(top,#747474 0,#676767 100%); 20 | background: -moz-linear-gradient(top,#747474 0,#676767 100%); 21 | background: -o-linear-gradient(top,#747474 0,#676767 100%); 22 | background: linear-gradient(to bottom,#747474 0,#676767 100%); 23 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#747474,endColorstr=#676767,GradientType=0); 24 | } 25 | a.c2:hover{ 26 | background: #676767; 27 | filter: none; 28 | } 29 | .c3,.c3:hover{ 30 | color: #333; 31 | border-color: #ff8080; 32 | background: #ffb3b3; 33 | background: -webkit-linear-gradient(top,#ffb3b3 0,#ff9999 100%); 34 | background: -moz-linear-gradient(top,#ffb3b3 0,#ff9999 100%); 35 | background: -o-linear-gradient(top,#ffb3b3 0,#ff9999 100%); 36 | background: linear-gradient(to bottom,#ffb3b3 0,#ff9999 100%); 37 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffb3b3,endColorstr=#ff9999,GradientType=0); 38 | } 39 | a.c3:hover{ 40 | background: #ff9999; 41 | filter: none; 42 | } 43 | .c4,.c4:hover{ 44 | color: #333; 45 | border-color: #52d689; 46 | background: #b8eecf; 47 | background: -webkit-linear-gradient(top,#b8eecf 0,#a4e9c1 100%); 48 | background: -moz-linear-gradient(top,#b8eecf 0,#a4e9c1 100%); 49 | background: -o-linear-gradient(top,#b8eecf 0,#a4e9c1 100%); 50 | background: linear-gradient(to bottom,#b8eecf 0,#a4e9c1 100%); 51 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b8eecf,endColorstr=#a4e9c1,GradientType=0); 52 | } 53 | a.c4:hover{ 54 | background: #a4e9c1; 55 | filter: none; 56 | } 57 | .c5,.c5:hover{ 58 | color: #fff; 59 | border-color: #b52b27; 60 | background: #d84f4b; 61 | background: -webkit-linear-gradient(top,#d84f4b 0,#c9302c 100%); 62 | background: -moz-linear-gradient(top,#d84f4b 0,#c9302c 100%); 63 | background: -o-linear-gradient(top,#d84f4b 0,#c9302c 100%); 64 | background: linear-gradient(to bottom,#d84f4b 0,#c9302c 100%); 65 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#d84f4b,endColorstr=#c9302c,GradientType=0); 66 | } 67 | a.c5:hover{ 68 | background: #c9302c; 69 | filter: none; 70 | } 71 | .c6,.c6:hover{ 72 | color: #fff; 73 | border-color: #1f637b; 74 | background: #2984a4; 75 | background: -webkit-linear-gradient(top,#2984a4 0,#24748f 100%); 76 | background: -moz-linear-gradient(top,#2984a4 0,#24748f 100%); 77 | background: -o-linear-gradient(top,#2984a4 0,#24748f 100%); 78 | background: linear-gradient(to bottom,#2984a4 0,#24748f 100%); 79 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#2984a4,endColorstr=#24748f,GradientType=0); 80 | } 81 | a.c6:hover{ 82 | background: #24748f; 83 | filter: none; 84 | } 85 | .c7,.c7:hover{ 86 | color: #333; 87 | border-color: #e68900; 88 | background: #ffab2e; 89 | background: -webkit-linear-gradient(top,#ffab2e 0,#ff9900 100%); 90 | background: -moz-linear-gradient(top,#ffab2e 0,#ff9900 100%); 91 | background: -o-linear-gradient(top,#ffab2e 0,#ff9900 100%); 92 | background: linear-gradient(to bottom,#ffab2e 0,#ff9900 100%); 93 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffab2e,endColorstr=#ff9900,GradientType=0); 94 | } 95 | a.c7:hover{ 96 | background: #ff9900; 97 | filter: none; 98 | } 99 | .c8,.c8:hover{ 100 | color: #fff; 101 | border-color: #4b72a4; 102 | background: #698cba; 103 | background: -webkit-linear-gradient(top,#698cba 0,#577eb2 100%); 104 | background: -moz-linear-gradient(top,#698cba 0,#577eb2 100%); 105 | background: -o-linear-gradient(top,#698cba 0,#577eb2 100%); 106 | background: linear-gradient(to bottom,#698cba 0,#577eb2 100%); 107 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#698cba,endColorstr=#577eb2,GradientType=0); 108 | } 109 | a.c8:hover{ 110 | background: #577eb2; 111 | filter: none; 112 | } 113 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/calendar.css: -------------------------------------------------------------------------------- 1 | .calendar { 2 | border-width: 1px; 3 | border-style: solid; 4 | padding: 1px; 5 | overflow: hidden; 6 | } 7 | .calendar table { 8 | table-layout: fixed; 9 | border-collapse: separate; 10 | font-size: 12px; 11 | width: 100%; 12 | height: 100%; 13 | } 14 | .calendar table td, 15 | .calendar table th { 16 | font-size: 12px; 17 | } 18 | .calendar-noborder { 19 | border: 0; 20 | } 21 | .calendar-header { 22 | position: relative; 23 | height: 22px; 24 | } 25 | .calendar-title { 26 | text-align: center; 27 | height: 22px; 28 | } 29 | .calendar-title span { 30 | position: relative; 31 | display: inline-block; 32 | top: 2px; 33 | padding: 0 3px; 34 | height: 18px; 35 | line-height: 18px; 36 | font-size: 12px; 37 | cursor: pointer; 38 | -moz-border-radius: 5px 5px 5px 5px; 39 | -webkit-border-radius: 5px 5px 5px 5px; 40 | border-radius: 5px 5px 5px 5px; 41 | } 42 | .calendar-prevmonth, 43 | .calendar-nextmonth, 44 | .calendar-prevyear, 45 | .calendar-nextyear { 46 | position: absolute; 47 | top: 50%; 48 | margin-top: -7px; 49 | width: 14px; 50 | height: 14px; 51 | cursor: pointer; 52 | font-size: 1px; 53 | -moz-border-radius: 5px 5px 5px 5px; 54 | -webkit-border-radius: 5px 5px 5px 5px; 55 | border-radius: 5px 5px 5px 5px; 56 | } 57 | .calendar-prevmonth { 58 | left: 20px; 59 | background: url('images/calendar_arrows.png') no-repeat -18px -2px; 60 | } 61 | .calendar-nextmonth { 62 | right: 20px; 63 | background: url('images/calendar_arrows.png') no-repeat -34px -2px; 64 | } 65 | .calendar-prevyear { 66 | left: 3px; 67 | background: url('images/calendar_arrows.png') no-repeat -1px -2px; 68 | } 69 | .calendar-nextyear { 70 | right: 3px; 71 | background: url('images/calendar_arrows.png') no-repeat -49px -2px; 72 | } 73 | .calendar-body { 74 | position: relative; 75 | } 76 | .calendar-body th, 77 | .calendar-body td { 78 | text-align: center; 79 | } 80 | .calendar-day { 81 | border: 0; 82 | padding: 1px; 83 | cursor: pointer; 84 | -moz-border-radius: 5px 5px 5px 5px; 85 | -webkit-border-radius: 5px 5px 5px 5px; 86 | border-radius: 5px 5px 5px 5px; 87 | } 88 | .calendar-other-month { 89 | opacity: 0.3; 90 | filter: alpha(opacity=30); 91 | } 92 | .calendar-disabled { 93 | opacity: 0.6; 94 | filter: alpha(opacity=60); 95 | cursor: default; 96 | } 97 | .calendar-menu { 98 | position: absolute; 99 | top: 0; 100 | left: 0; 101 | width: 180px; 102 | height: 150px; 103 | padding: 5px; 104 | font-size: 12px; 105 | display: none; 106 | overflow: hidden; 107 | } 108 | .calendar-menu-year-inner { 109 | text-align: center; 110 | padding-bottom: 5px; 111 | } 112 | .calendar-menu-year { 113 | width: 40px; 114 | text-align: center; 115 | border-width: 1px; 116 | border-style: solid; 117 | margin: 0; 118 | padding: 2px; 119 | font-weight: bold; 120 | font-size: 12px; 121 | } 122 | .calendar-menu-prev, 123 | .calendar-menu-next { 124 | display: inline-block; 125 | width: 21px; 126 | height: 21px; 127 | vertical-align: top; 128 | cursor: pointer; 129 | -moz-border-radius: 5px 5px 5px 5px; 130 | -webkit-border-radius: 5px 5px 5px 5px; 131 | border-radius: 5px 5px 5px 5px; 132 | } 133 | .calendar-menu-prev { 134 | margin-right: 10px; 135 | background: url('images/calendar_arrows.png') no-repeat 2px 2px; 136 | } 137 | .calendar-menu-next { 138 | margin-left: 10px; 139 | background: url('images/calendar_arrows.png') no-repeat -45px 2px; 140 | } 141 | .calendar-menu-month { 142 | text-align: center; 143 | cursor: pointer; 144 | font-weight: bold; 145 | -moz-border-radius: 5px 5px 5px 5px; 146 | -webkit-border-radius: 5px 5px 5px 5px; 147 | border-radius: 5px 5px 5px 5px; 148 | } 149 | .calendar-body th, 150 | .calendar-menu-month { 151 | color: #4d4d4d; 152 | } 153 | .calendar-day { 154 | color: #000000; 155 | } 156 | .calendar-sunday { 157 | color: #CC2222; 158 | } 159 | .calendar-saturday { 160 | color: #00ee00; 161 | } 162 | .calendar-today { 163 | color: #0000ff; 164 | } 165 | .calendar-menu-year { 166 | border-color: #95B8E7; 167 | } 168 | .calendar { 169 | border-color: #95B8E7; 170 | } 171 | .calendar-header { 172 | background: #E0ECFF; 173 | } 174 | .calendar-body, 175 | .calendar-menu { 176 | background: #ffffff; 177 | } 178 | .calendar-body th { 179 | background: #F4F4F4; 180 | padding: 2px 0; 181 | } 182 | .calendar-hover, 183 | .calendar-nav-hover, 184 | .calendar-menu-hover { 185 | background-color: #eaf2ff; 186 | color: #000000; 187 | } 188 | .calendar-hover { 189 | border: 1px solid #b7d2ff; 190 | padding: 0; 191 | } 192 | .calendar-selected { 193 | background-color: #ffe48d; 194 | color: #000000; 195 | border: 1px solid #ffab3f; 196 | padding: 0; 197 | } 198 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/accordion_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/accordion_arrows.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/blank.gif -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/calendar_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/calendar_arrows.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/combo_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/combo_arrow.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/datagrid_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/datagrid_icons.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/datebox_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/datebox_arrow.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/layout_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/layout_arrows.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/linkbutton_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/linkbutton_bg.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/loading.gif -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/menu_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/menu_arrows.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/messager_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/messager_icons.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/pagination_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/pagination_icons.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/panel_tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/panel_tools.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/searchbox_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/searchbox_button.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/slider_handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/slider_handle.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/spinner_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/spinner_arrows.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/tabs_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/tabs_icons.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/tree_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/tree_icons.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/images/validatebox_warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/default/images/validatebox_warning.png -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/tree.css: -------------------------------------------------------------------------------- 1 | .tree { 2 | margin: 0; 3 | padding: 0; 4 | list-style-type: none; 5 | } 6 | .tree li { 7 | white-space: nowrap; 8 | } 9 | .tree li ul { 10 | list-style-type: none; 11 | margin: 0; 12 | padding: 0; 13 | } 14 | .tree-node { 15 | height: 18px; 16 | white-space: nowrap; 17 | cursor: pointer; 18 | } 19 | .tree-hit { 20 | cursor: pointer; 21 | } 22 | .tree-expanded, 23 | .tree-collapsed, 24 | .tree-folder, 25 | .tree-file, 26 | .tree-checkbox, 27 | .tree-indent { 28 | display: inline-block; 29 | width: 16px; 30 | height: 18px; 31 | vertical-align: top; 32 | overflow: hidden; 33 | } 34 | .tree-expanded { 35 | background: url('images/tree_icons.png') no-repeat -18px 0px; 36 | } 37 | .tree-expanded-hover { 38 | background: url('images/tree_icons.png') no-repeat -50px 0px; 39 | } 40 | .tree-collapsed { 41 | background: url('images/tree_icons.png') no-repeat 0px 0px; 42 | } 43 | .tree-collapsed-hover { 44 | background: url('images/tree_icons.png') no-repeat -32px 0px; 45 | } 46 | .tree-lines .tree-expanded, 47 | .tree-lines .tree-root-first .tree-expanded { 48 | background: url('images/tree_icons.png') no-repeat -144px 0; 49 | } 50 | .tree-lines .tree-collapsed, 51 | .tree-lines .tree-root-first .tree-collapsed { 52 | background: url('images/tree_icons.png') no-repeat -128px 0; 53 | } 54 | .tree-lines .tree-node-last .tree-expanded, 55 | .tree-lines .tree-root-one .tree-expanded { 56 | background: url('images/tree_icons.png') no-repeat -80px 0; 57 | } 58 | .tree-lines .tree-node-last .tree-collapsed, 59 | .tree-lines .tree-root-one .tree-collapsed { 60 | background: url('images/tree_icons.png') no-repeat -64px 0; 61 | } 62 | .tree-line { 63 | background: url('images/tree_icons.png') no-repeat -176px 0; 64 | } 65 | .tree-join { 66 | background: url('images/tree_icons.png') no-repeat -192px 0; 67 | } 68 | .tree-joinbottom { 69 | background: url('images/tree_icons.png') no-repeat -160px 0; 70 | } 71 | .tree-folder { 72 | background: url('images/tree_icons.png') no-repeat -208px 0; 73 | } 74 | .tree-folder-open { 75 | background: url('images/tree_icons.png') no-repeat -224px 0; 76 | } 77 | .tree-file { 78 | background: url('images/tree_icons.png') no-repeat -240px 0; 79 | } 80 | .tree-loading { 81 | background: url('images/loading.gif') no-repeat center center; 82 | } 83 | .tree-checkbox0 { 84 | background: url('images/tree_icons.png') no-repeat -208px -18px; 85 | } 86 | .tree-checkbox1 { 87 | background: url('images/tree_icons.png') no-repeat -224px -18px; 88 | } 89 | .tree-checkbox2 { 90 | background: url('images/tree_icons.png') no-repeat -240px -18px; 91 | } 92 | .tree-title { 93 | font-size: 12px; 94 | display: inline-block; 95 | text-decoration: none; 96 | vertical-align: top; 97 | white-space: nowrap; 98 | padding: 0 2px; 99 | height: 18px; 100 | line-height: 18px; 101 | } 102 | .tree-node-proxy { 103 | font-size: 12px; 104 | line-height: 20px; 105 | padding: 0 2px 0 20px; 106 | border-width: 1px; 107 | border-style: solid; 108 | z-index: 9900000; 109 | } 110 | .tree-dnd-icon { 111 | display: inline-block; 112 | position: absolute; 113 | width: 16px; 114 | height: 18px; 115 | left: 2px; 116 | top: 50%; 117 | margin-top: -9px; 118 | } 119 | .tree-dnd-yes { 120 | background: url('images/tree_icons.png') no-repeat -256px 0; 121 | } 122 | .tree-dnd-no { 123 | background: url('images/tree_icons.png') no-repeat -256px -18px; 124 | } 125 | .tree-node-top { 126 | border-top: 1px dotted red; 127 | } 128 | .tree-node-bottom { 129 | border-bottom: 1px dotted red; 130 | } 131 | .tree-node-append .tree-title { 132 | border: 1px dotted red; 133 | } 134 | .tree-editor { 135 | border: 1px solid #ccc; 136 | font-size: 12px; 137 | height: 14px !important; 138 | height: 18px; 139 | line-height: 14px; 140 | padding: 1px 2px; 141 | width: 80px; 142 | position: absolute; 143 | top: 0; 144 | } 145 | .tree-node-proxy { 146 | background-color: #ffffff; 147 | color: #000000; 148 | border-color: #95B8E7; 149 | } 150 | .tree-node-hover { 151 | background: #eaf2ff; 152 | color: #000000; 153 | } 154 | .tree-node-selected { 155 | background: #ffe48d; 156 | color: #000000; 157 | } 158 | .tree-node-hidden { 159 | display: none; 160 | } 161 | -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/default/validatebox.css: -------------------------------------------------------------------------------- 1 | .validatebox-invalid { 2 | border-color: #ffa8a8; 3 | background-color: #fff3f3; 4 | color: #000; 5 | } 6 | -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/2012080412263.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/2012080412263.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/asterisk_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/asterisk_orange.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/back.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/basket_remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/basket_remove.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/blank.gif -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/book_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/book_add.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/book_open_mark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/book_open_mark.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/book_previous.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/book_previous.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/cancel.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/chart_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/chart_bar.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/clear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/clear.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/cut.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/door_out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/door_out.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/edit_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/edit_add.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/edit_remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/edit_remove.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/filesave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/filesave.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/filter.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/find.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/find.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/folder_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/folder_up.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/help.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/house.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/house.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/large_chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/large_chart.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/large_clipart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/large_clipart.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/large_picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/large_picture.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/large_shapes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/large_shapes.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/large_smartart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/large_smartart.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/lock.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/man.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/man.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/mini_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/mini_add.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/mini_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/mini_edit.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/mini_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/mini_refresh.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/more.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/no.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/no.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/note.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/note.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/ok.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/pencil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/pencil.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/pencil_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/pencil_add.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/print.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/redo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/redo.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/reload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/reload.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/search.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/set.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/set.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/sum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/sum.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/text_list_bullets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/text_list_bullets.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/text_list_numbers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/text_list_numbers.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/tip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/tip.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/undo.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/user_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/user_add.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/user_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/user_gray.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/user_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/user_red.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/vcard_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/vcard_edit.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/world.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/world.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/world_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/world_add.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/world_night.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/world_night.png -------------------------------------------------------------------------------- /src/main/resources/static/easyui/themes/icons/zoom_in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/easyui/themes/icons/zoom_in.png -------------------------------------------------------------------------------- /src/main/resources/static/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 | -------------------------------------------------------------------------------- /src/main/resources/static/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} -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/Thumbs.db -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/acrossTab-2bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/acrossTab-2bak.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/acrossTab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/acrossTab-bg.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/acrossTab-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/acrossTab-close.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/acrossTab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/acrossTab.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/admin-login-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/admin-login-bg.jpg -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/admin-loginform-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/admin-loginform-bg.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/gq/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/gq/Thumbs.db -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/gq/cn.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/gq/cn.gif -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/gq/gj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/gq/gj.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/gq/us.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/gq/us.gif -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/hamburger-retina.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/hamburger-retina.gif -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/hamburger.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/hamburger.gif -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/icon-add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/icon-add.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/icon_error_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/icon_error_s.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/icon_jt2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/icon_jt2.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/icon_right_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/icon_right_s.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/icon_warning_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/icon_warning_s.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/loading.gif -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/loading_072.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/loading_072.gif -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/sort_asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/sort_asc.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/sort_both.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/sort_both.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/sort_desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/sort_desc.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/totop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/totop.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/images/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/images/user.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/Hui-iconfont/1.0.1/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/Hui-iconfont/1.0.1/iconfont.eot -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/Hui-iconfont/1.0.1/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/Hui-iconfont/1.0.1/iconfont.ttf -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/Hui-iconfont/1.0.1/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/Hui-iconfont/1.0.1/iconfont.woff -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/Thumbs.db -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/aero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/aero.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/aero@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/aero@2x.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/blue.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/blue@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/blue@2x.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/green.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/green@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/green@2x.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/grey.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/grey@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/grey@2x.png -------------------------------------------------------------------------------- /src/main/resources/static/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); -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/minimal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/minimal.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/minimal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/minimal@2x.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/orange.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/orange@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/orange@2x.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/pink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/pink.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/pink@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/pink@2x.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/purple.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/purple@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/purple@2x.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/red.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/red@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/red@2x.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/yellow.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/lib/icheck/yellow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/lib/icheck/yellow@2x.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/skin/default/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/skin/default/Thumbs.db -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/skin/default/acrossTab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/skin/default/acrossTab-bg.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/skin/default/acrossTab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/skin/default/acrossTab.png -------------------------------------------------------------------------------- /src/main/resources/static/h-ui/skin/default/icon_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/src/main/resources/static/h-ui/skin/default/icon_arrow.png -------------------------------------------------------------------------------- /src/main/resources/static/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} -------------------------------------------------------------------------------- /src/main/resources/templates/system/welcome.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | Document 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 欢迎使用学生成绩管理系统 18 | 开发人员:wdd 19 | 20 | 21 | 系统环境 22 | 系统环境:Windows 23 | 开发工具:IDEA 24 | Java版本:JDK 1.8 25 | 服务器:tomcat 7.0 26 | 数据库:MySQL 5.5 27 | 系统采用技术: springboot + mybatis + maven 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/test/java/com/wdd/studentmanager/IteratorTest.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager; 2 | 3 | import org.junit.Test; 4 | 5 | import java.util.ArrayList; 6 | import java.util.Iterator; 7 | import java.util.List; 8 | 9 | /** 10 | * @Classname IteratorTest 11 | * @Description None 12 | * @Date 2019/6/30 19:50 13 | * @Created by WDD 14 | */ 15 | public class IteratorTest { 16 | @Test 17 | public void test(){ 18 | //准备数据 19 | List list = new ArrayList<>(); 20 | list.add(1); 21 | list.add(2); 22 | list.add(3); 23 | list.add(3); 24 | 25 | //遍历删除,除去男生 26 | Iterator iterator = list.iterator(); 27 | while (iterator.hasNext()) { 28 | 29 | if (iterator.next().equals(3)) { 30 | iterator.remove();//使用迭代器的删除方法删除 31 | } 32 | } 33 | System.out.println(list.size()); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/test/java/com/wdd/studentmanager/StudentmanagerApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.wdd.studentmanager; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class StudentmanagerApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /项目截图/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/项目截图/1.png -------------------------------------------------------------------------------- /项目截图/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/项目截图/10.jpg -------------------------------------------------------------------------------- /项目截图/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/项目截图/11.jpg -------------------------------------------------------------------------------- /项目截图/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/项目截图/2.png -------------------------------------------------------------------------------- /项目截图/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/项目截图/3.png -------------------------------------------------------------------------------- /项目截图/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/项目截图/4.png -------------------------------------------------------------------------------- /项目截图/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/项目截图/5.png -------------------------------------------------------------------------------- /项目截图/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/项目截图/6.jpg -------------------------------------------------------------------------------- /项目截图/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/项目截图/7.jpg -------------------------------------------------------------------------------- /项目截图/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/项目截图/8.jpg -------------------------------------------------------------------------------- /项目截图/9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeroWdd/studentmanager/2151560fc0a50ec00426785ec1e01a3763b380d9/项目截图/9.jpg --------------------------------------------------------------------------------
欢迎使用学生成绩管理系统
开发人员:wdd
系统环境:Windows
开发工具:IDEA
Java版本:JDK 1.8
服务器:tomcat 7.0
数据库:MySQL 5.5
系统采用技术: springboot + mybatis + maven