Full Code of Zoutao6/examination_system- for AI

master 1596c8ddbd03 cached
156 files
692.2 KB
188.0k tokens
1124 symbols
1 requests
Download .txt
Showing preview only (756K chars total). Download the full file or copy to clipboard to get everything.
Repository: Zoutao6/examination_system-
Branch: master
Commit: 1596c8ddbd03
Files: 156
Total size: 692.2 KB

Directory structure:
gitextract_8iu6na0l/

├── .classpath
├── .project
├── .settings/
│   ├── .jsdtscope
│   ├── org.eclipse.jdt.core.prefs
│   ├── org.eclipse.m2e.core.prefs
│   ├── org.eclipse.wst.common.component
│   ├── org.eclipse.wst.common.project.facet.core.xml
│   ├── org.eclipse.wst.jsdt.ui.superType.container
│   ├── org.eclipse.wst.jsdt.ui.superType.name
│   └── org.eclipse.wst.validation.prefs
├── README.md
├── pom.xml
├── sql/
│   └── examination_system.sql
├── src/
│   ├── main/
│   │   ├── java/
│   │   │   └── com/
│   │   │       └── system/
│   │   │           ├── controller/
│   │   │           │   ├── AdminController.java
│   │   │           │   ├── LoginController.java
│   │   │           │   ├── RestPasswordController.java
│   │   │           │   ├── StudentController.java
│   │   │           │   ├── TeacherController.java
│   │   │           │   └── converter/
│   │   │           │       └── CustomDateConverter.java
│   │   │           ├── exception/
│   │   │           │   ├── CustomException.java
│   │   │           │   └── CustomExceptionResolver.java
│   │   │           ├── mapper/
│   │   │           │   ├── CollegeMapper.java
│   │   │           │   ├── CollegeMapper.xml
│   │   │           │   ├── CourseMapper.java
│   │   │           │   ├── CourseMapper.xml
│   │   │           │   ├── CourseMapperCustom.java
│   │   │           │   ├── CourseMapperCustom.xml
│   │   │           │   ├── RoleMapper.java
│   │   │           │   ├── RoleMapper.xml
│   │   │           │   ├── SelectedcourseMapper.java
│   │   │           │   ├── SelectedcourseMapper.xml
│   │   │           │   ├── StudentMapper.java
│   │   │           │   ├── StudentMapper.xml
│   │   │           │   ├── StudentMapperCustom.java
│   │   │           │   ├── StudentMapperCustom.xml
│   │   │           │   ├── TeacherMapper.java
│   │   │           │   ├── TeacherMapper.xml
│   │   │           │   ├── TeacherMapperCustom.java
│   │   │           │   ├── TeacherMapperCustom.xml
│   │   │           │   ├── UserloginMapper.java
│   │   │           │   ├── UserloginMapper.xml
│   │   │           │   ├── UserloginMapperCustom.java
│   │   │           │   └── UserloginMapperCustom.xml
│   │   │           ├── po/
│   │   │           │   ├── College.java
│   │   │           │   ├── CollegeCustom.java
│   │   │           │   ├── CollegeExample.java
│   │   │           │   ├── Course.java
│   │   │           │   ├── CourseCustom.java
│   │   │           │   ├── CourseExample.java
│   │   │           │   ├── PagingVO.java
│   │   │           │   ├── Role.java
│   │   │           │   ├── RoleExample.java
│   │   │           │   ├── SelectedCourseCustom.java
│   │   │           │   ├── Selectedcourse.java
│   │   │           │   ├── SelectedcourseExample.java
│   │   │           │   ├── Student.java
│   │   │           │   ├── StudentCustom.java
│   │   │           │   ├── StudentExample.java
│   │   │           │   ├── Teacher.java
│   │   │           │   ├── TeacherCustom.java
│   │   │           │   ├── TeacherExample.java
│   │   │           │   ├── Userlogin.java
│   │   │           │   ├── UserloginCustom.java
│   │   │           │   └── UserloginExample.java
│   │   │           ├── realm/
│   │   │           │   └── LoginRealm.java
│   │   │           └── service/
│   │   │               ├── CollegeService.java
│   │   │               ├── CourseService.java
│   │   │               ├── RoleService.java
│   │   │               ├── SelectedCourseService.java
│   │   │               ├── StudentService.java
│   │   │               ├── TeacherService.java
│   │   │               ├── UserloginService.java
│   │   │               └── impl/
│   │   │                   ├── CollegeServiceImpl.java
│   │   │                   ├── CourseServiceImpl.java
│   │   │                   ├── RoleServiceImpl.java
│   │   │                   ├── SelectedCourseServiceImpl.java
│   │   │                   ├── StudentServiceImpl.java
│   │   │                   ├── TeacherServiceImpl.java
│   │   │                   └── UserloginServiceImpl.java
│   │   ├── resources/
│   │   │   ├── log4j.properties
│   │   │   ├── mybatis/
│   │   │   │   └── mybatis.cfg.xml
│   │   │   ├── mysql.properties
│   │   │   └── spring/
│   │   │       ├── applicationContext-dao.xml
│   │   │       ├── applicationContext-service.xml
│   │   │       ├── applicationContext-shiro.xml
│   │   │       ├── applicationContext-trsaction.xml
│   │   │       └── springmvc.xml
│   │   └── webapp/
│   │       ├── WEB-INF/
│   │       │   ├── classes/
│   │       │   │   └── spring/
│   │       │   │       ├── applicationContext-dao.xml
│   │       │   │       ├── applicationContext-service.xml
│   │       │   │       ├── applicationContext-shiro.xml
│   │       │   │       └── applicationContext-trsaction.xml
│   │       │   ├── jsp/
│   │       │   │   ├── admin/
│   │       │   │   │   ├── addCourse.jsp
│   │       │   │   │   ├── addStudent.jsp
│   │       │   │   │   ├── addTeacher.jsp
│   │       │   │   │   ├── editCourse.jsp
│   │       │   │   │   ├── editStudent.jsp
│   │       │   │   │   ├── editTeacher.jsp
│   │       │   │   │   ├── menu.jsp
│   │       │   │   │   ├── passwordRest.jsp
│   │       │   │   │   ├── showCourse.jsp
│   │       │   │   │   ├── showStudent.jsp
│   │       │   │   │   ├── showTeacher.jsp
│   │       │   │   │   ├── top.jsp
│   │       │   │   │   └── userPasswordRest.jsp
│   │       │   │   ├── error.jsp
│   │       │   │   ├── student/
│   │       │   │   │   ├── menu.jsp
│   │       │   │   │   ├── overCourse.jsp
│   │       │   │   │   ├── passwordRest.jsp
│   │       │   │   │   ├── selectCourse.jsp
│   │       │   │   │   ├── showCourse.jsp
│   │       │   │   │   └── top.jsp
│   │       │   │   ├── success.jsp
│   │       │   │   └── teacher/
│   │       │   │       ├── mark.jsp
│   │       │   │       ├── menu.jsp
│   │       │   │       ├── passwordRest.jsp
│   │       │   │       ├── showCourse.jsp
│   │       │   │       ├── showGrade.jsp
│   │       │   │       └── top.jsp
│   │       │   └── web.xml
│   │       ├── css/
│   │       │   ├── bootstrap-theme.css
│   │       │   └── bootstrap.css
│   │       ├── js/
│   │       │   ├── bootstrap.js
│   │       │   └── npm.js
│   │       └── login.jsp
│   └── test/
│       └── test/
│           └── com/
│               └── system/
│                   ├── mapper/
│                   │   ├── CourseMapperCustomTest.java
│                   │   ├── StudentMapperCustomTest.java
│                   │   ├── StudentMapperTest.java
│                   │   ├── TeacherMapperCustomTest.java
│                   │   └── UserloginMapperCustomTest.java
│                   └── service/
│                       └── impl/
│                           ├── CourseServiceImplTest.java
│                           ├── SelectedCourseServiceImplTest.java
│                           ├── StudentServiceImplTest.java
│                           ├── TeacherServiceImplTest.java
│                           └── UserloginServiceImplTest.java
└── target/
    ├── classes/
    │   ├── com/
    │   │   └── system/
    │   │       └── mapper/
    │   │           ├── CollegeMapper.xml
    │   │           ├── CourseMapper.xml
    │   │           ├── CourseMapperCustom.xml
    │   │           ├── RoleMapper.xml
    │   │           ├── SelectedcourseMapper.xml
    │   │           ├── StudentMapper.xml
    │   │           ├── StudentMapperCustom.xml
    │   │           ├── TeacherMapper.xml
    │   │           ├── TeacherMapperCustom.xml
    │   │           ├── UserloginMapper.xml
    │   │           └── UserloginMapperCustom.xml
    │   ├── log4j.properties
    │   ├── mybatis/
    │   │   └── mybatis.cfg.xml
    │   ├── mysql.properties
    │   └── spring/
    │       ├── applicationContext-dao.xml
    │       ├── applicationContext-service.xml
    │       ├── applicationContext-shiro.xml
    │       ├── applicationContext-trsaction.xml
    │       └── springmvc.xml
    └── m2e-wtp/
        └── web-resources/
            └── META-INF/
                ├── MANIFEST.MF
                └── maven/
                    └── com.jacey/
                        └── Examination_System/
                            ├── pom.properties
                            └── pom.xml

================================================
FILE CONTENTS
================================================

================================================
FILE: .classpath
================================================
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
	<classpathentry including="**/*.java" kind="src" output="target/classes" path="src/main/java">
		<attributes>
			<attribute name="optional" value="true"/>
			<attribute name="maven.pomderived" value="true"/>
		</attributes>
	</classpathentry>
	<classpathentry kind="src" path="src/main/resources"/>
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
		<attributes>
			<attribute name="maven.pomderived" value="true"/>
		</attributes>
	</classpathentry>
	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
		<attributes>
			<attribute name="maven.pomderived" value="true"/>
			<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
		</attributes>
	</classpathentry>
	<classpathentry kind="src" output="target/test-classes" path="src/test/java">
		<attributes>
			<attribute name="optional" value="true"/>
			<attribute name="maven.pomderived" value="true"/>
		</attributes>
	</classpathentry>
	<classpathentry kind="output" path="target/classes"/>
</classpath>


================================================
FILE: .project
================================================
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>Examination_System</name>
	<comment></comment>
	<projects>
	</projects>
	<buildSpec>
		<buildCommand>
			<name>org.eclipse.jdt.core.javabuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.wst.common.project.facet.core.builder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.wst.validation.validationbuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.m2e.core.maven2Builder</name>
			<arguments>
			</arguments>
		</buildCommand>
	</buildSpec>
	<natures>
		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
		<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
		<nature>org.eclipse.jdt.core.javanature</nature>
		<nature>org.eclipse.m2e.core.maven2Nature</nature>
		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
		<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
	</natures>
</projectDescription>


================================================
FILE: .settings/.jsdtscope
================================================
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
	<classpathentry excluding="**/bower_components/*|**/node_modules/*|**/*.min.js" kind="src" path="src/main/webapp"/>
	<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
	<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
		<attributes>
			<attribute name="hide" value="true"/>
		</attributes>
	</classpathentry>
	<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
	<classpathentry kind="output" path=""/>
</classpath>


================================================
FILE: .settings/org.eclipse.jdt.core.prefs
================================================
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.8


================================================
FILE: .settings/org.eclipse.m2e.core.prefs
================================================
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1


================================================
FILE: .settings/org.eclipse.wst.common.component
================================================
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
    <wb-module deploy-name="Examination_System">
        <wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
        <wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
        <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
        <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
        <property name="context-root" value="Examination_System"/>
        <property name="java-output-path" value="/Examination_System/target/classes"/>
    </wb-module>
</project-modules>


================================================
FILE: .settings/org.eclipse.wst.common.project.facet.core.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
  <fixed facet="wst.jsdt.web"/>
  <installed facet="java" version="1.8"/>
  <installed facet="jst.web" version="3.1"/>
  <installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>


================================================
FILE: .settings/org.eclipse.wst.jsdt.ui.superType.container
================================================
org.eclipse.wst.jsdt.launching.baseBrowserLibrary

================================================
FILE: .settings/org.eclipse.wst.jsdt.ui.superType.name
================================================
Window

================================================
FILE: .settings/org.eclipse.wst.validation.prefs
================================================
disabled=06target
eclipse.preferences.version=1


================================================
FILE: README.md
================================================
# examination_system 教务管理系统
这是个基于SSM+Bootstrap的教务查询系统,是一个教务查询系统.
做了关于数据库的增删改查练习。
用来熟悉SSM的整合开发。

## 使用技术 
IOC容器:Spring Web框架:SpringMVC 
ORM框架:Mybatis 
数据源:C3P0 
日志:log4j 
前端框架:Bootstrap 
运行环境 jdk8+tomcat8+mysql+Eclipse+maven
项目技术: spring+spring mvc+mybatis+bootstrap+jquery
前人栽树后人乘凉,最开始系统是IDEA开发,目前该版本修改为了eclipse版本,增加和删除了某些功能。
欢迎下载。

## 具体页面:
登录页:
![Alt text](https://github.com/IsZouTao/examination_system-/raw/master/images/1.png)

管理员页:管理员账户:admin+123
![替代文字] (https://github.com/IsZouTao/examination_system-/raw/master/images/2.png)

学生页:学生登录:10001 + 123
![Alt text](https://github.com/IsZouTao/examination_system-/raw/master/images/3.png)

老师页:教师登录:1001+123
![Alt text](https://github.com/IsZouTao/examination_system-/raw/master/images/4.png)

一些功能:
![Alt text](https://github.com/IsZouTao/examination_system-/raw/master/images/5.png)





================================================
FILE: pom.xml
================================================
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.jacey</groupId>
	<artifactId>Examination_System</artifactId>
	<packaging>war</packaging>
	<version>1.0-SNAPSHOT</version>
	<name>Examination_System Maven Webapp</name>
	<url>http://maven.apache.org</url>
	<dependencies>

		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.12</version>
			<scope>test</scope>
		</dependency>

		<!--servletAPI -->
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>javax.servlet-api</artifactId>
			<version>3.1.0</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>jsp-api</artifactId>
			<version>2.0</version>
			<scope>provided</scope>
		</dependency>

		<!--shiro依赖 -->
		<dependency>
			<groupId>org.apache.shiro</groupId>
			<artifactId>shiro-core</artifactId>
			<version>1.2.3</version>
		</dependency>
		<dependency>
			<groupId>org.apache.shiro</groupId>
			<artifactId>shiro-web</artifactId>
			<version>1.2.3</version>
		</dependency>
		<dependency>
			<groupId>org.apache.shiro</groupId>
			<artifactId>shiro-spring</artifactId>
			<version>1.2.3</version>
		</dependency>

		<!--spring -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-context</artifactId>
			<version>4.3.8.RELEASE</version>
		</dependency>

		<!--springWEB -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-web</artifactId>
			<version>4.3.8.RELEASE</version>
		</dependency>

		<!--springMVC -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-webmvc</artifactId>
			<version>4.3.7.RELEASE</version>
		</dependency>

		<!--spring tx 事务处理 -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-tx</artifactId>
			<version>4.3.8.RELEASE</version>
		</dependency>

		<!--spring aop -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-aop</artifactId>
			<version>4.3.9.RELEASE</version>
		</dependency>

		<dependency>
			<groupId>org.aspectj</groupId>
			<artifactId>aspectjweaver</artifactId>
			<version>1.8.10</version>
		</dependency>

		<!--spring-jdbc -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-jdbc</artifactId>
			<version>4.2.5.RELEASE</version>
		</dependency>

		<!--jstl -->
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>jstl</artifactId>
			<version>1.2</version>
		</dependency>

		<!--log4j -->
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.17</version>
		</dependency>

		<!--mybatis -->
		<dependency>
			<groupId>org.mybatis</groupId>
			<artifactId>mybatis</artifactId>
			<version>3.4.1</version>
		</dependency>

		<!--mybatis逆向工程 -->
		<dependency>
			<groupId>org.mybatis.generator</groupId>
			<artifactId>mybatis-generator-core</artifactId>
			<version>1.3.5</version>
		</dependency>

		<!--mybatis spring整合包 -->
		<dependency>
			<groupId>org.mybatis</groupId>
			<artifactId>mybatis-spring</artifactId>
			<version>1.3.0</version>
		</dependency>

		<!--hibernate 数据校验器包 -->
		<dependency>
			<groupId>org.hibernate</groupId>
			<artifactId>hibernate-validator</artifactId>
			<version>5.4.1.Final</version>
		</dependency>

		<!--c3p0链接池 -->
		<dependency>
			<groupId>com.mchange</groupId>
			<artifactId>c3p0</artifactId>
			<version>0.9.5.2</version>
		</dependency>

		<!--Mysql数据库驱动 -->
		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
			<version>5.1.41</version>
		</dependency>
		<dependency>
			<groupId>org.jetbrains</groupId>
			<artifactId>annotations-java5</artifactId>
			<version>RELEASE</version>
		</dependency>

	</dependencies>


	<build>
		<finalName>Examination_System</finalName>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.1</version>
				<configuration>
					<source>1.8</source>
					<target>1.8</target>
				</configuration>
			</plugin>
		</plugins>
	</build>



</project>


================================================
FILE: sql/examination_system.sql
================================================
/*
Navicat MySQL Data Transfer

Source Server         : MySQL
Source Server Version : 50716
Source Host           : localhost:3306
Source Database       : examination_system

Target Server Type    : MYSQL
Target Server Version : 50716
File Encoding         : 65001

Date: 2017-07-08 00:03:38
*/

SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------
-- Table structure for college
-- ----------------------------
DROP TABLE IF EXISTS `college`;
CREATE TABLE `college` (
  `collegeID` int(11) NOT NULL,
  `collegeName` varchar(200) NOT NULL COMMENT '课程名',
  PRIMARY KEY (`collegeID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of college
-- ----------------------------
INSERT INTO `college` VALUES ('1', '计算机系');
INSERT INTO `college` VALUES ('2', '设计系');
INSERT INTO `college` VALUES ('3', '财经系');

-- ----------------------------
-- Table structure for course
-- ----------------------------
DROP TABLE IF EXISTS `course`;
CREATE TABLE `course` (
  `courseID` int(11) NOT NULL,
  `courseName` varchar(200) NOT NULL COMMENT '课程名称',
  `teacherID` int(11) NOT NULL,
  `courseTime` varchar(200) DEFAULT NULL COMMENT '开课时间',
  `classRoom` varchar(200) DEFAULT NULL COMMENT '开课地点',
  `courseWeek` int(200) DEFAULT NULL COMMENT '学时',
  `courseType` varchar(20) DEFAULT NULL COMMENT '课程类型',
  `collegeID` int(11) NOT NULL COMMENT '所属院系',
  `score` int(11) NOT NULL COMMENT '学分',
  PRIMARY KEY (`courseID`),
  KEY `collegeID` (`collegeID`),
  KEY `teacherID` (`teacherID`),
  CONSTRAINT `course_ibfk_1` FOREIGN KEY (`collegeID`) REFERENCES `college` (`collegeID`),
  CONSTRAINT `course_ibfk_2` FOREIGN KEY (`teacherID`) REFERENCES `teacher` (`userID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of course
-- ----------------------------
INSERT INTO `course` VALUES ('1', 'C语言程序设计', '1001', '周二', '科401', '18', '必修课', '1', '3');
INSERT INTO `course` VALUES ('2', 'Python爬虫技巧', '1001', '周四', 'X402', '18', '必修课', '1', '3');
INSERT INTO `course` VALUES ('3', '数据结构', '1001', '周四', '科401', '18', '必修课', '1', '2');
INSERT INTO `course` VALUES ('4', 'Java程序设计', '1002', '周五', '科401', '18', '必修课', '1', '2');
INSERT INTO `course` VALUES ('5', '英语', '1002', '周四', 'X302', '18', '必修课', '2', '2');
INSERT INTO `course` VALUES ('6', '服装设计', '1003', '周一', '科401', '18', '选修课', '2', '2');

-- ----------------------------
-- Table structure for role
-- ----------------------------
DROP TABLE IF EXISTS `role`;
CREATE TABLE `role` (
  `roleID` int(11) NOT NULL,
  `roleName` varchar(20) NOT NULL,
  `permissions` varchar(255) DEFAULT NULL COMMENT '权限',
  PRIMARY KEY (`roleID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of role
-- ----------------------------
INSERT INTO `role` VALUES ('0', 'admin', null);
INSERT INTO `role` VALUES ('1', 'teacher', null);
INSERT INTO `role` VALUES ('2', 'student', null);

-- ----------------------------
-- Table structure for selectedcourse
-- ----------------------------
DROP TABLE IF EXISTS `selectedcourse`;
CREATE TABLE `selectedcourse` (
  `courseID` int(11) NOT NULL,
  `studentID` int(11) NOT NULL,
  `mark` int(11) DEFAULT NULL COMMENT '成绩',
  KEY `courseID` (`courseID`),
  KEY `studentID` (`studentID`),
  CONSTRAINT `selectedcourse_ibfk_1` FOREIGN KEY (`courseID`) REFERENCES `course` (`courseID`),
  CONSTRAINT `selectedcourse_ibfk_2` FOREIGN KEY (`studentID`) REFERENCES `student` (`userID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of selectedcourse
-- ----------------------------
INSERT INTO `selectedcourse` VALUES ('2', '10001', '12');
INSERT INTO `selectedcourse` VALUES ('1', '10001', '95');
INSERT INTO `selectedcourse` VALUES ('1', '10002', '66');
INSERT INTO `selectedcourse` VALUES ('1', '10003', null);
INSERT INTO `selectedcourse` VALUES ('2', '10003', '99');
INSERT INTO `selectedcourse` VALUES ('5', '10001', null);
INSERT INTO `selectedcourse` VALUES ('3', '10001', null);

-- ----------------------------
-- Table structure for student
-- ----------------------------
DROP TABLE IF EXISTS `student`;
CREATE TABLE `student` (
  `userID` int(11) NOT NULL AUTO_INCREMENT,
  `userName` varchar(200) NOT NULL,
  `sex` varchar(20) DEFAULT NULL,
  `birthYear` date DEFAULT NULL COMMENT '出生日期',
  `grade` date DEFAULT NULL COMMENT '入学时间',
  `collegeID` int(11) NOT NULL COMMENT '院系id',
  PRIMARY KEY (`userID`),
  KEY `collegeID` (`collegeID`),
  CONSTRAINT `student_ibfk_1` FOREIGN KEY (`collegeID`) REFERENCES `college` (`collegeID`)
) ENGINE=InnoDB AUTO_INCREMENT=10007 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of student
-- ----------------------------
INSERT INTO `student` VALUES ('10001', '小黄', '男', '1996-09-02', '2015-09-02', '1');
INSERT INTO `student` VALUES ('10002', '小米', '女', '1995-09-14', '2015-09-02', '3');
INSERT INTO `student` VALUES ('10003', '小陈', '女', '1996-09-02', '2015-09-02', '2');
INSERT INTO `student` VALUES ('10004', '小华', '男', '1996-09-02', '2015-09-02', '2');
INSERT INTO `student` VALUES ('10005', '小左', '女', '1996-09-02', '2015-09-02', '2');
INSERT INTO `student` VALUES ('10006', '小拉', '女', '1996-09-02', '2015-09-02', '1');

-- ----------------------------
-- Table structure for teacher
-- ----------------------------
DROP TABLE IF EXISTS `teacher`;
CREATE TABLE `teacher` (
  `userID` int(11) NOT NULL AUTO_INCREMENT,
  `userName` varchar(200) NOT NULL,
  `sex` varchar(20) DEFAULT NULL,
  `birthYear` date NOT NULL,
  `degree` varchar(20) DEFAULT NULL COMMENT '学历',
  `title` varchar(255) DEFAULT NULL COMMENT '职称',
  `grade` date DEFAULT NULL COMMENT '入职时间',
  `collegeID` int(11) NOT NULL COMMENT '院系',
  PRIMARY KEY (`userID`),
  KEY `collegeID` (`collegeID`),
  CONSTRAINT `teacher_ibfk_1` FOREIGN KEY (`collegeID`) REFERENCES `college` (`collegeID`)
) ENGINE=InnoDB AUTO_INCREMENT=1004 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of teacher
-- ----------------------------
INSERT INTO `teacher` VALUES ('1001', '刘老师', '女', '1990-03-08', '硕士', '副教授', '2015-09-02', '2');
INSERT INTO `teacher` VALUES ('1002', '张老师', '男', '1996-09-02', '本科', '普通教师', '2015-09-02', '1');
INSERT INTO `teacher` VALUES ('1003', '软老师', '男', '1996-09-02', '硕士', '助教', '2017-07-07', '1');

-- ----------------------------
-- Table structure for userlogin
-- ----------------------------
DROP TABLE IF EXISTS `userlogin`;
CREATE TABLE `userlogin` (
  `userID` int(11) NOT NULL AUTO_INCREMENT,
  `userName` varchar(200) NOT NULL,
  `password` varchar(200) NOT NULL,
  `role` int(11) NOT NULL DEFAULT '2' COMMENT '角色权限',
  PRIMARY KEY (`userID`),
  KEY `role` (`role`),
  CONSTRAINT `userlogin_ibfk_1` FOREIGN KEY (`role`) REFERENCES `role` (`roleID`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of userlogin
-- ----------------------------
INSERT INTO `userlogin` VALUES ('1', 'admin', '123', '0');
INSERT INTO `userlogin` VALUES ('8', '10001', '123', '2');
INSERT INTO `userlogin` VALUES ('9', '10002', '123', '2');
INSERT INTO `userlogin` VALUES ('10', '10003', '123', '2');
INSERT INTO `userlogin` VALUES ('11', '10005', '123', '2');
INSERT INTO `userlogin` VALUES ('12', '10004', '123', '2');
INSERT INTO `userlogin` VALUES ('13', '10006', '123', '2');
INSERT INTO `userlogin` VALUES ('14', '1001', '123', '1');
INSERT INTO `userlogin` VALUES ('15', '1002', '123', '1');
INSERT INTO `userlogin` VALUES ('16', '1003', '123', '1');
SET FOREIGN_KEY_CHECKS=1;


================================================
FILE: src/main/java/com/system/controller/AdminController.java
================================================
package com.system.controller;

import com.system.exception.CustomException;
import com.system.po.*;
import com.system.service.*;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.annotation.Resource;
import java.util.List;


/**
 * Created by Jacey on 2017/6/30.
 */
@Controller
@RequestMapping("/admin")
public class AdminController {

    @Resource(name = "studentServiceImpl")
    private StudentService studentService;

    @Resource(name = "teacherServiceImpl")
    private TeacherService teacherService;

    @Resource(name = "courseServiceImpl")
    private CourseService courseService;

    @Resource(name = "collegeServiceImpl")
    private CollegeService collegeService;

    @Resource(name = "userloginServiceImpl")
    private UserloginService userloginService;

    /*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<学生操作>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

    //  学生信息显示
    @RequestMapping("/showStudent")
    public String showStudent(Model model, Integer page) throws Exception {

        List<StudentCustom> list = null;
        //页码对象
        PagingVO pagingVO = new PagingVO();
        //设置总页数
        pagingVO.setTotalCount(studentService.getCountStudent());
        if (page == null || page == 0) {
            pagingVO.setToPageNo(1);
            list = studentService.findByPaging(1);
        } else {
            pagingVO.setToPageNo(page);
            list = studentService.findByPaging(page);
        }

        model.addAttribute("studentList", list);
        model.addAttribute("pagingVO", pagingVO);

        return "admin/showStudent";

    }

    //  添加学生信息页面显示
    @RequestMapping(value = "/addStudent", method = {RequestMethod.GET})
    public String addStudentUI(Model model) throws Exception {

        List<College> list = collegeService.finAll();

        model.addAttribute("collegeList", list);

        return "admin/addStudent";
    }

     // 添加学生信息操作
    @RequestMapping(value = "/addStudent", method = {RequestMethod.POST})
    public String addStudent(StudentCustom studentCustom, Model model) throws Exception {

        Boolean result = studentService.save(studentCustom);

        if (!result) {
            model.addAttribute("message", "学号重复");
            return "error";
        }
        //添加成功后,也添加到登录表
        Userlogin userlogin = new Userlogin();
        userlogin.setUsername(studentCustom.getUserid().toString());
        userlogin.setPassword("123");
        userlogin.setRole(2);
        userloginService.save(userlogin);

        //重定向
        return "redirect:/admin/showStudent";
    }

    // 修改学生信息页面显示
    @RequestMapping(value = "/editStudent", method = {RequestMethod.GET})
    public String editStudentUI(Integer id, Model model) throws Exception {
        if (id == null) {
            //加入没有带学生id就进来的话就返回学生显示页面
            return "redirect:/admin/showStudent";
        }
        StudentCustom studentCustom = studentService.findById(id);
        if (studentCustom == null) {
            throw new CustomException("未找到该名学生");
        }
        List<College> list = collegeService.finAll();

        model.addAttribute("collegeList", list);
        model.addAttribute("student", studentCustom);


        return "admin/editStudent";
    }

    // 修改学生信息处理
    @RequestMapping(value = "/editStudent", method = {RequestMethod.POST})
    public String editStudent(StudentCustom studentCustom) throws Exception {

        studentService.updataById(studentCustom.getUserid(), studentCustom);

        //重定向
        return "redirect:/admin/showStudent";
    }

    // 删除学生
    @RequestMapping(value = "/removeStudent", method = {RequestMethod.GET} )
    private String removeStudent(Integer id) throws Exception {
        if (id == null) {
            //加入没有带学生id就进来的话就返回学生显示页面
            return "admin/showStudent";
        }
        studentService.removeById(id);
        userloginService.removeByName(id.toString());

        return "redirect:/admin/showStudent";
    }

    // 搜索学生
    @RequestMapping(value = "selectStudent", method = {RequestMethod.POST})
    private String selectStudent(String findByName, Model model) throws Exception {

        List<StudentCustom> list = studentService.findByName(findByName);

        model.addAttribute("studentList", list);
        return "admin/showStudent";
    }

    /*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<教师操作>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

    // 教师页面显示
    @RequestMapping("/showTeacher")
    public String showTeacher(Model model, Integer page) throws Exception {

        List<TeacherCustom> list = null;
        //页码对象
        PagingVO pagingVO = new PagingVO();
        //设置总页数
        pagingVO.setTotalCount(teacherService.getCountTeacher());
        if (page == null || page == 0) {
            pagingVO.setToPageNo(1);
            list = teacherService.findByPaging(1);
        } else {
            pagingVO.setToPageNo(page);
            list = teacherService.findByPaging(page);
        }

        model.addAttribute("teacherList", list);
        model.addAttribute("pagingVO", pagingVO);

        return "admin/showTeacher";

    }

    // 添加教师信息
    @RequestMapping(value = "/addTeacher", method = {RequestMethod.GET})
    public String addTeacherUI(Model model) throws Exception {

        List<College> list = collegeService.finAll();

        model.addAttribute("collegeList", list);

        return "admin/addTeacher";
    }

    // 添加教师信息处理
    @RequestMapping(value = "/addTeacher", method = {RequestMethod.POST})
    public String addTeacher(TeacherCustom teacherCustom, Model model) throws Exception {

        Boolean result = teacherService.save(teacherCustom);

        if (!result) {
            model.addAttribute("message", "工号重复");
            return "error";
        }
        //添加成功后,也添加到登录表
        Userlogin userlogin = new Userlogin();
        userlogin.setUsername(teacherCustom.getUserid().toString());
        userlogin.setPassword("123");
        userlogin.setRole(1);
        userloginService.save(userlogin);

        //重定向
        return "redirect:/admin/showTeacher";
    }

    // 修改教师信息页面显示
    @RequestMapping(value = "/editTeacher", method = {RequestMethod.GET})
    public String editTeacherUI(Integer id, Model model) throws Exception {
        if (id == null) {
            return "redirect:/admin/showTeacher";
        }
        TeacherCustom teacherCustom = teacherService.findById(id);
        if (teacherCustom == null) {
            throw new CustomException("未找到该名学生");
        }
        List<College> list = collegeService.finAll();

        model.addAttribute("collegeList", list);
        model.addAttribute("teacher", teacherCustom);


        return "admin/editTeacher";
    }

    // 修改教师信息页面处理
    @RequestMapping(value = "/editTeacher", method = {RequestMethod.POST})
    public String editTeacher(TeacherCustom teacherCustom) throws Exception {

        teacherService.updateById(teacherCustom.getUserid(), teacherCustom);

        //重定向
        return "redirect:/admin/showTeacher";
    }

    //删除教师
    @RequestMapping("/removeTeacher")
    public String removeTeacher(Integer id) throws Exception {
        if (id == null) {
            //加入没有带教师id就进来的话就返回教师显示页面
            return "admin/showTeacher";
        }
        teacherService.removeById(id);
        userloginService.removeByName(id.toString());

        return "redirect:/admin/showTeacher";
    }

    //搜索教师
    @RequestMapping(value = "selectTeacher", method = {RequestMethod.POST})
    private String selectTeacher(String findByName, Model model) throws Exception {

        List<TeacherCustom> list = teacherService.findByName(findByName);

        model.addAttribute("teacherList", list);
        return "admin/showTeacher";
    }

    /*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<课程操作>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

    // 课程信息显示
    @RequestMapping("/showCourse")
    public String showCourse(Model model, Integer page) throws Exception {

        List<CourseCustom> list = null;
        //页码对象
        PagingVO pagingVO = new PagingVO();
        //设置总页数
        pagingVO.setTotalCount(courseService.getCountCouse());
        if (page == null || page == 0) {
            pagingVO.setToPageNo(1);
            list = courseService.findByPaging(1);
        } else {
            pagingVO.setToPageNo(page);
            list = courseService.findByPaging(page);
        }

        model.addAttribute("courseList", list);
        model.addAttribute("pagingVO", pagingVO);

        return "admin/showCourse";

    }

    //添加课程
    @RequestMapping(value = "/addCourse", method = {RequestMethod.GET})
    public String addCourseUI(Model model) throws Exception {

        List<TeacherCustom> list = teacherService.findAll();
        List<College> collegeList = collegeService.finAll();

        model.addAttribute("collegeList", collegeList);
        model.addAttribute("teacherList", list);

        return "admin/addCourse";
    }

    // 添加课程信息处理
    @RequestMapping(value = "/addCourse", method = {RequestMethod.POST})
    public String addCourse(CourseCustom courseCustom, Model model) throws Exception {

        Boolean result = courseService.save(courseCustom);

        if (!result) {
            model.addAttribute("message", "课程号重复");
            return "error";
        }


        //重定向
        return "redirect:/admin/showCourse";
    }

    // 修改教师信息页面显示
    @RequestMapping(value = "/editCourse", method = {RequestMethod.GET})
    public String editCourseUI(Integer id, Model model) throws Exception {
        if (id == null) {
            return "redirect:/admin/showCourse";
        }
        CourseCustom courseCustom = courseService.findById(id);
        if (courseCustom == null) {
            throw new CustomException("未找到该课程");
        }
        List<TeacherCustom> list = teacherService.findAll();
        List<College> collegeList = collegeService.finAll();

        model.addAttribute("teacherList", list);
        model.addAttribute("collegeList", collegeList);
        model.addAttribute("course", courseCustom);


        return "admin/editCourse";
    }

    // 修改教师信息页面处理
    @RequestMapping(value = "/editCourse", method = {RequestMethod.POST})
    public String editCourse(CourseCustom courseCustom) throws Exception {

        courseService.upadteById(courseCustom.getCourseid(), courseCustom);

        //重定向
        return "redirect:/admin/showCourse";
    }

    // 删除课程信息
    @RequestMapping("/removeCourse")
    public String removeCourse(Integer id) throws Exception {
        if (id == null) {
            //加入没有带教师id就进来的话就返回教师显示页面
            return "admin/showCourse";
        }
        courseService.removeById(id);

        return "redirect:/admin/showCourse";
    }

    //搜索课程
    @RequestMapping(value = "selectCourse", method = {RequestMethod.POST})
    private String selectCourse(String findByName, Model model) throws Exception {

        List<CourseCustom> list = courseService.findByName(findByName);

        model.addAttribute("courseList", list);
        return "admin/showCourse";
    }

    /*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<其他操作>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

    // 普通用户账号密码重置
    @RequestMapping("/userPasswordRest")
    public String userPasswordRestUI() throws Exception {
        return "admin/userPasswordRest";
    }

    // 普通用户账号密码重置处理
    @RequestMapping(value = "/userPasswordRest", method = {RequestMethod.POST})
    public String userPasswordRest(Userlogin userlogin) throws Exception {

        Userlogin u = userloginService.findByName(userlogin.getUsername());

        if (u != null) {
            if (u.getRole() == 0) {
                throw new CustomException("该账户为管理员账户,没法修改");
            }
            u.setPassword(userlogin.getPassword());
            userloginService.updateByName(userlogin.getUsername(), u);
        } else {
            throw new CustomException("没找到该用户");
        }

        return "admin/userPasswordRest";
    }

    // 本账户密码重置
    @RequestMapping("/passwordRest")
    public String passwordRestUI() throws Exception {
        return "admin/passwordRest";
    }


}


================================================
FILE: src/main/java/com/system/controller/LoginController.java
================================================
package com.system.controller;

import com.system.po.Userlogin;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.subject.Subject;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by Jacey on 2017/6/30.
 */
@Controller
public class LoginController {

    //登录跳转
    @RequestMapping(value = "/login", method = {RequestMethod.GET})
    public String loginUI() throws Exception {
        return "../../login";
    }

    //登录表单处理
    @RequestMapping(value = "/login", method = {RequestMethod.POST})
    public String login(Userlogin userlogin) throws Exception {

        //Shiro实现登录
        UsernamePasswordToken token = new UsernamePasswordToken(userlogin.getUsername(),
                userlogin.getPassword());
        Subject subject = SecurityUtils.getSubject();

        //如果获取不到用户名就是登录失败,但登录失败的话,会直接抛出异常
        subject.login(token);

        if (subject.hasRole("admin")) {
            return "redirect:/admin/showStudent";
        } else if (subject.hasRole("teacher")) {
            return "redirect:/teacher/showCourse";
        } else if (subject.hasRole("student")) {
            return "redirect:/student/showCourse";
        }

        return "/login";
    }

}


================================================
FILE: src/main/java/com/system/controller/RestPasswordController.java
================================================
package com.system.controller;

import com.system.exception.CustomException;
import com.system.po.Userlogin;
import com.system.service.UserloginService;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.annotation.Resource;

/**
 * Created by Jacey on 2017/7/6.
 */
@Controller
public class RestPasswordController {

    @Resource(name = "userloginServiceImpl")
    private UserloginService userloginService;

    // 本账户密码重置
    @RequestMapping(value = "/passwordRest", method = {RequestMethod.POST})
    public String passwordRest(String oldPassword, String password1) throws Exception {
        Subject subject = SecurityUtils.getSubject();
        String username = (String) subject.getPrincipal();

        Userlogin userlogin = userloginService.findByName(username);

        if (!oldPassword.equals(userlogin.getPassword())) {
            throw new CustomException("旧密码不正确");
        } else {
            userlogin.setPassword(password1);
            userloginService.updateByName(username, userlogin);
        }

        return "redirect:/logout";
    }

}


================================================
FILE: src/main/java/com/system/controller/StudentController.java
================================================
package com.system.controller;

import com.system.exception.CustomException;
import com.system.po.*;
import com.system.service.CourseService;
import com.system.service.SelectedCourseService;
import com.system.service.StudentService;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by Jacey on 2017/7/5.
 */
@Controller
@RequestMapping(value = "/student")
public class StudentController {

    @Resource(name = "courseServiceImpl")
    private CourseService courseService;

    @Resource(name = "studentServiceImpl")
    private StudentService studentService;

    @Resource(name = "selectedCourseServiceImpl")
    private SelectedCourseService selectedCourseService;

    @RequestMapping(value = "/showCourse")
    public String stuCourseShow(Model model, Integer page) throws Exception {

        List<CourseCustom> list = null;
        //页码对象
        PagingVO pagingVO = new PagingVO();
        //设置总页数
        pagingVO.setTotalCount(courseService.getCountCouse());
        if (page == null || page == 0) {
            pagingVO.setToPageNo(1);
            list = courseService.findByPaging(1);
        } else {
            pagingVO.setToPageNo(page);
            list = courseService.findByPaging(page);
        }

        model.addAttribute("courseList", list);
        model.addAttribute("pagingVO", pagingVO);

        return "student/showCourse";
    }

    // 选课操作
    @RequestMapping(value = "/stuSelectedCourse")
    public String stuSelectedCourse(int id) throws Exception {
        //获取当前用户名
        Subject subject = SecurityUtils.getSubject();
        String username = (String) subject.getPrincipal();

        SelectedCourseCustom selectedCourseCustom = new SelectedCourseCustom();
        selectedCourseCustom.setCourseid(id);
        selectedCourseCustom.setStudentid(Integer.parseInt(username));

        SelectedCourseCustom s = selectedCourseService.findOne(selectedCourseCustom);

        if (s == null) {
            selectedCourseService.save(selectedCourseCustom);
        } else {
            throw new CustomException("该门课程你已经选了,不能再选");
        }

        return "redirect:/student/selectedCourse";
    }

    // 退课操作
    @RequestMapping(value = "/outCourse")
    public String outCourse(int id) throws Exception {
        Subject subject = SecurityUtils.getSubject();
        String username = (String) subject.getPrincipal();

        SelectedCourseCustom selectedCourseCustom = new SelectedCourseCustom();
        selectedCourseCustom.setCourseid(id);
        selectedCourseCustom.setStudentid(Integer.parseInt(username));

        selectedCourseService.remove(selectedCourseCustom);

        return "redirect:/student/selectedCourse";
    }

    // 已选课程
    @RequestMapping(value = "/selectedCourse")
    public String selectedCourse(Model model) throws Exception {
        //获取当前用户名
        Subject subject = SecurityUtils.getSubject();
        StudentCustom studentCustom = studentService.findStudentAndSelectCourseListByName((String) subject.getPrincipal());

        List<SelectedCourseCustom> list = studentCustom.getSelectedCourseList();

        model.addAttribute("selectedCourseList", list);

        return "student/selectCourse";
    }

    // 已修课程
    @RequestMapping(value = "/overCourse")
    public String overCourse(Model model) throws Exception {

        //获取当前用户名
        Subject subject = SecurityUtils.getSubject();
        StudentCustom studentCustom = studentService.findStudentAndSelectCourseListByName((String) subject.getPrincipal());

        List<SelectedCourseCustom> list = studentCustom.getSelectedCourseList();

        model.addAttribute("selectedCourseList", list);

        return "student/overCourse";
    }

    //修改密码
    @RequestMapping(value = "/passwordRest")
    public String passwordRest() throws Exception {
        return "student/passwordRest";
    }



}


================================================
FILE: src/main/java/com/system/controller/TeacherController.java
================================================
package com.system.controller;

import com.system.exception.CustomException;
import com.system.po.*;
import com.system.service.CourseService;
import com.system.service.SelectedCourseService;
import com.system.service.StudentService;
import com.system.service.TeacherService;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by Jacey on 2017/7/6.
 */

@Controller
@RequestMapping(value = "/teacher")
public class TeacherController {

    @Resource(name = "teacherServiceImpl")
    private TeacherService teacherService;

    @Resource(name = "courseServiceImpl")
    private CourseService courseService;

    @Resource(name = "selectedCourseServiceImpl")
    private SelectedCourseService selectedCourseService;

    // 显示我的课程
    @RequestMapping(value = "/showCourse")
    public String stuCourseShow(Model model) throws Exception {

        Subject subject = SecurityUtils.getSubject();
        String username = (String) subject.getPrincipal();

        List<CourseCustom> list = courseService.findByTeacherID(Integer.parseInt(username));
        model.addAttribute("courseList", list);

        return "teacher/showCourse";
    }

    // 显示成绩
    @RequestMapping(value = "/gradeCourse")
    public String gradeCourse(Integer id, Model model) throws Exception {
        if (id == null) {
            return "";
        }
        List<SelectedCourseCustom> list = selectedCourseService.findByCourseID(id);
        model.addAttribute("selectedCourseList", list);
        return "teacher/showGrade";
    }

    // 打分
    @RequestMapping(value = "/mark", method = {RequestMethod.GET})
    public String markUI(SelectedCourseCustom scc, Model model) throws Exception {

        SelectedCourseCustom selectedCourseCustom = selectedCourseService.findOne(scc);

        model.addAttribute("selectedCourse", selectedCourseCustom);

        return "teacher/mark";
    }

    // 打分
    @RequestMapping(value = "/mark", method = {RequestMethod.POST})
    public String mark(SelectedCourseCustom scc) throws Exception {

        selectedCourseService.updataOne(scc);

        return "redirect:/teacher/gradeCourse?id="+scc.getCourseid();
    }

    //修改密码
    @RequestMapping(value = "/passwordRest")
    public String passwordRest() throws Exception {
        return "teacher/passwordRest";
    }

}


================================================
FILE: src/main/java/com/system/controller/converter/CustomDateConverter.java
================================================
package com.system.controller.converter;

import org.springframework.core.convert.converter.Converter;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 参数绑定 字符串日期转换器
 */
public class CustomDateConverter implements Converter<String, Date> {


    public Date convert(String s) {
        //实现 将日期串转成日期类型(格式是yyyy-MM-dd)
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");

        try {
            //转成直接返回
            return simpleDateFormat.parse(s);
        } catch (ParseException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }

        //如果参数绑定失败返回null
        return null;
    }
}


================================================
FILE: src/main/java/com/system/exception/CustomException.java
================================================
package com.system.exception;

/**
 *  系统自定义异常类,针对预期异常,需要在程序中抛出此类的异常
 */
public class CustomException extends Exception {

    //异常信息
    public String message;

    public CustomException(String message) {
        super(message);
        this.message=message;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}


================================================
FILE: src/main/java/com/system/exception/CustomExceptionResolver.java
================================================
package com.system.exception;

import org.apache.shiro.authc.IncorrectCredentialsException;
import org.apache.shiro.authc.UnknownAccountException;
import org.springframework.web.servlet.HandlerExceptionResolver;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *    全局异常处理器
 *    springmvc提供一个HandlerExceptionResolver接口
 *      只要实现该接口,并配置到spring 容器里,该类就能
 *      成为默认全局异常处理类
 *
 *   全局异常处理器只有一个,配置多个也没用。
 */
public class CustomExceptionResolver implements HandlerExceptionResolver {

    public ModelAndView resolveException(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, Exception e) {

        ModelAndView modelAndView = new ModelAndView();

        CustomException customException;
        if (e instanceof CustomException) {
            customException = (CustomException)e;
        } else if (e instanceof UnknownAccountException) {
            //用户名错误异常
            modelAndView.addObject("message", "没有该用户");
            modelAndView.setViewName("error");
            return modelAndView;
        } else if (e instanceof IncorrectCredentialsException) {
            //用户名错误异常
            modelAndView.addObject("message", "密码错误");
            modelAndView.setViewName("error");
            return modelAndView;
        } else {
            customException = new CustomException("未知错误");
        }

        //错误信息
        String message = customException.getMessage();



        //错误信息传递和错误页面跳转
        modelAndView.addObject("message", message);
        modelAndView.setViewName("error");


        return modelAndView;
    }
}


================================================
FILE: src/main/java/com/system/mapper/CollegeMapper.java
================================================
package com.system.mapper;

import com.system.po.College;
import com.system.po.CollegeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollegeMapper {
    int countByExample(CollegeExample example);

    int deleteByExample(CollegeExample example);

    int deleteByPrimaryKey(Integer collegeid);

    int insert(College record);

    int insertSelective(College record);

    List<College> selectByExample(CollegeExample example);

    College selectByPrimaryKey(Integer collegeid);

    int updateByExampleSelective(@Param("record") College record, @Param("example") CollegeExample example);

    int updateByExample(@Param("record") College record, @Param("example") CollegeExample example);

    int updateByPrimaryKeySelective(College record);

    int updateByPrimaryKey(College record);
}

================================================
FILE: src/main/java/com/system/mapper/CollegeMapper.xml
================================================
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.system.mapper.CollegeMapper" >
  <resultMap id="BaseResultMap" type="com.system.po.College" >
    <id column="collegeID" property="collegeid" jdbcType="INTEGER" />
    <result column="collegeName" property="collegename" jdbcType="VARCHAR" />
  </resultMap>
  <sql id="Example_Where_Clause" >
    <where >
      <foreach collection="oredCriteria" item="criteria" separator="or" >
        <if test="criteria.valid" >
          <trim prefix="(" suffix=")" prefixOverrides="and" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.noValue" >
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue" >
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue" >
                  and ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Update_By_Example_Where_Clause" >
    <where >
      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
        <if test="criteria.valid" >
          <trim prefix="(" suffix=")" prefixOverrides="and" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.noValue" >
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue" >
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue" >
                  and ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Base_Column_List" >
    collegeID, collegeName
  </sql>
  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.system.po.CollegeExample" >
    select
    <if test="distinct" >
      distinct
    </if>
    <include refid="Base_Column_List" />
    from college
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null" >
      order by ${orderByClause}
    </if>
  </select>
  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
    select 
    <include refid="Base_Column_List" />
    from college
    where collegeID = #{collegeid,jdbcType=INTEGER}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
    delete from college
    where collegeID = #{collegeid,jdbcType=INTEGER}
  </delete>
  <delete id="deleteByExample" parameterType="com.system.po.CollegeExample" >
    delete from college
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.system.po.College" >
    insert into college (collegeID, collegeName)
    values (#{collegeid,jdbcType=INTEGER}, #{collegename,jdbcType=VARCHAR})
  </insert>
  <insert id="insertSelective" parameterType="com.system.po.College" >
    insert into college
    <trim prefix="(" suffix=")" suffixOverrides="," >
      <if test="collegeid != null" >
        collegeID,
      </if>
      <if test="collegename != null" >
        collegeName,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides="," >
      <if test="collegeid != null" >
        #{collegeid,jdbcType=INTEGER},
      </if>
      <if test="collegename != null" >
        #{collegename,jdbcType=VARCHAR},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.system.po.CollegeExample" resultType="java.lang.Integer" >
    select count(*) from college
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map" >
    update college
    <set >
      <if test="record.collegeid != null" >
        collegeID = #{record.collegeid,jdbcType=INTEGER},
      </if>
      <if test="record.collegename != null" >
        collegeName = #{record.collegename,jdbcType=VARCHAR},
      </if>
    </set>
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map" >
    update college
    set collegeID = #{record.collegeid,jdbcType=INTEGER},
      collegeName = #{record.collegename,jdbcType=VARCHAR}
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="com.system.po.College" >
    update college
    <set >
      <if test="collegename != null" >
        collegeName = #{collegename,jdbcType=VARCHAR},
      </if>
    </set>
    where collegeID = #{collegeid,jdbcType=INTEGER}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.system.po.College" >
    update college
    set collegeName = #{collegename,jdbcType=VARCHAR}
    where collegeID = #{collegeid,jdbcType=INTEGER}
  </update>
</mapper>

================================================
FILE: src/main/java/com/system/mapper/CourseMapper.java
================================================
package com.system.mapper;

import com.system.po.Course;
import com.system.po.CourseExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseMapper {
    int countByExample(CourseExample example);

    int deleteByExample(CourseExample example);

    int deleteByPrimaryKey(Integer courseid);

    int insert(Course record);

    int insertSelective(Course record);

    List<Course> selectByExample(CourseExample example);

    Course selectByPrimaryKey(Integer courseid);

    int updateByExampleSelective(@Param("record") Course record, @Param("example") CourseExample example);

    int updateByExample(@Param("record") Course record, @Param("example") CourseExample example);

    int updateByPrimaryKeySelective(Course record);

    int updateByPrimaryKey(Course record);
}

================================================
FILE: src/main/java/com/system/mapper/CourseMapper.xml
================================================
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.system.mapper.CourseMapper" >
  <resultMap id="BaseResultMap" type="com.system.po.Course" >
    <id column="courseID" property="courseid" jdbcType="INTEGER" />
    <result column="courseName" property="coursename" jdbcType="VARCHAR" />
    <result column="teacherID" property="teacherid" jdbcType="INTEGER" />
    <result column="courseTime" property="coursetime" jdbcType="VARCHAR" />
    <result column="classRoom" property="classroom" jdbcType="VARCHAR" />
    <result column="courseWeek" property="courseweek" jdbcType="INTEGER" />
    <result column="courseType" property="coursetype" jdbcType="VARCHAR" />
    <result column="collegeID" property="collegeid" jdbcType="INTEGER" />
    <result column="score" property="score" jdbcType="INTEGER" />
  </resultMap>
  <sql id="Example_Where_Clause" >
    <where >
      <foreach collection="oredCriteria" item="criteria" separator="or" >
        <if test="criteria.valid" >
          <trim prefix="(" suffix=")" prefixOverrides="and" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.noValue" >
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue" >
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue" >
                  and ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Update_By_Example_Where_Clause" >
    <where >
      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
        <if test="criteria.valid" >
          <trim prefix="(" suffix=")" prefixOverrides="and" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.noValue" >
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue" >
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue" >
                  and ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Base_Column_List" >
    courseID, courseName, teacherID, courseTime, classRoom, courseWeek, courseType, collegeID, 
    score
  </sql>
  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.system.po.CourseExample" >
    select
    <if test="distinct" >
      distinct
    </if>
    <include refid="Base_Column_List" />
    from course
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null" >
      order by ${orderByClause}
    </if>
  </select>
  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
    select 
    <include refid="Base_Column_List" />
    from course
    where courseID = #{courseid,jdbcType=INTEGER}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
    delete from course
    where courseID = #{courseid,jdbcType=INTEGER}
  </delete>
  <delete id="deleteByExample" parameterType="com.system.po.CourseExample" >
    delete from course
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.system.po.Course" >
    insert into course (courseID, courseName, teacherID, 
      courseTime, classRoom, courseWeek, 
      courseType, collegeID, score
      )
    values (#{courseid,jdbcType=INTEGER}, #{coursename,jdbcType=VARCHAR}, #{teacherid,jdbcType=INTEGER}, 
      #{coursetime,jdbcType=VARCHAR}, #{classroom,jdbcType=VARCHAR}, #{courseweek,jdbcType=INTEGER}, 
      #{coursetype,jdbcType=VARCHAR}, #{collegeid,jdbcType=INTEGER}, #{score,jdbcType=INTEGER}
      )
  </insert>
  <insert id="insertSelective" parameterType="com.system.po.Course" >
    insert into course
    <trim prefix="(" suffix=")" suffixOverrides="," >
      <if test="courseid != null" >
        courseID,
      </if>
      <if test="coursename != null" >
        courseName,
      </if>
      <if test="teacherid != null" >
        teacherID,
      </if>
      <if test="coursetime != null" >
        courseTime,
      </if>
      <if test="classroom != null" >
        classRoom,
      </if>
      <if test="courseweek != null" >
        courseWeek,
      </if>
      <if test="coursetype != null" >
        courseType,
      </if>
      <if test="collegeid != null" >
        collegeID,
      </if>
      <if test="score != null" >
        score,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides="," >
      <if test="courseid != null" >
        #{courseid,jdbcType=INTEGER},
      </if>
      <if test="coursename != null" >
        #{coursename,jdbcType=VARCHAR},
      </if>
      <if test="teacherid != null" >
        #{teacherid,jdbcType=INTEGER},
      </if>
      <if test="coursetime != null" >
        #{coursetime,jdbcType=VARCHAR},
      </if>
      <if test="classroom != null" >
        #{classroom,jdbcType=VARCHAR},
      </if>
      <if test="courseweek != null" >
        #{courseweek,jdbcType=INTEGER},
      </if>
      <if test="coursetype != null" >
        #{coursetype,jdbcType=VARCHAR},
      </if>
      <if test="collegeid != null" >
        #{collegeid,jdbcType=INTEGER},
      </if>
      <if test="score != null" >
        #{score,jdbcType=INTEGER},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.system.po.CourseExample" resultType="java.lang.Integer" >
    select count(*) from course
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map" >
    update course
    <set >
      <if test="record.courseid != null" >
        courseID = #{record.courseid,jdbcType=INTEGER},
      </if>
      <if test="record.coursename != null" >
        courseName = #{record.coursename,jdbcType=VARCHAR},
      </if>
      <if test="record.teacherid != null" >
        teacherID = #{record.teacherid,jdbcType=INTEGER},
      </if>
      <if test="record.coursetime != null" >
        courseTime = #{record.coursetime,jdbcType=VARCHAR},
      </if>
      <if test="record.classroom != null" >
        classRoom = #{record.classroom,jdbcType=VARCHAR},
      </if>
      <if test="record.courseweek != null" >
        courseWeek = #{record.courseweek,jdbcType=INTEGER},
      </if>
      <if test="record.coursetype != null" >
        courseType = #{record.coursetype,jdbcType=VARCHAR},
      </if>
      <if test="record.collegeid != null" >
        collegeID = #{record.collegeid,jdbcType=INTEGER},
      </if>
      <if test="record.score != null" >
        score = #{record.score,jdbcType=INTEGER},
      </if>
    </set>
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map" >
    update course
    set courseID = #{record.courseid,jdbcType=INTEGER},
      courseName = #{record.coursename,jdbcType=VARCHAR},
      teacherID = #{record.teacherid,jdbcType=INTEGER},
      courseTime = #{record.coursetime,jdbcType=VARCHAR},
      classRoom = #{record.classroom,jdbcType=VARCHAR},
      courseWeek = #{record.courseweek,jdbcType=INTEGER},
      courseType = #{record.coursetype,jdbcType=VARCHAR},
      collegeID = #{record.collegeid,jdbcType=INTEGER},
      score = #{record.score,jdbcType=INTEGER}
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="com.system.po.Course" >
    update course
    <set >
      <if test="coursename != null" >
        courseName = #{coursename,jdbcType=VARCHAR},
      </if>
      <if test="teacherid != null" >
        teacherID = #{teacherid,jdbcType=INTEGER},
      </if>
      <if test="coursetime != null" >
        courseTime = #{coursetime,jdbcType=VARCHAR},
      </if>
      <if test="classroom != null" >
        classRoom = #{classroom,jdbcType=VARCHAR},
      </if>
      <if test="courseweek != null" >
        courseWeek = #{courseweek,jdbcType=INTEGER},
      </if>
      <if test="coursetype != null" >
        courseType = #{coursetype,jdbcType=VARCHAR},
      </if>
      <if test="collegeid != null" >
        collegeID = #{collegeid,jdbcType=INTEGER},
      </if>
      <if test="score != null" >
        score = #{score,jdbcType=INTEGER},
      </if>
    </set>
    where courseID = #{courseid,jdbcType=INTEGER}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.system.po.Course" >
    update course
    set courseName = #{coursename,jdbcType=VARCHAR},
      teacherID = #{teacherid,jdbcType=INTEGER},
      courseTime = #{coursetime,jdbcType=VARCHAR},
      classRoom = #{classroom,jdbcType=VARCHAR},
      courseWeek = #{courseweek,jdbcType=INTEGER},
      courseType = #{coursetype,jdbcType=VARCHAR},
      collegeID = #{collegeid,jdbcType=INTEGER},
      score = #{score,jdbcType=INTEGER}
    where courseID = #{courseid,jdbcType=INTEGER}
  </update>
</mapper>

================================================
FILE: src/main/java/com/system/mapper/CourseMapperCustom.java
================================================
package com.system.mapper;

import com.system.po.CourseCustom;
import com.system.po.PagingVO;

import java.util.List;

/**
 * Created by Jacey on 2017/6/29.
 */
public interface CourseMapperCustom {

    //分页查询学生信息
    List<CourseCustom> findByPaging(PagingVO pagingVO) throws Exception;

}


================================================
FILE: src/main/java/com/system/mapper/CourseMapperCustom.xml
================================================
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >

<mapper namespace="com.system.mapper.CourseMapperCustom">

    <select id="findByPaging" parameterType="PagingVO" resultType="CourseCustom">
        select course.*, college.collegeName
        from course, college
        WHERE course.collegeID = college.collegeID
        limit #{toPageNo}, #{pageSize}
    </select>

</mapper>

================================================
FILE: src/main/java/com/system/mapper/RoleMapper.java
================================================
package com.system.mapper;

import com.system.po.Role;
import com.system.po.RoleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper {
    int countByExample(RoleExample example);

    int deleteByExample(RoleExample example);

    int deleteByPrimaryKey(Integer roleid);

    int insert(Role record);

    int insertSelective(Role record);

    List<Role> selectByExample(RoleExample example);

    Role selectByPrimaryKey(Integer roleid);

    int updateByExampleSelective(@Param("record") Role record, @Param("example") RoleExample example);

    int updateByExample(@Param("record") Role record, @Param("example") RoleExample example);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);
}

================================================
FILE: src/main/java/com/system/mapper/RoleMapper.xml
================================================
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.system.mapper.RoleMapper" >
  <resultMap id="BaseResultMap" type="com.system.po.Role" >
    <id column="roleID" property="roleid" jdbcType="INTEGER" />
    <result column="roleName" property="rolename" jdbcType="VARCHAR" />
    <result column="permissions" property="permissions" jdbcType="VARCHAR" />
  </resultMap>
  <sql id="Example_Where_Clause" >
    <where >
      <foreach collection="oredCriteria" item="criteria" separator="or" >
        <if test="criteria.valid" >
          <trim prefix="(" suffix=")" prefixOverrides="and" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.noValue" >
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue" >
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue" >
                  and ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Update_By_Example_Where_Clause" >
    <where >
      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
        <if test="criteria.valid" >
          <trim prefix="(" suffix=")" prefixOverrides="and" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.noValue" >
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue" >
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue" >
                  and ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Base_Column_List" >
    roleID, roleName, permissions
  </sql>
  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.system.po.RoleExample" >
    select
    <if test="distinct" >
      distinct
    </if>
    <include refid="Base_Column_List" />
    from role
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null" >
      order by ${orderByClause}
    </if>
  </select>
  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
    select 
    <include refid="Base_Column_List" />
    from role
    where roleID = #{roleid,jdbcType=INTEGER}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
    delete from role
    where roleID = #{roleid,jdbcType=INTEGER}
  </delete>
  <delete id="deleteByExample" parameterType="com.system.po.RoleExample" >
    delete from role
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.system.po.Role" >
    insert into role (roleID, roleName, permissions
      )
    values (#{roleid,jdbcType=INTEGER}, #{rolename,jdbcType=VARCHAR}, #{permissions,jdbcType=VARCHAR}
      )
  </insert>
  <insert id="insertSelective" parameterType="com.system.po.Role" >
    insert into role
    <trim prefix="(" suffix=")" suffixOverrides="," >
      <if test="roleid != null" >
        roleID,
      </if>
      <if test="rolename != null" >
        roleName,
      </if>
      <if test="permissions != null" >
        permissions,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides="," >
      <if test="roleid != null" >
        #{roleid,jdbcType=INTEGER},
      </if>
      <if test="rolename != null" >
        #{rolename,jdbcType=VARCHAR},
      </if>
      <if test="permissions != null" >
        #{permissions,jdbcType=VARCHAR},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.system.po.RoleExample" resultType="java.lang.Integer" >
    select count(*) from role
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map" >
    update role
    <set >
      <if test="record.roleid != null" >
        roleID = #{record.roleid,jdbcType=INTEGER},
      </if>
      <if test="record.rolename != null" >
        roleName = #{record.rolename,jdbcType=VARCHAR},
      </if>
      <if test="record.permissions != null" >
        permissions = #{record.permissions,jdbcType=VARCHAR},
      </if>
    </set>
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map" >
    update role
    set roleID = #{record.roleid,jdbcType=INTEGER},
      roleName = #{record.rolename,jdbcType=VARCHAR},
      permissions = #{record.permissions,jdbcType=VARCHAR}
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="com.system.po.Role" >
    update role
    <set >
      <if test="rolename != null" >
        roleName = #{rolename,jdbcType=VARCHAR},
      </if>
      <if test="permissions != null" >
        permissions = #{permissions,jdbcType=VARCHAR},
      </if>
    </set>
    where roleID = #{roleid,jdbcType=INTEGER}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.system.po.Role" >
    update role
    set roleName = #{rolename,jdbcType=VARCHAR},
      permissions = #{permissions,jdbcType=VARCHAR}
    where roleID = #{roleid,jdbcType=INTEGER}
  </update>
</mapper>

================================================
FILE: src/main/java/com/system/mapper/SelectedcourseMapper.java
================================================
package com.system.mapper;

import com.system.po.Selectedcourse;
import com.system.po.SelectedcourseExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SelectedcourseMapper {
    int countByExample(SelectedcourseExample example);

    int deleteByExample(SelectedcourseExample example);

    int insert(Selectedcourse record);

    int insertSelective(Selectedcourse record);

    List<Selectedcourse> selectByExample(SelectedcourseExample example);

    int updateByExampleSelective(@Param("record") Selectedcourse record, @Param("example") SelectedcourseExample example);

    int updateByExample(@Param("record") Selectedcourse record, @Param("example") SelectedcourseExample example);
}

================================================
FILE: src/main/java/com/system/mapper/SelectedcourseMapper.xml
================================================
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.system.mapper.SelectedcourseMapper" >
  <resultMap id="BaseResultMap" type="com.system.po.Selectedcourse" >
    <result column="courseID" property="courseid" jdbcType="INTEGER" />
    <result column="studentID" property="studentid" jdbcType="INTEGER" />
    <result column="mark" property="mark" jdbcType="INTEGER" />
  </resultMap>
  <sql id="Example_Where_Clause" >
    <where >
      <foreach collection="oredCriteria" item="criteria" separator="or" >
        <if test="criteria.valid" >
          <trim prefix="(" suffix=")" prefixOverrides="and" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.noValue" >
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue" >
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue" >
                  and ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Update_By_Example_Where_Clause" >
    <where >
      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
        <if test="criteria.valid" >
          <trim prefix="(" suffix=")" prefixOverrides="and" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.noValue" >
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue" >
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue" >
                  and ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Base_Column_List" >
    courseID, studentID, mark
  </sql>
  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.system.po.SelectedcourseExample" >
    select
    <if test="distinct" >
      distinct
    </if>
    <include refid="Base_Column_List" />
    from selectedcourse
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null" >
      order by ${orderByClause}
    </if>
  </select>
  <delete id="deleteByExample" parameterType="com.system.po.SelectedcourseExample" >
    delete from selectedcourse
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.system.po.Selectedcourse" >
    insert into selectedcourse (courseID, studentID, mark
      )
    values (#{courseid,jdbcType=INTEGER}, #{studentid,jdbcType=INTEGER}, #{mark,jdbcType=INTEGER}
      )
  </insert>
  <insert id="insertSelective" parameterType="com.system.po.Selectedcourse" >
    insert into selectedcourse
    <trim prefix="(" suffix=")" suffixOverrides="," >
      <if test="courseid != null" >
        courseID,
      </if>
      <if test="studentid != null" >
        studentID,
      </if>
      <if test="mark != null" >
        mark,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides="," >
      <if test="courseid != null" >
        #{courseid,jdbcType=INTEGER},
      </if>
      <if test="studentid != null" >
        #{studentid,jdbcType=INTEGER},
      </if>
      <if test="mark != null" >
        #{mark,jdbcType=INTEGER},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.system.po.SelectedcourseExample" resultType="java.lang.Integer" >
    select count(*) from selectedcourse
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map" >
    update selectedcourse
    <set >
      <if test="record.courseid != null" >
        courseID = #{record.courseid,jdbcType=INTEGER},
      </if>
      <if test="record.studentid != null" >
        studentID = #{record.studentid,jdbcType=INTEGER},
      </if>
      <if test="record.mark != null" >
        mark = #{record.mark,jdbcType=INTEGER},
      </if>
    </set>
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map" >
    update selectedcourse
    set courseID = #{record.courseid,jdbcType=INTEGER},
      studentID = #{record.studentid,jdbcType=INTEGER},
      mark = #{record.mark,jdbcType=INTEGER}
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
</mapper>

================================================
FILE: src/main/java/com/system/mapper/StudentMapper.java
================================================
package com.system.mapper;

import com.system.po.Student;
import com.system.po.StudentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {
    int countByExample(StudentExample example);

    int deleteByExample(StudentExample example);

    int deleteByPrimaryKey(Integer userid);

    int insert(Student record);

    int insertSelective(Student record);

    List<Student> selectByExample(StudentExample example);

    Student selectByPrimaryKey(Integer userid);

    int updateByExampleSelective(@Param("record") Student record, @Param("example") StudentExample example);

    int updateByExample(@Param("record") Student record, @Param("example") StudentExample example);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);
}

================================================
FILE: src/main/java/com/system/mapper/StudentMapper.xml
================================================
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.system.mapper.StudentMapper" >
  <resultMap id="BaseResultMap" type="com.system.po.Student" >
    <id column="userID" property="userid" jdbcType="INTEGER" />
    <result column="userName" property="username" jdbcType="VARCHAR" />
    <result column="sex" property="sex" jdbcType="VARCHAR" />
    <result column="birthYear" property="birthyear" jdbcType="DATE" />
    <result column="grade" property="grade" jdbcType="DATE" />
    <result column="collegeID" property="collegeid" jdbcType="INTEGER" />
  </resultMap>
  <sql id="Example_Where_Clause" >
    <where >
      <foreach collection="oredCriteria" item="criteria" separator="or" >
        <if test="criteria.valid" >
          <trim prefix="(" suffix=")" prefixOverrides="and" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.noValue" >
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue" >
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue" >
                  and ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Update_By_Example_Where_Clause" >
    <where >
      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
        <if test="criteria.valid" >
          <trim prefix="(" suffix=")" prefixOverrides="and" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.noValue" >
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue" >
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue" >
                  and ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Base_Column_List" >
    userID, userName, sex, birthYear, grade, collegeID
  </sql>
  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.system.po.StudentExample" >
    select
    <if test="distinct" >
      distinct
    </if>
    <include refid="Base_Column_List" />
    from student
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null" >
      order by ${orderByClause}
    </if>
  </select>
  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
    select 
    <include refid="Base_Column_List" />
    from student
    where userID = #{userid,jdbcType=INTEGER}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
    delete from student
    where userID = #{userid,jdbcType=INTEGER}
  </delete>
  <delete id="deleteByExample" parameterType="com.system.po.StudentExample" >
    delete from student
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.system.po.Student" >
    insert into student (userID, userName, sex, 
      birthYear, grade, collegeID
      )
    values (#{userid,jdbcType=INTEGER}, #{username,jdbcType=VARCHAR}, #{sex,jdbcType=VARCHAR}, 
      #{birthyear,jdbcType=DATE}, #{grade,jdbcType=DATE}, #{collegeid,jdbcType=INTEGER}
      )
  </insert>
  <insert id="insertSelective" parameterType="com.system.po.Student" >
    insert into student
    <trim prefix="(" suffix=")" suffixOverrides="," >
      <if test="userid != null" >
        userID,
      </if>
      <if test="username != null" >
        userName,
      </if>
      <if test="sex != null" >
        sex,
      </if>
      <if test="birthyear != null" >
        birthYear,
      </if>
      <if test="grade != null" >
        grade,
      </if>
      <if test="collegeid != null" >
        collegeID,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides="," >
      <if test="userid != null" >
        #{userid,jdbcType=INTEGER},
      </if>
      <if test="username != null" >
        #{username,jdbcType=VARCHAR},
      </if>
      <if test="sex != null" >
        #{sex,jdbcType=VARCHAR},
      </if>
      <if test="birthyear != null" >
        #{birthyear,jdbcType=DATE},
      </if>
      <if test="grade != null" >
        #{grade,jdbcType=DATE},
      </if>
      <if test="collegeid != null" >
        #{collegeid,jdbcType=INTEGER},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.system.po.StudentExample" resultType="java.lang.Integer" >
    select count(*) from student
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map" >
    update student
    <set >
      <if test="record.userid != null" >
        userID = #{record.userid,jdbcType=INTEGER},
      </if>
      <if test="record.username != null" >
        userName = #{record.username,jdbcType=VARCHAR},
      </if>
      <if test="record.sex != null" >
        sex = #{record.sex,jdbcType=VARCHAR},
      </if>
      <if test="record.birthyear != null" >
        birthYear = #{record.birthyear,jdbcType=DATE},
      </if>
      <if test="record.grade != null" >
        grade = #{record.grade,jdbcType=DATE},
      </if>
      <if test="record.collegeid != null" >
        collegeID = #{record.collegeid,jdbcType=INTEGER},
      </if>
    </set>
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map" >
    update student
    set userID = #{record.userid,jdbcType=INTEGER},
      userName = #{record.username,jdbcType=VARCHAR},
      sex = #{record.sex,jdbcType=VARCHAR},
      birthYear = #{record.birthyear,jdbcType=DATE},
      grade = #{record.grade,jdbcType=DATE},
      collegeID = #{record.collegeid,jdbcType=INTEGER}
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="com.system.po.Student" >
    update student
    <set >
      <if test="username != null" >
        userName = #{username,jdbcType=VARCHAR},
      </if>
      <if test="sex != null" >
        sex = #{sex,jdbcType=VARCHAR},
      </if>
      <if test="birthyear != null" >
        birthYear = #{birthyear,jdbcType=DATE},
      </if>
      <if test="grade != null" >
        grade = #{grade,jdbcType=DATE},
      </if>
      <if test="collegeid != null" >
        collegeID = #{collegeid,jdbcType=INTEGER},
      </if>
    </set>
    where userID = #{userid,jdbcType=INTEGER}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.system.po.Student" >
    update student
    set userName = #{username,jdbcType=VARCHAR},
      sex = #{sex,jdbcType=VARCHAR},
      birthYear = #{birthyear,jdbcType=DATE},
      grade = #{grade,jdbcType=DATE},
      collegeID = #{collegeid,jdbcType=INTEGER}
    where userID = #{userid,jdbcType=INTEGER}
  </update>
</mapper>

================================================
FILE: src/main/java/com/system/mapper/StudentMapperCustom.java
================================================
package com.system.mapper;

import com.system.po.PagingVO;
import com.system.po.StudentCustom;

import java.util.List;

/**
 * Created by Jacey on 2017/6/28.
 */
public interface StudentMapperCustom {

    //分页查询学生信息
    List<StudentCustom> findByPaging(PagingVO pagingVO) throws Exception;

    //查询学生信息,和其选课信息
    StudentCustom findStudentAndSelectCourseListById(Integer id) throws Exception;

}


================================================
FILE: src/main/java/com/system/mapper/StudentMapperCustom.xml
================================================
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >

<mapper namespace="com.system.mapper.StudentMapperCustom">

    <!--一对多查询-->
    <resultMap id="StudentAndSelectCourseResultMap" type="StudentCustom">
        <!--配置映射的订单信息
            property 的值应跟 该vo 的变量名相同
            column 的值,应与对应的数据库 表字段名相同
        -->
        <id column="userID" property="userid"/>
        <result column="userName" property="username" />
        <result column="sex" property="sex" />
        <result column="birthYear" property="birthyear" />
        <result column="grade" property="grade" />
        <result column="collegeID" property="collegeid" />

        <!--collection 对关联查询到的多条记录映射到集合对象中
            property: 将关联查询到的多条信息映射到 vo 哪个属性
            ofType:映射到集合属性中 pojo 的类型
        -->
        <collection property="selectedCourseList" ofType="SelectedCourseCustom">
            <result column="courseID" property="courseid"/>
            <result column="studentID" property="studentid"/>
            <result column="mark" property="mark"/>
            <!--配置映射的关系的课程信息-->
            <association property="courseCustom" javaType="CourseCustom">
                <id column="courseID" property="courseid"/>
                <result column="courseName" property="coursename"/>
                <result column="teacherID" property="teacherid"/>
                <result column="courseTime" property="coursetime"/>
                <result column="classRoom" property="classroom"/>
                <result column="courseWeek" property="courseweek"/>
                <result column="courseType" property="coursetype"/>
                <result column="collegeID" property="collegeid"/>
                <result column="score" property="score"/>
            </association>
        </collection>
    </resultMap>

    <select id="findByPaging" parameterType="PagingVO" resultType="StudentCustom">
        select student.*, college.collegeName
        from student, college
        WHERE student.collegeID = college.collegeID
        limit #{toPageNo}, #{pageSize}
    </select>

    <select id="findStudentAndSelectCourseListById" parameterType="int" resultMap="StudentAndSelectCourseResultMap">
        SELECT
          student.*,
          selectedcourse.*,
          course.*
        FROM
          student,
          selectedcourse,
          course
        WHERE
          student.userID = #{id}
        AND
          student.userID = selectedcourse.studentID
        AND
          selectedcourse.courseID = course.courseID
    </select>

</mapper>

================================================
FILE: src/main/java/com/system/mapper/TeacherMapper.java
================================================
package com.system.mapper;

import com.system.po.Teacher;
import com.system.po.TeacherExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherMapper {
    int countByExample(TeacherExample example);

    int deleteByExample(TeacherExample example);

    int deleteByPrimaryKey(Integer userid);

    int insert(Teacher record);

    int insertSelective(Teacher record);

    List<Teacher> selectByExample(TeacherExample example);

    Teacher selectByPrimaryKey(Integer userid);

    int updateByExampleSelective(@Param("record") Teacher record, @Param("example") TeacherExample example);

    int updateByExample(@Param("record") Teacher record, @Param("example") TeacherExample example);

    int updateByPrimaryKeySelective(Teacher record);

    int updateByPrimaryKey(Teacher record);
}

================================================
FILE: src/main/java/com/system/mapper/TeacherMapper.xml
================================================
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.system.mapper.TeacherMapper" >
  <resultMap id="BaseResultMap" type="com.system.po.Teacher" >
    <id column="userID" property="userid" jdbcType="INTEGER" />
    <result column="userName" property="username" jdbcType="VARCHAR" />
    <result column="sex" property="sex" jdbcType="VARCHAR" />
    <result column="birthYear" property="birthyear" jdbcType="DATE" />
    <result column="degree" property="degree" jdbcType="VARCHAR" />
    <result column="title" property="title" jdbcType="VARCHAR" />
    <result column="grade" property="grade" jdbcType="DATE" />
    <result column="collegeID" property="collegeid" jdbcType="INTEGER" />
  </resultMap>
  <sql id="Example_Where_Clause" >
    <where >
      <foreach collection="oredCriteria" item="criteria" separator="or" >
        <if test="criteria.valid" >
          <trim prefix="(" suffix=")" prefixOverrides="and" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.noValue" >
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue" >
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue" >
                  and ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Update_By_Example_Where_Clause" >
    <where >
      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
        <if test="criteria.valid" >
          <trim prefix="(" suffix=")" prefixOverrides="and" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.noValue" >
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue" >
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue" >
                  and ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Base_Column_List" >
    userID, userName, sex, birthYear, degree, title, grade, collegeID
  </sql>
  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.system.po.TeacherExample" >
    select
    <if test="distinct" >
      distinct
    </if>
    <include refid="Base_Column_List" />
    from teacher
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null" >
      order by ${orderByClause}
    </if>
  </select>
  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
    select 
    <include refid="Base_Column_List" />
    from teacher
    where userID = #{userid,jdbcType=INTEGER}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
    delete from teacher
    where userID = #{userid,jdbcType=INTEGER}
  </delete>
  <delete id="deleteByExample" parameterType="com.system.po.TeacherExample" >
    delete from teacher
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.system.po.Teacher" >
    insert into teacher (userID, userName, sex, 
      birthYear, degree, title, 
      grade, collegeID)
    values (#{userid,jdbcType=INTEGER}, #{username,jdbcType=VARCHAR}, #{sex,jdbcType=VARCHAR}, 
      #{birthyear,jdbcType=DATE}, #{degree,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, 
      #{grade,jdbcType=DATE}, #{collegeid,jdbcType=INTEGER})
  </insert>
  <insert id="insertSelective" parameterType="com.system.po.Teacher" >
    insert into teacher
    <trim prefix="(" suffix=")" suffixOverrides="," >
      <if test="userid != null" >
        userID,
      </if>
      <if test="username != null" >
        userName,
      </if>
      <if test="sex != null" >
        sex,
      </if>
      <if test="birthyear != null" >
        birthYear,
      </if>
      <if test="degree != null" >
        degree,
      </if>
      <if test="title != null" >
        title,
      </if>
      <if test="grade != null" >
        grade,
      </if>
      <if test="collegeid != null" >
        collegeID,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides="," >
      <if test="userid != null" >
        #{userid,jdbcType=INTEGER},
      </if>
      <if test="username != null" >
        #{username,jdbcType=VARCHAR},
      </if>
      <if test="sex != null" >
        #{sex,jdbcType=VARCHAR},
      </if>
      <if test="birthyear != null" >
        #{birthyear,jdbcType=DATE},
      </if>
      <if test="degree != null" >
        #{degree,jdbcType=VARCHAR},
      </if>
      <if test="title != null" >
        #{title,jdbcType=VARCHAR},
      </if>
      <if test="grade != null" >
        #{grade,jdbcType=DATE},
      </if>
      <if test="collegeid != null" >
        #{collegeid,jdbcType=INTEGER},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.system.po.TeacherExample" resultType="java.lang.Integer" >
    select count(*) from teacher
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map" >
    update teacher
    <set >
      <if test="record.userid != null" >
        userID = #{record.userid,jdbcType=INTEGER},
      </if>
      <if test="record.username != null" >
        userName = #{record.username,jdbcType=VARCHAR},
      </if>
      <if test="record.sex != null" >
        sex = #{record.sex,jdbcType=VARCHAR},
      </if>
      <if test="record.birthyear != null" >
        birthYear = #{record.birthyear,jdbcType=DATE},
      </if>
      <if test="record.degree != null" >
        degree = #{record.degree,jdbcType=VARCHAR},
      </if>
      <if test="record.title != null" >
        title = #{record.title,jdbcType=VARCHAR},
      </if>
      <if test="record.grade != null" >
        grade = #{record.grade,jdbcType=DATE},
      </if>
      <if test="record.collegeid != null" >
        collegeID = #{record.collegeid,jdbcType=INTEGER},
      </if>
    </set>
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map" >
    update teacher
    set userID = #{record.userid,jdbcType=INTEGER},
      userName = #{record.username,jdbcType=VARCHAR},
      sex = #{record.sex,jdbcType=VARCHAR},
      birthYear = #{record.birthyear,jdbcType=DATE},
      degree = #{record.degree,jdbcType=VARCHAR},
      title = #{record.title,jdbcType=VARCHAR},
      grade = #{record.grade,jdbcType=DATE},
      collegeID = #{record.collegeid,jdbcType=INTEGER}
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="com.system.po.Teacher" >
    update teacher
    <set >
      <if test="username != null" >
        userName = #{username,jdbcType=VARCHAR},
      </if>
      <if test="sex != null" >
        sex = #{sex,jdbcType=VARCHAR},
      </if>
      <if test="birthyear != null" >
        birthYear = #{birthyear,jdbcType=DATE},
      </if>
      <if test="degree != null" >
        degree = #{degree,jdbcType=VARCHAR},
      </if>
      <if test="title != null" >
        title = #{title,jdbcType=VARCHAR},
      </if>
      <if test="grade != null" >
        grade = #{grade,jdbcType=DATE},
      </if>
      <if test="collegeid != null" >
        collegeID = #{collegeid,jdbcType=INTEGER},
      </if>
    </set>
    where userID = #{userid,jdbcType=INTEGER}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.system.po.Teacher" >
    update teacher
    set userName = #{username,jdbcType=VARCHAR},
      sex = #{sex,jdbcType=VARCHAR},
      birthYear = #{birthyear,jdbcType=DATE},
      degree = #{degree,jdbcType=VARCHAR},
      title = #{title,jdbcType=VARCHAR},
      grade = #{grade,jdbcType=DATE},
      collegeID = #{collegeid,jdbcType=INTEGER}
    where userID = #{userid,jdbcType=INTEGER}
  </update>
</mapper>

================================================
FILE: src/main/java/com/system/mapper/TeacherMapperCustom.java
================================================
package com.system.mapper;

import com.system.po.PagingVO;
import com.system.po.TeacherCustom;

import java.util.List;

/**
 * Created by Jacey on 2017/6/29.
 */
public interface TeacherMapperCustom {

    //分页查询老师信息
    List<TeacherCustom> findByPaging(PagingVO pagingVO) throws Exception;

    //获取
}


================================================
FILE: src/main/java/com/system/mapper/TeacherMapperCustom.xml
================================================
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >


<!--teacherMapper-->

<mapper namespace="com.system.mapper.TeacherMapperCustom">
    <select id="findByPaging" parameterType="PagingVO" resultType="TeacherCustom">
        select teacher.*, college.collegeName
        from teacher, college
        WHERE teacher.collegeID = college.collegeID
        limit #{toPageNo}, #{pageSize}
    </select>
</mapper>

================================================
FILE: src/main/java/com/system/mapper/UserloginMapper.java
================================================
package com.system.mapper;

import com.system.po.Userlogin;
import com.system.po.UserloginExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserloginMapper {
    int countByExample(UserloginExample example);

    int deleteByExample(UserloginExample example);

    int deleteByPrimaryKey(Integer userid);

    int insert(Userlogin record);

    int insertSelective(Userlogin record);

    List<Userlogin> selectByExample(UserloginExample example);

    Userlogin selectByPrimaryKey(Integer userid);

    int updateByExampleSelective(@Param("record") Userlogin record, @Param("example") UserloginExample example);

    int updateByExample(@Param("record") Userlogin record, @Param("example") UserloginExample example);

    int updateByPrimaryKeySelective(Userlogin record);

    int updateByPrimaryKey(Userlogin record);
}

================================================
FILE: src/main/java/com/system/mapper/UserloginMapper.xml
================================================
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.system.mapper.UserloginMapper" >
  <resultMap id="BaseResultMap" type="com.system.po.Userlogin" >
    <id column="userID" property="userid" jdbcType="INTEGER" />
    <result column="userName" property="username" jdbcType="VARCHAR" />
    <result column="password" property="password" jdbcType="VARCHAR" />
    <result column="role" property="role" jdbcType="INTEGER" />
  </resultMap>
  <sql id="Example_Where_Clause" >
    <where >
      <foreach collection="oredCriteria" item="criteria" separator="or" >
        <if test="criteria.valid" >
          <trim prefix="(" suffix=")" prefixOverrides="and" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.noValue" >
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue" >
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue" >
                  and ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Update_By_Example_Where_Clause" >
    <where >
      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
        <if test="criteria.valid" >
          <trim prefix="(" suffix=")" prefixOverrides="and" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.noValue" >
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue" >
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue" >
                  and ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Base_Column_List" >
    userID, userName, password, role
  </sql>
  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.system.po.UserloginExample" >
    select
    <if test="distinct" >
      distinct
    </if>
    <include refid="Base_Column_List" />
    from userlogin
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null" >
      order by ${orderByClause}
    </if>
  </select>
  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
    select 
    <include refid="Base_Column_List" />
    from userlogin
    where userID = #{userid,jdbcType=INTEGER}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
    delete from userlogin
    where userID = #{userid,jdbcType=INTEGER}
  </delete>
  <delete id="deleteByExample" parameterType="com.system.po.UserloginExample" >
    delete from userlogin
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.system.po.Userlogin" >
    insert into userlogin (userID, userName, password, 
      role)
    values (#{userid,jdbcType=INTEGER}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, 
      #{role,jdbcType=INTEGER})
  </insert>
  <insert id="insertSelective" parameterType="com.system.po.Userlogin" >
    insert into userlogin
    <trim prefix="(" suffix=")" suffixOverrides="," >
      <if test="userid != null" >
        userID,
      </if>
      <if test="username != null" >
        userName,
      </if>
      <if test="password != null" >
        password,
      </if>
      <if test="role != null" >
        role,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides="," >
      <if test="userid != null" >
        #{userid,jdbcType=INTEGER},
      </if>
      <if test="username != null" >
        #{username,jdbcType=VARCHAR},
      </if>
      <if test="password != null" >
        #{password,jdbcType=VARCHAR},
      </if>
      <if test="role != null" >
        #{role,jdbcType=INTEGER},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.system.po.UserloginExample" resultType="java.lang.Integer" >
    select count(*) from userlogin
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map" >
    update userlogin
    <set >
      <if test="record.userid != null" >
        userID = #{record.userid,jdbcType=INTEGER},
      </if>
      <if test="record.username != null" >
        userName = #{record.username,jdbcType=VARCHAR},
      </if>
      <if test="record.password != null" >
        password = #{record.password,jdbcType=VARCHAR},
      </if>
      <if test="record.role != null" >
        role = #{record.role,jdbcType=INTEGER},
      </if>
    </set>
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map" >
    update userlogin
    set userID = #{record.userid,jdbcType=INTEGER},
      userName = #{record.username,jdbcType=VARCHAR},
      password = #{record.password,jdbcType=VARCHAR},
      role = #{record.role,jdbcType=INTEGER}
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="com.system.po.Userlogin" >
    update userlogin
    <set >
      <if test="username != null" >
        userName = #{username,jdbcType=VARCHAR},
      </if>
      <if test="password != null" >
        password = #{password,jdbcType=VARCHAR},
      </if>
      <if test="role != null" >
        role = #{role,jdbcType=INTEGER},
      </if>
    </set>
    where userID = #{userid,jdbcType=INTEGER}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.system.po.Userlogin" >
    update userlogin
    set userName = #{username,jdbcType=VARCHAR},
      password = #{password,jdbcType=VARCHAR},
      role = #{role,jdbcType=INTEGER}
    where userID = #{userid,jdbcType=INTEGER}
  </update>
</mapper>

================================================
FILE: src/main/java/com/system/mapper/UserloginMapperCustom.java
================================================
package com.system.mapper;

import com.system.po.UserloginCustom;

/**
 *  UserloginMapper扩展类
 */
public interface UserloginMapperCustom {

    UserloginCustom findOneByName(String name) throws Exception;

}


================================================
FILE: src/main/java/com/system/mapper/UserloginMapperCustom.xml
================================================
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >

<mapper namespace="com.system.mapper.UserloginMapperCustom" >


    <resultMap id="UserloginResultMap" type="UserloginCustom">
        <id column="userID" property="userid"></id>

        <result column="userName" property="username" />
        <result column="password" property="password" />
        <result column="role" property="role" />

        <!--对象关联查询-->
        <association property="role_ob" javaType="Role">
            <id column="roleID" property="roleid"/>
            <result column="roleName"   property="rolename"/>
            <result column="permissions" property="permissions"/>
        </association>

    </resultMap>

    <select id="findOne" parameterType="String" resultMap="UserloginResultMap">
        SELECT
          userlogin.*,
          role.*,
        FROM
          userlogin,
          role
        WHERE
          userlogin.role = role.roleID
    </select>

</mapper>

================================================
FILE: src/main/java/com/system/po/College.java
================================================
package com.system.po;

public class College {
    private Integer collegeid;

    private String collegename;

    public Integer getCollegeid() {
        return collegeid;
    }

    public void setCollegeid(Integer collegeid) {
        this.collegeid = collegeid;
    }

    public String getCollegename() {
        return collegename;
    }

    public void setCollegename(String collegename) {
        this.collegename = collegename == null ? null : collegename.trim();
    }
}

================================================
FILE: src/main/java/com/system/po/CollegeCustom.java
================================================
package com.system.po;

/**
 * College扩展类
 */
public class CollegeCustom extends College {



}


================================================
FILE: src/main/java/com/system/po/CollegeExample.java
================================================
package com.system.po;

import java.util.ArrayList;
import java.util.List;

public class CollegeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CollegeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCollegeidIsNull() {
            addCriterion("collegeID is null");
            return (Criteria) this;
        }

        public Criteria andCollegeidIsNotNull() {
            addCriterion("collegeID is not null");
            return (Criteria) this;
        }

        public Criteria andCollegeidEqualTo(Integer value) {
            addCriterion("collegeID =", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidNotEqualTo(Integer value) {
            addCriterion("collegeID <>", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidGreaterThan(Integer value) {
            addCriterion("collegeID >", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("collegeID >=", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidLessThan(Integer value) {
            addCriterion("collegeID <", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidLessThanOrEqualTo(Integer value) {
            addCriterion("collegeID <=", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidIn(List<Integer> values) {
            addCriterion("collegeID in", values, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidNotIn(List<Integer> values) {
            addCriterion("collegeID not in", values, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidBetween(Integer value1, Integer value2) {
            addCriterion("collegeID between", value1, value2, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidNotBetween(Integer value1, Integer value2) {
            addCriterion("collegeID not between", value1, value2, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegenameIsNull() {
            addCriterion("collegeName is null");
            return (Criteria) this;
        }

        public Criteria andCollegenameIsNotNull() {
            addCriterion("collegeName is not null");
            return (Criteria) this;
        }

        public Criteria andCollegenameEqualTo(String value) {
            addCriterion("collegeName =", value, "collegename");
            return (Criteria) this;
        }

        public Criteria andCollegenameNotEqualTo(String value) {
            addCriterion("collegeName <>", value, "collegename");
            return (Criteria) this;
        }

        public Criteria andCollegenameGreaterThan(String value) {
            addCriterion("collegeName >", value, "collegename");
            return (Criteria) this;
        }

        public Criteria andCollegenameGreaterThanOrEqualTo(String value) {
            addCriterion("collegeName >=", value, "collegename");
            return (Criteria) this;
        }

        public Criteria andCollegenameLessThan(String value) {
            addCriterion("collegeName <", value, "collegename");
            return (Criteria) this;
        }

        public Criteria andCollegenameLessThanOrEqualTo(String value) {
            addCriterion("collegeName <=", value, "collegename");
            return (Criteria) this;
        }

        public Criteria andCollegenameLike(String value) {
            addCriterion("collegeName like", value, "collegename");
            return (Criteria) this;
        }

        public Criteria andCollegenameNotLike(String value) {
            addCriterion("collegeName not like", value, "collegename");
            return (Criteria) this;
        }

        public Criteria andCollegenameIn(List<String> values) {
            addCriterion("collegeName in", values, "collegename");
            return (Criteria) this;
        }

        public Criteria andCollegenameNotIn(List<String> values) {
            addCriterion("collegeName not in", values, "collegename");
            return (Criteria) this;
        }

        public Criteria andCollegenameBetween(String value1, String value2) {
            addCriterion("collegeName between", value1, value2, "collegename");
            return (Criteria) this;
        }

        public Criteria andCollegenameNotBetween(String value1, String value2) {
            addCriterion("collegeName not between", value1, value2, "collegename");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}

================================================
FILE: src/main/java/com/system/po/Course.java
================================================
package com.system.po;

public class Course {
    private Integer courseid;

    private String coursename;

    private Integer teacherid;

    private String coursetime;

    private String classroom;

    private Integer courseweek;

    private String coursetype;

    private Integer collegeid;

    private Integer score;

    public Integer getCourseid() {
        return courseid;
    }

    public void setCourseid(Integer courseid) {
        this.courseid = courseid;
    }

    public String getCoursename() {
        return coursename;
    }

    public void setCoursename(String coursename) {
        this.coursename = coursename == null ? null : coursename.trim();
    }

    public Integer getTeacherid() {
        return teacherid;
    }

    public void setTeacherid(Integer teacherid) {
        this.teacherid = teacherid;
    }

    public String getCoursetime() {
        return coursetime;
    }

    public void setCoursetime(String coursetime) {
        this.coursetime = coursetime == null ? null : coursetime.trim();
    }

    public String getClassroom() {
        return classroom;
    }

    public void setClassroom(String classroom) {
        this.classroom = classroom == null ? null : classroom.trim();
    }

    public Integer getCourseweek() {
        return courseweek;
    }

    public void setCourseweek(Integer courseweek) {
        this.courseweek = courseweek;
    }

    public String getCoursetype() {
        return coursetype;
    }

    public void setCoursetype(String coursetype) {
        this.coursetype = coursetype == null ? null : coursetype.trim();
    }

    public Integer getCollegeid() {
        return collegeid;
    }

    public void setCollegeid(Integer collegeid) {
        this.collegeid = collegeid;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }
}

================================================
FILE: src/main/java/com/system/po/CourseCustom.java
================================================
package com.system.po;

/**
 * Course扩展类    课程
 */
public class CourseCustom extends Course {

    //所属院系名
    private String collegeName;

    public void setcollegeName(String collegeName) {
        this.collegeName = collegeName;
    }

    public String getcollegeName() {
        return collegeName;
    }

}


================================================
FILE: src/main/java/com/system/po/CourseExample.java
================================================
package com.system.po;

import java.util.ArrayList;
import java.util.List;

public class CourseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CourseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCourseidIsNull() {
            addCriterion("courseID is null");
            return (Criteria) this;
        }

        public Criteria andCourseidIsNotNull() {
            addCriterion("courseID is not null");
            return (Criteria) this;
        }

        public Criteria andCourseidEqualTo(Integer value) {
            addCriterion("courseID =", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidNotEqualTo(Integer value) {
            addCriterion("courseID <>", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidGreaterThan(Integer value) {
            addCriterion("courseID >", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidGreaterThanOrEqualTo(Integer value) {
            addCriterion("courseID >=", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidLessThan(Integer value) {
            addCriterion("courseID <", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidLessThanOrEqualTo(Integer value) {
            addCriterion("courseID <=", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidIn(List<Integer> values) {
            addCriterion("courseID in", values, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidNotIn(List<Integer> values) {
            addCriterion("courseID not in", values, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidBetween(Integer value1, Integer value2) {
            addCriterion("courseID between", value1, value2, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidNotBetween(Integer value1, Integer value2) {
            addCriterion("courseID not between", value1, value2, "courseid");
            return (Criteria) this;
        }

        public Criteria andCoursenameIsNull() {
            addCriterion("courseName is null");
            return (Criteria) this;
        }

        public Criteria andCoursenameIsNotNull() {
            addCriterion("courseName is not null");
            return (Criteria) this;
        }

        public Criteria andCoursenameEqualTo(String value) {
            addCriterion("courseName =", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameNotEqualTo(String value) {
            addCriterion("courseName <>", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameGreaterThan(String value) {
            addCriterion("courseName >", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameGreaterThanOrEqualTo(String value) {
            addCriterion("courseName >=", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameLessThan(String value) {
            addCriterion("courseName <", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameLessThanOrEqualTo(String value) {
            addCriterion("courseName <=", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameLike(String value) {
            addCriterion("courseName like", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameNotLike(String value) {
            addCriterion("courseName not like", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameIn(List<String> values) {
            addCriterion("courseName in", values, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameNotIn(List<String> values) {
            addCriterion("courseName not in", values, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameBetween(String value1, String value2) {
            addCriterion("courseName between", value1, value2, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameNotBetween(String value1, String value2) {
            addCriterion("courseName not between", value1, value2, "coursename");
            return (Criteria) this;
        }

        public Criteria andTeacheridIsNull() {
            addCriterion("teacherID is null");
            return (Criteria) this;
        }

        public Criteria andTeacheridIsNotNull() {
            addCriterion("teacherID is not null");
            return (Criteria) this;
        }

        public Criteria andTeacheridEqualTo(Integer value) {
            addCriterion("teacherID =", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridNotEqualTo(Integer value) {
            addCriterion("teacherID <>", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridGreaterThan(Integer value) {
            addCriterion("teacherID >", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridGreaterThanOrEqualTo(Integer value) {
            addCriterion("teacherID >=", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridLessThan(Integer value) {
            addCriterion("teacherID <", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridLessThanOrEqualTo(Integer value) {
            addCriterion("teacherID <=", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridIn(List<Integer> values) {
            addCriterion("teacherID in", values, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridNotIn(List<Integer> values) {
            addCriterion("teacherID not in", values, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridBetween(Integer value1, Integer value2) {
            addCriterion("teacherID between", value1, value2, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridNotBetween(Integer value1, Integer value2) {
            addCriterion("teacherID not between", value1, value2, "teacherid");
            return (Criteria) this;
        }

        public Criteria andCoursetimeIsNull() {
            addCriterion("courseTime is null");
            return (Criteria) this;
        }

        public Criteria andCoursetimeIsNotNull() {
            addCriterion("courseTime is not null");
            return (Criteria) this;
        }

        public Criteria andCoursetimeEqualTo(String value) {
            addCriterion("courseTime =", value, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeNotEqualTo(String value) {
            addCriterion("courseTime <>", value, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeGreaterThan(String value) {
            addCriterion("courseTime >", value, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeGreaterThanOrEqualTo(String value) {
            addCriterion("courseTime >=", value, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeLessThan(String value) {
            addCriterion("courseTime <", value, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeLessThanOrEqualTo(String value) {
            addCriterion("courseTime <=", value, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeLike(String value) {
            addCriterion("courseTime like", value, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeNotLike(String value) {
            addCriterion("courseTime not like", value, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeIn(List<String> values) {
            addCriterion("courseTime in", values, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeNotIn(List<String> values) {
            addCriterion("courseTime not in", values, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeBetween(String value1, String value2) {
            addCriterion("courseTime between", value1, value2, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeNotBetween(String value1, String value2) {
            addCriterion("courseTime not between", value1, value2, "coursetime");
            return (Criteria) this;
        }

        public Criteria andClassroomIsNull() {
            addCriterion("classRoom is null");
            return (Criteria) this;
        }

        public Criteria andClassroomIsNotNull() {
            addCriterion("classRoom is not null");
            return (Criteria) this;
        }

        public Criteria andClassroomEqualTo(String value) {
            addCriterion("classRoom =", value, "classroom");
            return (Criteria) this;
        }

        public Criteria andClassroomNotEqualTo(String value) {
            addCriterion("classRoom <>", value, "classroom");
            return (Criteria) this;
        }

        public Criteria andClassroomGreaterThan(String value) {
            addCriterion("classRoom >", value, "classroom");
            return (Criteria) this;
        }

        public Criteria andClassroomGreaterThanOrEqualTo(String value) {
            addCriterion("classRoom >=", value, "classroom");
            return (Criteria) this;
        }

        public Criteria andClassroomLessThan(String value) {
            addCriterion("classRoom <", value, "classroom");
            return (Criteria) this;
        }

        public Criteria andClassroomLessThanOrEqualTo(String value) {
            addCriterion("classRoom <=", value, "classroom");
            return (Criteria) this;
        }

        public Criteria andClassroomLike(String value) {
            addCriterion("classRoom like", value, "classroom");
            return (Criteria) this;
        }

        public Criteria andClassroomNotLike(String value) {
            addCriterion("classRoom not like", value, "classroom");
            return (Criteria) this;
        }

        public Criteria andClassroomIn(List<String> values) {
            addCriterion("classRoom in", values, "classroom");
            return (Criteria) this;
        }

        public Criteria andClassroomNotIn(List<String> values) {
            addCriterion("classRoom not in", values, "classroom");
            return (Criteria) this;
        }

        public Criteria andClassroomBetween(String value1, String value2) {
            addCriterion("classRoom between", value1, value2, "classroom");
            return (Criteria) this;
        }

        public Criteria andClassroomNotBetween(String value1, String value2) {
            addCriterion("classRoom not between", value1, value2, "classroom");
            return (Criteria) this;
        }

        public Criteria andCourseweekIsNull() {
            addCriterion("courseWeek is null");
            return (Criteria) this;
        }

        public Criteria andCourseweekIsNotNull() {
            addCriterion("courseWeek is not null");
            return (Criteria) this;
        }

        public Criteria andCourseweekEqualTo(Integer value) {
            addCriterion("courseWeek =", value, "courseweek");
            return (Criteria) this;
        }

        public Criteria andCourseweekNotEqualTo(Integer value) {
            addCriterion("courseWeek <>", value, "courseweek");
            return (Criteria) this;
        }

        public Criteria andCourseweekGreaterThan(Integer value) {
            addCriterion("courseWeek >", value, "courseweek");
            return (Criteria) this;
        }

        public Criteria andCourseweekGreaterThanOrEqualTo(Integer value) {
            addCriterion("courseWeek >=", value, "courseweek");
            return (Criteria) this;
        }

        public Criteria andCourseweekLessThan(Integer value) {
            addCriterion("courseWeek <", value, "courseweek");
            return (Criteria) this;
        }

        public Criteria andCourseweekLessThanOrEqualTo(Integer value) {
            addCriterion("courseWeek <=", value, "courseweek");
            return (Criteria) this;
        }

        public Criteria andCourseweekIn(List<Integer> values) {
            addCriterion("courseWeek in", values, "courseweek");
            return (Criteria) this;
        }

        public Criteria andCourseweekNotIn(List<Integer> values) {
            addCriterion("courseWeek not in", values, "courseweek");
            return (Criteria) this;
        }

        public Criteria andCourseweekBetween(Integer value1, Integer value2) {
            addCriterion("courseWeek between", value1, value2, "courseweek");
            return (Criteria) this;
        }

        public Criteria andCourseweekNotBetween(Integer value1, Integer value2) {
            addCriterion("courseWeek not between", value1, value2, "courseweek");
            return (Criteria) this;
        }

        public Criteria andCoursetypeIsNull() {
            addCriterion("courseType is null");
            return (Criteria) this;
        }

        public Criteria andCoursetypeIsNotNull() {
            addCriterion("courseType is not null");
            return (Criteria) this;
        }

        public Criteria andCoursetypeEqualTo(String value) {
            addCriterion("courseType =", value, "coursetype");
            return (Criteria) this;
        }

        public Criteria andCoursetypeNotEqualTo(String value) {
            addCriterion("courseType <>", value, "coursetype");
            return (Criteria) this;
        }

        public Criteria andCoursetypeGreaterThan(String value) {
            addCriterion("courseType >", value, "coursetype");
            return (Criteria) this;
        }

        public Criteria andCoursetypeGreaterThanOrEqualTo(String value) {
            addCriterion("courseType >=", value, "coursetype");
            return (Criteria) this;
        }

        public Criteria andCoursetypeLessThan(String value) {
            addCriterion("courseType <", value, "coursetype");
            return (Criteria) this;
        }

        public Criteria andCoursetypeLessThanOrEqualTo(String value) {
            addCriterion("courseType <=", value, "coursetype");
            return (Criteria) this;
        }

        public Criteria andCoursetypeLike(String value) {
            addCriterion("courseType like", value, "coursetype");
            return (Criteria) this;
        }

        public Criteria andCoursetypeNotLike(String value) {
            addCriterion("courseType not like", value, "coursetype");
            return (Criteria) this;
        }

        public Criteria andCoursetypeIn(List<String> values) {
            addCriterion("courseType in", values, "coursetype");
            return (Criteria) this;
        }

        public Criteria andCoursetypeNotIn(List<String> values) {
            addCriterion("courseType not in", values, "coursetype");
            return (Criteria) this;
        }

        public Criteria andCoursetypeBetween(String value1, String value2) {
            addCriterion("courseType between", value1, value2, "coursetype");
            return (Criteria) this;
        }

        public Criteria andCoursetypeNotBetween(String value1, String value2) {
            addCriterion("courseType not between", value1, value2, "coursetype");
            return (Criteria) this;
        }

        public Criteria andCollegeidIsNull() {
            addCriterion("collegeID is null");
            return (Criteria) this;
        }

        public Criteria andCollegeidIsNotNull() {
            addCriterion("collegeID is not null");
            return (Criteria) this;
        }

        public Criteria andCollegeidEqualTo(Integer value) {
            addCriterion("collegeID =", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidNotEqualTo(Integer value) {
            addCriterion("collegeID <>", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidGreaterThan(Integer value) {
            addCriterion("collegeID >", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("collegeID >=", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidLessThan(Integer value) {
            addCriterion("collegeID <", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidLessThanOrEqualTo(Integer value) {
            addCriterion("collegeID <=", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidIn(List<Integer> values) {
            addCriterion("collegeID in", values, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidNotIn(List<Integer> values) {
            addCriterion("collegeID not in", values, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidBetween(Integer value1, Integer value2) {
            addCriterion("collegeID between", value1, value2, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidNotBetween(Integer value1, Integer value2) {
            addCriterion("collegeID not between", value1, value2, "collegeid");
            return (Criteria) this;
        }

        public Criteria andScoreIsNull() {
            addCriterion("score is null");
            return (Criteria) this;
        }

        public Criteria andScoreIsNotNull() {
            addCriterion("score is not null");
            return (Criteria) this;
        }

        public Criteria andScoreEqualTo(Integer value) {
            addCriterion("score =", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotEqualTo(Integer value) {
            addCriterion("score <>", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThan(Integer value) {
            addCriterion("score >", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("score >=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThan(Integer value) {
            addCriterion("score <", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThanOrEqualTo(Integer value) {
            addCriterion("score <=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreIn(List<Integer> values) {
            addCriterion("score in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotIn(List<Integer> values) {
            addCriterion("score not in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreBetween(Integer value1, Integer value2) {
            addCriterion("score between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("score not between", value1, value2, "score");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}

================================================
FILE: src/main/java/com/system/po/PagingVO.java
================================================
package com.system.po;

/**
 *  分页信息 pojo类
 */
public class PagingVO {

    //当前页码,默认第一页
    private int curentPageNo = 1;
    //总页数
    private int totalCount;
    //页面容量
    private int pageSize=5;
    //上一页
    private int upPageNo;
    //下一页
    private int nextPageNo;
    //要前往的页码,默认0
    private int toPageNo = 0;

    public void setToPageNo(Integer toPageNo) {
        //新一页
        this.toPageNo = (toPageNo-1) * pageSize ;
        //设置跳转后当前的页码
        setCurentPageNo(toPageNo);
    }

    public Integer getTopageNo() {
        return toPageNo;
    }

    public int getCurentPageNo() {
        return curentPageNo;
    }

    //设置当前页码
    public void setCurentPageNo(int curentPageNo) {
        if (curentPageNo != 1) {
            this.upPageNo = curentPageNo - 1;
        }
        this.nextPageNo = curentPageNo + 1;

        this.curentPageNo = curentPageNo;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        if (totalCount%pageSize > 0) {
            this.totalCount = (totalCount/pageSize)+1;
        } else {
            this.totalCount = totalCount/pageSize;
        }

    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getUpPageNo() {
        return upPageNo;
    }

    public void setUpPageNo(int upPageNo) {
        this.upPageNo = upPageNo;
    }

    public int getNextPageNo() {
        return nextPageNo;
    }

    public void setNextPageNo(int nextPageNo) {
        this.nextPageNo = nextPageNo;
    }
}


================================================
FILE: src/main/java/com/system/po/Role.java
================================================
package com.system.po;

public class Role {
    private Integer roleid;

    private String rolename;

    private String permissions;

    public Integer getRoleid() {
        return roleid;
    }

    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename == null ? null : rolename.trim();
    }

    public String getPermissions() {
        return permissions;
    }

    public void setPermissions(String permissions) {
        this.permissions = permissions == null ? null : permissions.trim();
    }
}

================================================
FILE: src/main/java/com/system/po/RoleExample.java
================================================
package com.system.po;

import java.util.ArrayList;
import java.util.List;

public class RoleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RoleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRoleidIsNull() {
            addCriterion("roleID is null");
            return (Criteria) this;
        }

        public Criteria andRoleidIsNotNull() {
            addCriterion("roleID is not null");
            return (Criteria) this;
        }

        public Criteria andRoleidEqualTo(Integer value) {
            addCriterion("roleID =", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidNotEqualTo(Integer value) {
            addCriterion("roleID <>", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidGreaterThan(Integer value) {
            addCriterion("roleID >", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidGreaterThanOrEqualTo(Integer value) {
            addCriterion("roleID >=", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidLessThan(Integer value) {
            addCriterion("roleID <", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidLessThanOrEqualTo(Integer value) {
            addCriterion("roleID <=", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidIn(List<Integer> values) {
            addCriterion("roleID in", values, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidNotIn(List<Integer> values) {
            addCriterion("roleID not in", values, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidBetween(Integer value1, Integer value2) {
            addCriterion("roleID between", value1, value2, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidNotBetween(Integer value1, Integer value2) {
            addCriterion("roleID not between", value1, value2, "roleid");
            return (Criteria) this;
        }

        public Criteria andRolenameIsNull() {
            addCriterion("roleName is null");
            return (Criteria) this;
        }

        public Criteria andRolenameIsNotNull() {
            addCriterion("roleName is not null");
            return (Criteria) this;
        }

        public Criteria andRolenameEqualTo(String value) {
            addCriterion("roleName =", value, "rolename");
            return (Criteria) this;
        }

        public Criteria andRolenameNotEqualTo(String value) {
            addCriterion("roleName <>", value, "rolename");
            return (Criteria) this;
        }

        public Criteria andRolenameGreaterThan(String value) {
            addCriterion("roleName >", value, "rolename");
            return (Criteria) this;
        }

        public Criteria andRolenameGreaterThanOrEqualTo(String value) {
            addCriterion("roleName >=", value, "rolename");
            return (Criteria) this;
        }

        public Criteria andRolenameLessThan(String value) {
            addCriterion("roleName <", value, "rolename");
            return (Criteria) this;
        }

        public Criteria andRolenameLessThanOrEqualTo(String value) {
            addCriterion("roleName <=", value, "rolename");
            return (Criteria) this;
        }

        public Criteria andRolenameLike(String value) {
            addCriterion("roleName like", value, "rolename");
            return (Criteria) this;
        }

        public Criteria andRolenameNotLike(String value) {
            addCriterion("roleName not like", value, "rolename");
            return (Criteria) this;
        }

        public Criteria andRolenameIn(List<String> values) {
            addCriterion("roleName in", values, "rolename");
            return (Criteria) this;
        }

        public Criteria andRolenameNotIn(List<String> values) {
            addCriterion("roleName not in", values, "rolename");
            return (Criteria) this;
        }

        public Criteria andRolenameBetween(String value1, String value2) {
            addCriterion("roleName between", value1, value2, "rolename");
            return (Criteria) this;
        }

        public Criteria andRolenameNotBetween(String value1, String value2) {
            addCriterion("roleName not between", value1, value2, "rolename");
            return (Criteria) this;
        }

        public Criteria andPermissionsIsNull() {
            addCriterion("permissions is null");
            return (Criteria) this;
        }

        public Criteria andPermissionsIsNotNull() {
            addCriterion("permissions is not null");
            return (Criteria) this;
        }

        public Criteria andPermissionsEqualTo(String value) {
            addCriterion("permissions =", value, "permissions");
            return (Criteria) this;
        }

        public Criteria andPermissionsNotEqualTo(String value) {
            addCriterion("permissions <>", value, "permissions");
            return (Criteria) this;
        }

        public Criteria andPermissionsGreaterThan(String value) {
            addCriterion("permissions >", value, "permissions");
            return (Criteria) this;
        }

        public Criteria andPermissionsGreaterThanOrEqualTo(String value) {
            addCriterion("permissions >=", value, "permissions");
            return (Criteria) this;
        }

        public Criteria andPermissionsLessThan(String value) {
            addCriterion("permissions <", value, "permissions");
            return (Criteria) this;
        }

        public Criteria andPermissionsLessThanOrEqualTo(String value) {
            addCriterion("permissions <=", value, "permissions");
            return (Criteria) this;
        }

        public Criteria andPermissionsLike(String value) {
            addCriterion("permissions like", value, "permissions");
            return (Criteria) this;
        }

        public Criteria andPermissionsNotLike(String value) {
            addCriterion("permissions not like", value, "permissions");
            return (Criteria) this;
        }

        public Criteria andPermissionsIn(List<String> values) {
            addCriterion("permissions in", values, "permissions");
            return (Criteria) this;
        }

        public Criteria andPermissionsNotIn(List<String> values) {
            addCriterion("permissions not in", values, "permissions");
            return (Criteria) this;
        }

        public Criteria andPermissionsBetween(String value1, String value2) {
            addCriterion("permissions between", value1, value2, "permissions");
            return (Criteria) this;
        }

        public Criteria andPermissionsNotBetween(String value1, String value2) {
            addCriterion("permissions not between", value1, value2, "permissions");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}

================================================
FILE: src/main/java/com/system/po/SelectedCourseCustom.java
================================================
package com.system.po;

/**
 * Created by Jacey on 2017/6/29.
 */
public class SelectedCourseCustom extends Selectedcourse {
    //新增Student 对象字段
    private StudentCustom studentCustom;

    //扩展课程信息对象
    private CourseCustom courseCustom;

    //判断该学生是否已经完成该课程
    private Boolean over = false;


    public Boolean getOver() {
        return over;
    }

    public void setOver(Boolean over) {
        this.over = over;
    }

    public StudentCustom getStudentCustom() {
        return studentCustom;
    }

    public void setStudentCustom(StudentCustom studentCustom) {
        this.studentCustom = studentCustom;
    }

    public CourseCustom getCouseCustom() {
        return courseCustom;
    }

    public void setCouseCustom(CourseCustom couseCustom) {
        this.courseCustom = couseCustom;
    }
}


================================================
FILE: src/main/java/com/system/po/Selectedcourse.java
================================================
package com.system.po;

public class Selectedcourse {
    private Integer courseid;

    private Integer studentid;

    private Integer mark;

    public Integer getCourseid() {
        return courseid;
    }

    public void setCourseid(Integer courseid) {
        this.courseid = courseid;
    }

    public Integer getStudentid() {
        return studentid;
    }

    public void setStudentid(Integer studentid) {
        this.studentid = studentid;
    }

    public Integer getMark() {
        return mark;
    }

    public void setMark(Integer mark) {
        this.mark = mark;
    }
}

================================================
FILE: src/main/java/com/system/po/SelectedcourseExample.java
================================================
package com.system.po;

import java.util.ArrayList;
import java.util.List;

public class SelectedcourseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SelectedcourseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCourseidIsNull() {
            addCriterion("courseID is null");
            return (Criteria) this;
        }

        public Criteria andCourseidIsNotNull() {
            addCriterion("courseID is not null");
            return (Criteria) this;
        }

        public Criteria andCourseidEqualTo(Integer value) {
            addCriterion("courseID =", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidNotEqualTo(Integer value) {
            addCriterion("courseID <>", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidGreaterThan(Integer value) {
            addCriterion("courseID >", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidGreaterThanOrEqualTo(Integer value) {
            addCriterion("courseID >=", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidLessThan(Integer value) {
            addCriterion("courseID <", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidLessThanOrEqualTo(Integer value) {
            addCriterion("courseID <=", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidIn(List<Integer> values) {
            addCriterion("courseID in", values, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidNotIn(List<Integer> values) {
            addCriterion("courseID not in", values, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidBetween(Integer value1, Integer value2) {
            addCriterion("courseID between", value1, value2, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidNotBetween(Integer value1, Integer value2) {
            addCriterion("courseID not between", value1, value2, "courseid");
            return (Criteria) this;
        }

        public Criteria andStudentidIsNull() {
            addCriterion("studentID is null");
            return (Criteria) this;
        }

        public Criteria andStudentidIsNotNull() {
            addCriterion("studentID is not null");
            return (Criteria) this;
        }

        public Criteria andStudentidEqualTo(Integer value) {
            addCriterion("studentID =", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidNotEqualTo(Integer value) {
            addCriterion("studentID <>", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidGreaterThan(Integer value) {
            addCriterion("studentID >", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidGreaterThanOrEqualTo(Integer value) {
            addCriterion("studentID >=", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidLessThan(Integer value) {
            addCriterion("studentID <", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidLessThanOrEqualTo(Integer value) {
            addCriterion("studentID <=", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidIn(List<Integer> values) {
            addCriterion("studentID in", values, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidNotIn(List<Integer> values) {
            addCriterion("studentID not in", values, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidBetween(Integer value1, Integer value2) {
            addCriterion("studentID between", value1, value2, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidNotBetween(Integer value1, Integer value2) {
            addCriterion("studentID not between", value1, value2, "studentid");
            return (Criteria) this;
        }

        public Criteria andMarkIsNull() {
            addCriterion("mark is null");
            return (Criteria) this;
        }

        public Criteria andMarkIsNotNull() {
            addCriterion("mark is not null");
            return (Criteria) this;
        }

        public Criteria andMarkEqualTo(Integer value) {
            addCriterion("mark =", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkNotEqualTo(Integer value) {
            addCriterion("mark <>", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkGreaterThan(Integer value) {
            addCriterion("mark >", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkGreaterThanOrEqualTo(Integer value) {
            addCriterion("mark >=", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkLessThan(Integer value) {
            addCriterion("mark <", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkLessThanOrEqualTo(Integer value) {
            addCriterion("mark <=", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkIn(List<Integer> values) {
            addCriterion("mark in", values, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkNotIn(List<Integer> values) {
            addCriterion("mark not in", values, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkBetween(Integer value1, Integer value2) {
            addCriterion("mark between", value1, value2, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkNotBetween(Integer value1, Integer value2) {
            addCriterion("mark not between", value1, value2, "mark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}

================================================
FILE: src/main/java/com/system/po/Student.java
================================================
package com.system.po;

import java.util.Date;

public class Student {
    private Integer userid;

    private String username;

    private String sex;

    private Date birthyear;

    private Date grade;

    private Integer collegeid;

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public Date getBirthyear() {
        return birthyear;
    }

    public void setBirthyear(Date birthyear) {
        this.birthyear = birthyear;
    }

    public Date getGrade() {
        return grade;
    }

    public void setGrade(Date grade) {
        this.grade = grade;
    }

    public Integer getCollegeid() {
        return collegeid;
    }

    public void setCollegeid(Integer collegeid) {
        this.collegeid = collegeid;
    }
}

================================================
FILE: src/main/java/com/system/po/StudentCustom.java
================================================
package com.system.po;

import java.util.List;

/**
 * Student的扩展类
 */
public class StudentCustom extends Student {
    //所属院系名
    private String collegeName;

    //选课列表
    private List<SelectedCourseCustom> selectedCourseList;


    public void setcollegeName(String collegeName) {
        this.collegeName = collegeName;
    }

    public String getcollegeName() {
        return collegeName;
    }

    public void setSelectedCourseList(List<SelectedCourseCustom> selectedCourseList) {
        this.selectedCourseList = selectedCourseList;
    }

    public List<SelectedCourseCustom> getSelectedCourseList() {
        return selectedCourseList;
    }

}


================================================
FILE: src/main/java/com/system/po/StudentExample.java
================================================
package com.system.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class StudentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public StudentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andUseridIsNull() {
            addCriterion("userID is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userID is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("userID =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("userID <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("userID >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("userID >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("userID <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("userID <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("userID in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("userID not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("userID between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("userID not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("userName is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("userName is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("userName =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("userName <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("userName >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("userName >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("userName <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("userName <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("userName like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("userName not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("userName in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("userName not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("userName between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("userName not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("sex is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("sex is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(String value) {
            addCriterion("sex =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(String value) {
            addCriterion("sex <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(String value) {
            addCriterion("sex >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(String value) {
            addCriterion("sex >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(String value) {
            addCriterion("sex <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(String value) {
            addCriterion("sex <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLike(String value) {
            addCriterion("sex like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotLike(String value) {
            addCriterion("sex not like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<String> values) {
            addCriterion("sex in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<String> values) {
            addCriterion("sex not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(String value1, String value2) {
            addCriterion("sex between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(String value1, String value2) {
            addCriterion("sex not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andBirthyearIsNull() {
            addCriterion("birthYear is null");
            return (Criteria) this;
        }

        public Criteria andBirthyearIsNotNull() {
            addCriterion("birthYear is not null");
            return (Criteria) this;
        }

        public Criteria andBirthyearEqualTo(Date value) {
            addCriterionForJDBCDate("birthYear =", value, "birthyear");
            return (Criteria) this;
        }

        public Criteria andBirthyearNotEqualTo(Date value) {
            addCriterionForJDBCDate("birthYear <>", value, "birthyear");
            return (Criteria) this;
        }

        public Criteria andBirthyearGreaterThan(Date value) {
            addCriterionForJDBCDate("birthYear >", value, "birthyear");
            return (Criteria) this;
        }

        public Criteria andBirthyearGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("birthYear >=", value, "birthyear");
            return (Criteria) this;
        }

        public Criteria andBirthyearLessThan(Date value) {
            addCriterionForJDBCDate("birthYear <", value, "birthyear");
            return (Criteria) this;
        }

        public Criteria andBirthyearLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("birthYear <=", value, "birthyear");
            return (Criteria) this;
        }

        public Criteria andBirthyearIn(List<Date> values) {
            addCriterionForJDBCDate("birthYear in", values, "birthyear");
            return (Criteria) this;
        }

        public Criteria andBirthyearNotIn(List<Date> values) {
            addCriterionForJDBCDate("birthYear not in", values, "birthyear");
            return (Criteria) this;
        }

        public Criteria andBirthyearBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("birthYear between", value1, value2, "birthyear");
            return (Criteria) this;
        }

        public Criteria andBirthyearNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("birthYear not between", value1, value2, "birthyear");
            return (Criteria) this;
        }

        public Criteria andGradeIsNull() {
            addCriterion("grade is null");
            return (Criteria) this;
        }

        public Criteria andGradeIsNotNull() {
            addCriterion("grade is not null");
            return (Criteria) this;
        }

        public Criteria andGradeEqualTo(Date value) {
            addCriterionForJDBCDate("grade =", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeNotEqualTo(Date value) {
            addCriterionForJDBCDate("grade <>", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeGreaterThan(Date value) {
            addCriterionForJDBCDate("grade >", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("grade >=", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeLessThan(Date value) {
            addCriterionForJDBCDate("grade <", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("grade <=", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeIn(List<Date> values) {
            addCriterionForJDBCDate("grade in", values, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeNotIn(List<Date> values) {
            addCriterionForJDBCDate("grade not in", values, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("grade between", value1, value2, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("grade not between", value1, value2, "grade");
            return (Criteria) this;
        }

        public Criteria andCollegeidIsNull() {
            addCriterion("collegeID is null");
            return (Criteria) this;
        }

        public Criteria andCollegeidIsNotNull() {
            addCriterion("collegeID is not null");
            return (Criteria) this;
        }

        public Criteria andCollegeidEqualTo(Integer value) {
            addCriterion("collegeID =", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidNotEqualTo(Integer value) {
            addCriterion("collegeID <>", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidGreaterThan(Integer value) {
            addCriterion("collegeID >", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("collegeID >=", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidLessThan(Integer value) {
            addCriterion("collegeID <", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidLessThanOrEqualTo(Integer value) {
            addCriterion("collegeID <=", value, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidIn(List<Integer> values) {
            addCriterion("collegeID in", values, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidNotIn(List<Integer> values) {
            addCriterion("collegeID not in", values, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidBetween(Integer value1, Integer value2) {
            addCriterion("collegeID between", value1, value2, "collegeid");
            return (Criteria) this;
        }

        public Criteria andCollegeidNotBetween(Integer value1, Integer value2) {
            addCriterion("collegeID not between", value1, value2, "collegeid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
      
Download .txt
gitextract_8iu6na0l/

├── .classpath
├── .project
├── .settings/
│   ├── .jsdtscope
│   ├── org.eclipse.jdt.core.prefs
│   ├── org.eclipse.m2e.core.prefs
│   ├── org.eclipse.wst.common.component
│   ├── org.eclipse.wst.common.project.facet.core.xml
│   ├── org.eclipse.wst.jsdt.ui.superType.container
│   ├── org.eclipse.wst.jsdt.ui.superType.name
│   └── org.eclipse.wst.validation.prefs
├── README.md
├── pom.xml
├── sql/
│   └── examination_system.sql
├── src/
│   ├── main/
│   │   ├── java/
│   │   │   └── com/
│   │   │       └── system/
│   │   │           ├── controller/
│   │   │           │   ├── AdminController.java
│   │   │           │   ├── LoginController.java
│   │   │           │   ├── RestPasswordController.java
│   │   │           │   ├── StudentController.java
│   │   │           │   ├── TeacherController.java
│   │   │           │   └── converter/
│   │   │           │       └── CustomDateConverter.java
│   │   │           ├── exception/
│   │   │           │   ├── CustomException.java
│   │   │           │   └── CustomExceptionResolver.java
│   │   │           ├── mapper/
│   │   │           │   ├── CollegeMapper.java
│   │   │           │   ├── CollegeMapper.xml
│   │   │           │   ├── CourseMapper.java
│   │   │           │   ├── CourseMapper.xml
│   │   │           │   ├── CourseMapperCustom.java
│   │   │           │   ├── CourseMapperCustom.xml
│   │   │           │   ├── RoleMapper.java
│   │   │           │   ├── RoleMapper.xml
│   │   │           │   ├── SelectedcourseMapper.java
│   │   │           │   ├── SelectedcourseMapper.xml
│   │   │           │   ├── StudentMapper.java
│   │   │           │   ├── StudentMapper.xml
│   │   │           │   ├── StudentMapperCustom.java
│   │   │           │   ├── StudentMapperCustom.xml
│   │   │           │   ├── TeacherMapper.java
│   │   │           │   ├── TeacherMapper.xml
│   │   │           │   ├── TeacherMapperCustom.java
│   │   │           │   ├── TeacherMapperCustom.xml
│   │   │           │   ├── UserloginMapper.java
│   │   │           │   ├── UserloginMapper.xml
│   │   │           │   ├── UserloginMapperCustom.java
│   │   │           │   └── UserloginMapperCustom.xml
│   │   │           ├── po/
│   │   │           │   ├── College.java
│   │   │           │   ├── CollegeCustom.java
│   │   │           │   ├── CollegeExample.java
│   │   │           │   ├── Course.java
│   │   │           │   ├── CourseCustom.java
│   │   │           │   ├── CourseExample.java
│   │   │           │   ├── PagingVO.java
│   │   │           │   ├── Role.java
│   │   │           │   ├── RoleExample.java
│   │   │           │   ├── SelectedCourseCustom.java
│   │   │           │   ├── Selectedcourse.java
│   │   │           │   ├── SelectedcourseExample.java
│   │   │           │   ├── Student.java
│   │   │           │   ├── StudentCustom.java
│   │   │           │   ├── StudentExample.java
│   │   │           │   ├── Teacher.java
│   │   │           │   ├── TeacherCustom.java
│   │   │           │   ├── TeacherExample.java
│   │   │           │   ├── Userlogin.java
│   │   │           │   ├── UserloginCustom.java
│   │   │           │   └── UserloginExample.java
│   │   │           ├── realm/
│   │   │           │   └── LoginRealm.java
│   │   │           └── service/
│   │   │               ├── CollegeService.java
│   │   │               ├── CourseService.java
│   │   │               ├── RoleService.java
│   │   │               ├── SelectedCourseService.java
│   │   │               ├── StudentService.java
│   │   │               ├── TeacherService.java
│   │   │               ├── UserloginService.java
│   │   │               └── impl/
│   │   │                   ├── CollegeServiceImpl.java
│   │   │                   ├── CourseServiceImpl.java
│   │   │                   ├── RoleServiceImpl.java
│   │   │                   ├── SelectedCourseServiceImpl.java
│   │   │                   ├── StudentServiceImpl.java
│   │   │                   ├── TeacherServiceImpl.java
│   │   │                   └── UserloginServiceImpl.java
│   │   ├── resources/
│   │   │   ├── log4j.properties
│   │   │   ├── mybatis/
│   │   │   │   └── mybatis.cfg.xml
│   │   │   ├── mysql.properties
│   │   │   └── spring/
│   │   │       ├── applicationContext-dao.xml
│   │   │       ├── applicationContext-service.xml
│   │   │       ├── applicationContext-shiro.xml
│   │   │       ├── applicationContext-trsaction.xml
│   │   │       └── springmvc.xml
│   │   └── webapp/
│   │       ├── WEB-INF/
│   │       │   ├── classes/
│   │       │   │   └── spring/
│   │       │   │       ├── applicationContext-dao.xml
│   │       │   │       ├── applicationContext-service.xml
│   │       │   │       ├── applicationContext-shiro.xml
│   │       │   │       └── applicationContext-trsaction.xml
│   │       │   ├── jsp/
│   │       │   │   ├── admin/
│   │       │   │   │   ├── addCourse.jsp
│   │       │   │   │   ├── addStudent.jsp
│   │       │   │   │   ├── addTeacher.jsp
│   │       │   │   │   ├── editCourse.jsp
│   │       │   │   │   ├── editStudent.jsp
│   │       │   │   │   ├── editTeacher.jsp
│   │       │   │   │   ├── menu.jsp
│   │       │   │   │   ├── passwordRest.jsp
│   │       │   │   │   ├── showCourse.jsp
│   │       │   │   │   ├── showStudent.jsp
│   │       │   │   │   ├── showTeacher.jsp
│   │       │   │   │   ├── top.jsp
│   │       │   │   │   └── userPasswordRest.jsp
│   │       │   │   ├── error.jsp
│   │       │   │   ├── student/
│   │       │   │   │   ├── menu.jsp
│   │       │   │   │   ├── overCourse.jsp
│   │       │   │   │   ├── passwordRest.jsp
│   │       │   │   │   ├── selectCourse.jsp
│   │       │   │   │   ├── showCourse.jsp
│   │       │   │   │   └── top.jsp
│   │       │   │   ├── success.jsp
│   │       │   │   └── teacher/
│   │       │   │       ├── mark.jsp
│   │       │   │       ├── menu.jsp
│   │       │   │       ├── passwordRest.jsp
│   │       │   │       ├── showCourse.jsp
│   │       │   │       ├── showGrade.jsp
│   │       │   │       └── top.jsp
│   │       │   └── web.xml
│   │       ├── css/
│   │       │   ├── bootstrap-theme.css
│   │       │   └── bootstrap.css
│   │       ├── js/
│   │       │   ├── bootstrap.js
│   │       │   └── npm.js
│   │       └── login.jsp
│   └── test/
│       └── test/
│           └── com/
│               └── system/
│                   ├── mapper/
│                   │   ├── CourseMapperCustomTest.java
│                   │   ├── StudentMapperCustomTest.java
│                   │   ├── StudentMapperTest.java
│                   │   ├── TeacherMapperCustomTest.java
│                   │   └── UserloginMapperCustomTest.java
│                   └── service/
│                       └── impl/
│                           ├── CourseServiceImplTest.java
│                           ├── SelectedCourseServiceImplTest.java
│                           ├── StudentServiceImplTest.java
│                           ├── TeacherServiceImplTest.java
│                           └── UserloginServiceImplTest.java
└── target/
    ├── classes/
    │   ├── com/
    │   │   └── system/
    │   │       └── mapper/
    │   │           ├── CollegeMapper.xml
    │   │           ├── CourseMapper.xml
    │   │           ├── CourseMapperCustom.xml
    │   │           ├── RoleMapper.xml
    │   │           ├── SelectedcourseMapper.xml
    │   │           ├── StudentMapper.xml
    │   │           ├── StudentMapperCustom.xml
    │   │           ├── TeacherMapper.xml
    │   │           ├── TeacherMapperCustom.xml
    │   │           ├── UserloginMapper.xml
    │   │           └── UserloginMapperCustom.xml
    │   ├── log4j.properties
    │   ├── mybatis/
    │   │   └── mybatis.cfg.xml
    │   ├── mysql.properties
    │   └── spring/
    │       ├── applicationContext-dao.xml
    │       ├── applicationContext-service.xml
    │       ├── applicationContext-shiro.xml
    │       ├── applicationContext-trsaction.xml
    │       └── springmvc.xml
    └── m2e-wtp/
        └── web-resources/
            └── META-INF/
                ├── MANIFEST.MF
                └── maven/
                    └── com.jacey/
                        └── Examination_System/
                            ├── pom.properties
                            └── pom.xml
Download .txt
SYMBOL INDEX (1124 symbols across 67 files)

FILE: sql/examination_system.sql
  type `college` (line 22) | CREATE TABLE `college` (
  type `course` (line 39) | CREATE TABLE `course` (
  type `role` (line 70) | CREATE TABLE `role` (
  type `selectedcourse` (line 88) | CREATE TABLE `selectedcourse` (
  type `student` (line 113) | CREATE TABLE `student` (
  type `teacher` (line 139) | CREATE TABLE `teacher` (
  type `userlogin` (line 164) | CREATE TABLE `userlogin` (

FILE: src/main/java/com/system/controller/AdminController.java
  class AdminController (line 20) | @Controller
    method showStudent (line 42) | @RequestMapping("/showStudent")
    method addStudentUI (line 66) | @RequestMapping(value = "/addStudent", method = {RequestMethod.GET})
    method addStudent (line 77) | @RequestMapping(value = "/addStudent", method = {RequestMethod.POST})
    method editStudentUI (line 98) | @RequestMapping(value = "/editStudent", method = {RequestMethod.GET})
    method editStudent (line 118) | @RequestMapping(value = "/editStudent", method = {RequestMethod.POST})
    method removeStudent (line 128) | @RequestMapping(value = "/removeStudent", method = {RequestMethod.GET} )
    method selectStudent (line 141) | @RequestMapping(value = "selectStudent", method = {RequestMethod.POST})
    method showTeacher (line 153) | @RequestMapping("/showTeacher")
    method addTeacherUI (line 177) | @RequestMapping(value = "/addTeacher", method = {RequestMethod.GET})
    method addTeacher (line 188) | @RequestMapping(value = "/addTeacher", method = {RequestMethod.POST})
    method editTeacherUI (line 209) | @RequestMapping(value = "/editTeacher", method = {RequestMethod.GET})
    method editTeacher (line 228) | @RequestMapping(value = "/editTeacher", method = {RequestMethod.POST})
    method removeTeacher (line 238) | @RequestMapping("/removeTeacher")
    method selectTeacher (line 251) | @RequestMapping(value = "selectTeacher", method = {RequestMethod.POST})
    method showCourse (line 263) | @RequestMapping("/showCourse")
    method addCourseUI (line 287) | @RequestMapping(value = "/addCourse", method = {RequestMethod.GET})
    method addCourse (line 300) | @RequestMapping(value = "/addCourse", method = {RequestMethod.POST})
    method editCourseUI (line 316) | @RequestMapping(value = "/editCourse", method = {RequestMethod.GET})
    method editCourse (line 337) | @RequestMapping(value = "/editCourse", method = {RequestMethod.POST})
    method removeCourse (line 347) | @RequestMapping("/removeCourse")
    method selectCourse (line 359) | @RequestMapping(value = "selectCourse", method = {RequestMethod.POST})
    method userPasswordRestUI (line 371) | @RequestMapping("/userPasswordRest")
    method userPasswordRest (line 377) | @RequestMapping(value = "/userPasswordRest", method = {RequestMethod.P...
    method passwordRestUI (line 396) | @RequestMapping("/passwordRest")

FILE: src/main/java/com/system/controller/LoginController.java
  class LoginController (line 14) | @Controller
    method loginUI (line 18) | @RequestMapping(value = "/login", method = {RequestMethod.GET})
    method login (line 24) | @RequestMapping(value = "/login", method = {RequestMethod.POST})

FILE: src/main/java/com/system/controller/RestPasswordController.java
  class RestPasswordController (line 17) | @Controller
    method passwordRest (line 24) | @RequestMapping(value = "/passwordRest", method = {RequestMethod.POST})

FILE: src/main/java/com/system/controller/StudentController.java
  class StudentController (line 20) | @Controller
    method stuCourseShow (line 33) | @RequestMapping(value = "/showCourse")
    method stuSelectedCourse (line 56) | @RequestMapping(value = "/stuSelectedCourse")
    method outCourse (line 78) | @RequestMapping(value = "/outCourse")
    method selectedCourse (line 93) | @RequestMapping(value = "/selectedCourse")
    method overCourse (line 107) | @RequestMapping(value = "/overCourse")
    method passwordRest (line 122) | @RequestMapping(value = "/passwordRest")

FILE: src/main/java/com/system/controller/TeacherController.java
  class TeacherController (line 23) | @Controller
    method stuCourseShow (line 37) | @RequestMapping(value = "/showCourse")
    method gradeCourse (line 50) | @RequestMapping(value = "/gradeCourse")
    method markUI (line 61) | @RequestMapping(value = "/mark", method = {RequestMethod.GET})
    method mark (line 72) | @RequestMapping(value = "/mark", method = {RequestMethod.POST})
    method passwordRest (line 81) | @RequestMapping(value = "/passwordRest")

FILE: src/main/java/com/system/controller/converter/CustomDateConverter.java
  class CustomDateConverter (line 12) | public class CustomDateConverter implements Converter<String, Date> {
    method convert (line 15) | public Date convert(String s) {

FILE: src/main/java/com/system/exception/CustomException.java
  class CustomException (line 6) | public class CustomException extends Exception {
    method CustomException (line 11) | public CustomException(String message) {
    method getMessage (line 16) | public String getMessage() {
    method setMessage (line 20) | public void setMessage(String message) {

FILE: src/main/java/com/system/exception/CustomExceptionResolver.java
  class CustomExceptionResolver (line 19) | public class CustomExceptionResolver implements HandlerExceptionResolver {
    method resolveException (line 21) | public ModelAndView resolveException(HttpServletRequest httpServletReq...

FILE: src/main/java/com/system/mapper/CollegeMapper.java
  type CollegeMapper (line 9) | public interface CollegeMapper {
    method countByExample (line 10) | int countByExample(CollegeExample example);
    method deleteByExample (line 12) | int deleteByExample(CollegeExample example);
    method deleteByPrimaryKey (line 14) | int deleteByPrimaryKey(Integer collegeid);
    method insert (line 16) | int insert(College record);
    method insertSelective (line 18) | int insertSelective(College record);
    method selectByExample (line 20) | List<College> selectByExample(CollegeExample example);
    method selectByPrimaryKey (line 22) | College selectByPrimaryKey(Integer collegeid);
    method updateByExampleSelective (line 24) | int updateByExampleSelective(@Param("record") College record, @Param("...
    method updateByExample (line 26) | int updateByExample(@Param("record") College record, @Param("example")...
    method updateByPrimaryKeySelective (line 28) | int updateByPrimaryKeySelective(College record);
    method updateByPrimaryKey (line 30) | int updateByPrimaryKey(College record);

FILE: src/main/java/com/system/mapper/CourseMapper.java
  type CourseMapper (line 9) | public interface CourseMapper {
    method countByExample (line 10) | int countByExample(CourseExample example);
    method deleteByExample (line 12) | int deleteByExample(CourseExample example);
    method deleteByPrimaryKey (line 14) | int deleteByPrimaryKey(Integer courseid);
    method insert (line 16) | int insert(Course record);
    method insertSelective (line 18) | int insertSelective(Course record);
    method selectByExample (line 20) | List<Course> selectByExample(CourseExample example);
    method selectByPrimaryKey (line 22) | Course selectByPrimaryKey(Integer courseid);
    method updateByExampleSelective (line 24) | int updateByExampleSelective(@Param("record") Course record, @Param("e...
    method updateByExample (line 26) | int updateByExample(@Param("record") Course record, @Param("example") ...
    method updateByPrimaryKeySelective (line 28) | int updateByPrimaryKeySelective(Course record);
    method updateByPrimaryKey (line 30) | int updateByPrimaryKey(Course record);

FILE: src/main/java/com/system/mapper/CourseMapperCustom.java
  type CourseMapperCustom (line 11) | public interface CourseMapperCustom {
    method findByPaging (line 14) | List<CourseCustom> findByPaging(PagingVO pagingVO) throws Exception;

FILE: src/main/java/com/system/mapper/RoleMapper.java
  type RoleMapper (line 9) | public interface RoleMapper {
    method countByExample (line 10) | int countByExample(RoleExample example);
    method deleteByExample (line 12) | int deleteByExample(RoleExample example);
    method deleteByPrimaryKey (line 14) | int deleteByPrimaryKey(Integer roleid);
    method insert (line 16) | int insert(Role record);
    method insertSelective (line 18) | int insertSelective(Role record);
    method selectByExample (line 20) | List<Role> selectByExample(RoleExample example);
    method selectByPrimaryKey (line 22) | Role selectByPrimaryKey(Integer roleid);
    method updateByExampleSelective (line 24) | int updateByExampleSelective(@Param("record") Role record, @Param("exa...
    method updateByExample (line 26) | int updateByExample(@Param("record") Role record, @Param("example") Ro...
    method updateByPrimaryKeySelective (line 28) | int updateByPrimaryKeySelective(Role record);
    method updateByPrimaryKey (line 30) | int updateByPrimaryKey(Role record);

FILE: src/main/java/com/system/mapper/SelectedcourseMapper.java
  type SelectedcourseMapper (line 9) | public interface SelectedcourseMapper {
    method countByExample (line 10) | int countByExample(SelectedcourseExample example);
    method deleteByExample (line 12) | int deleteByExample(SelectedcourseExample example);
    method insert (line 14) | int insert(Selectedcourse record);
    method insertSelective (line 16) | int insertSelective(Selectedcourse record);
    method selectByExample (line 18) | List<Selectedcourse> selectByExample(SelectedcourseExample example);
    method updateByExampleSelective (line 20) | int updateByExampleSelective(@Param("record") Selectedcourse record, @...
    method updateByExample (line 22) | int updateByExample(@Param("record") Selectedcourse record, @Param("ex...

FILE: src/main/java/com/system/mapper/StudentMapper.java
  type StudentMapper (line 9) | public interface StudentMapper {
    method countByExample (line 10) | int countByExample(StudentExample example);
    method deleteByExample (line 12) | int deleteByExample(StudentExample example);
    method deleteByPrimaryKey (line 14) | int deleteByPrimaryKey(Integer userid);
    method insert (line 16) | int insert(Student record);
    method insertSelective (line 18) | int insertSelective(Student record);
    method selectByExample (line 20) | List<Student> selectByExample(StudentExample example);
    method selectByPrimaryKey (line 22) | Student selectByPrimaryKey(Integer userid);
    method updateByExampleSelective (line 24) | int updateByExampleSelective(@Param("record") Student record, @Param("...
    method updateByExample (line 26) | int updateByExample(@Param("record") Student record, @Param("example")...
    method updateByPrimaryKeySelective (line 28) | int updateByPrimaryKeySelective(Student record);
    method updateByPrimaryKey (line 30) | int updateByPrimaryKey(Student record);

FILE: src/main/java/com/system/mapper/StudentMapperCustom.java
  type StudentMapperCustom (line 11) | public interface StudentMapperCustom {
    method findByPaging (line 14) | List<StudentCustom> findByPaging(PagingVO pagingVO) throws Exception;
    method findStudentAndSelectCourseListById (line 17) | StudentCustom findStudentAndSelectCourseListById(Integer id) throws Ex...

FILE: src/main/java/com/system/mapper/TeacherMapper.java
  type TeacherMapper (line 9) | public interface TeacherMapper {
    method countByExample (line 10) | int countByExample(TeacherExample example);
    method deleteByExample (line 12) | int deleteByExample(TeacherExample example);
    method deleteByPrimaryKey (line 14) | int deleteByPrimaryKey(Integer userid);
    method insert (line 16) | int insert(Teacher record);
    method insertSelective (line 18) | int insertSelective(Teacher record);
    method selectByExample (line 20) | List<Teacher> selectByExample(TeacherExample example);
    method selectByPrimaryKey (line 22) | Teacher selectByPrimaryKey(Integer userid);
    method updateByExampleSelective (line 24) | int updateByExampleSelective(@Param("record") Teacher record, @Param("...
    method updateByExample (line 26) | int updateByExample(@Param("record") Teacher record, @Param("example")...
    method updateByPrimaryKeySelective (line 28) | int updateByPrimaryKeySelective(Teacher record);
    method updateByPrimaryKey (line 30) | int updateByPrimaryKey(Teacher record);

FILE: src/main/java/com/system/mapper/TeacherMapperCustom.java
  type TeacherMapperCustom (line 11) | public interface TeacherMapperCustom {
    method findByPaging (line 14) | List<TeacherCustom> findByPaging(PagingVO pagingVO) throws Exception;

FILE: src/main/java/com/system/mapper/UserloginMapper.java
  type UserloginMapper (line 9) | public interface UserloginMapper {
    method countByExample (line 10) | int countByExample(UserloginExample example);
    method deleteByExample (line 12) | int deleteByExample(UserloginExample example);
    method deleteByPrimaryKey (line 14) | int deleteByPrimaryKey(Integer userid);
    method insert (line 16) | int insert(Userlogin record);
    method insertSelective (line 18) | int insertSelective(Userlogin record);
    method selectByExample (line 20) | List<Userlogin> selectByExample(UserloginExample example);
    method selectByPrimaryKey (line 22) | Userlogin selectByPrimaryKey(Integer userid);
    method updateByExampleSelective (line 24) | int updateByExampleSelective(@Param("record") Userlogin record, @Param...
    method updateByExample (line 26) | int updateByExample(@Param("record") Userlogin record, @Param("example...
    method updateByPrimaryKeySelective (line 28) | int updateByPrimaryKeySelective(Userlogin record);
    method updateByPrimaryKey (line 30) | int updateByPrimaryKey(Userlogin record);

FILE: src/main/java/com/system/mapper/UserloginMapperCustom.java
  type UserloginMapperCustom (line 8) | public interface UserloginMapperCustom {
    method findOneByName (line 10) | UserloginCustom findOneByName(String name) throws Exception;

FILE: src/main/java/com/system/po/College.java
  class College (line 3) | public class College {
    method getCollegeid (line 8) | public Integer getCollegeid() {
    method setCollegeid (line 12) | public void setCollegeid(Integer collegeid) {
    method getCollegename (line 16) | public String getCollegename() {
    method setCollegename (line 20) | public void setCollegename(String collegename) {

FILE: src/main/java/com/system/po/CollegeCustom.java
  class CollegeCustom (line 6) | public class CollegeCustom extends College {

FILE: src/main/java/com/system/po/CollegeExample.java
  class CollegeExample (line 6) | public class CollegeExample {
    method CollegeExample (line 13) | public CollegeExample() {
    method setOrderByClause (line 17) | public void setOrderByClause(String orderByClause) {
    method getOrderByClause (line 21) | public String getOrderByClause() {
    method setDistinct (line 25) | public void setDistinct(boolean distinct) {
    method isDistinct (line 29) | public boolean isDistinct() {
    method getOredCriteria (line 33) | public List<Criteria> getOredCriteria() {
    method or (line 37) | public void or(Criteria criteria) {
    method or (line 41) | public Criteria or() {
    method createCriteria (line 47) | public Criteria createCriteria() {
    method createCriteriaInternal (line 55) | protected Criteria createCriteriaInternal() {
    method clear (line 60) | public void clear() {
    class GeneratedCriteria (line 66) | protected abstract static class GeneratedCriteria {
      method GeneratedCriteria (line 69) | protected GeneratedCriteria() {
      method isValid (line 74) | public boolean isValid() {
      method getAllCriteria (line 78) | public List<Criterion> getAllCriteria() {
      method getCriteria (line 82) | public List<Criterion> getCriteria() {
      method addCriterion (line 86) | protected void addCriterion(String condition) {
      method addCriterion (line 93) | protected void addCriterion(String condition, Object value, String p...
      method addCriterion (line 100) | protected void addCriterion(String condition, Object value1, Object ...
      method andCollegeidIsNull (line 107) | public Criteria andCollegeidIsNull() {
      method andCollegeidIsNotNull (line 112) | public Criteria andCollegeidIsNotNull() {
      method andCollegeidEqualTo (line 117) | public Criteria andCollegeidEqualTo(Integer value) {
      method andCollegeidNotEqualTo (line 122) | public Criteria andCollegeidNotEqualTo(Integer value) {
      method andCollegeidGreaterThan (line 127) | public Criteria andCollegeidGreaterThan(Integer value) {
      method andCollegeidGreaterThanOrEqualTo (line 132) | public Criteria andCollegeidGreaterThanOrEqualTo(Integer value) {
      method andCollegeidLessThan (line 137) | public Criteria andCollegeidLessThan(Integer value) {
      method andCollegeidLessThanOrEqualTo (line 142) | public Criteria andCollegeidLessThanOrEqualTo(Integer value) {
      method andCollegeidIn (line 147) | public Criteria andCollegeidIn(List<Integer> values) {
      method andCollegeidNotIn (line 152) | public Criteria andCollegeidNotIn(List<Integer> values) {
      method andCollegeidBetween (line 157) | public Criteria andCollegeidBetween(Integer value1, Integer value2) {
      method andCollegeidNotBetween (line 162) | public Criteria andCollegeidNotBetween(Integer value1, Integer value...
      method andCollegenameIsNull (line 167) | public Criteria andCollegenameIsNull() {
      method andCollegenameIsNotNull (line 172) | public Criteria andCollegenameIsNotNull() {
      method andCollegenameEqualTo (line 177) | public Criteria andCollegenameEqualTo(String value) {
      method andCollegenameNotEqualTo (line 182) | public Criteria andCollegenameNotEqualTo(String value) {
      method andCollegenameGreaterThan (line 187) | public Criteria andCollegenameGreaterThan(String value) {
      method andCollegenameGreaterThanOrEqualTo (line 192) | public Criteria andCollegenameGreaterThanOrEqualTo(String value) {
      method andCollegenameLessThan (line 197) | public Criteria andCollegenameLessThan(String value) {
      method andCollegenameLessThanOrEqualTo (line 202) | public Criteria andCollegenameLessThanOrEqualTo(String value) {
      method andCollegenameLike (line 207) | public Criteria andCollegenameLike(String value) {
      method andCollegenameNotLike (line 212) | public Criteria andCollegenameNotLike(String value) {
      method andCollegenameIn (line 217) | public Criteria andCollegenameIn(List<String> values) {
      method andCollegenameNotIn (line 222) | public Criteria andCollegenameNotIn(List<String> values) {
      method andCollegenameBetween (line 227) | public Criteria andCollegenameBetween(String value1, String value2) {
      method andCollegenameNotBetween (line 232) | public Criteria andCollegenameNotBetween(String value1, String value...
    class Criteria (line 238) | public static class Criteria extends GeneratedCriteria {
      method Criteria (line 240) | protected Criteria() {
    class Criterion (line 245) | public static class Criterion {
      method getCondition (line 262) | public String getCondition() {
      method getValue (line 266) | public Object getValue() {
      method getSecondValue (line 270) | public Object getSecondValue() {
      method isNoValue (line 274) | public boolean isNoValue() {
      method isSingleValue (line 278) | public boolean isSingleValue() {
      method isBetweenValue (line 282) | public boolean isBetweenValue() {
      method isListValue (line 286) | public boolean isListValue() {
      method getTypeHandler (line 290) | public String getTypeHandler() {
      method Criterion (line 294) | protected Criterion(String condition) {
      method Criterion (line 301) | protected Criterion(String condition, Object value, String typeHandl...
      method Criterion (line 313) | protected Criterion(String condition, Object value) {
      method Criterion (line 317) | protected Criterion(String condition, Object value, Object secondVal...
      method Criterion (line 326) | protected Criterion(String condition, Object value, Object secondVal...

FILE: src/main/java/com/system/po/Course.java
  class Course (line 3) | public class Course {
    method getCourseid (line 22) | public Integer getCourseid() {
    method setCourseid (line 26) | public void setCourseid(Integer courseid) {
    method getCoursename (line 30) | public String getCoursename() {
    method setCoursename (line 34) | public void setCoursename(String coursename) {
    method getTeacherid (line 38) | public Integer getTeacherid() {
    method setTeacherid (line 42) | public void setTeacherid(Integer teacherid) {
    method getCoursetime (line 46) | public String getCoursetime() {
    method setCoursetime (line 50) | public void setCoursetime(String coursetime) {
    method getClassroom (line 54) | public String getClassroom() {
    method setClassroom (line 58) | public void setClassroom(String classroom) {
    method getCourseweek (line 62) | public Integer getCourseweek() {
    method setCourseweek (line 66) | public void setCourseweek(Integer courseweek) {
    method getCoursetype (line 70) | public String getCoursetype() {
    method setCoursetype (line 74) | public void setCoursetype(String coursetype) {
    method getCollegeid (line 78) | public Integer getCollegeid() {
    method setCollegeid (line 82) | public void setCollegeid(Integer collegeid) {
    method getScore (line 86) | public Integer getScore() {
    method setScore (line 90) | public void setScore(Integer score) {

FILE: src/main/java/com/system/po/CourseCustom.java
  class CourseCustom (line 6) | public class CourseCustom extends Course {
    method setcollegeName (line 11) | public void setcollegeName(String collegeName) {
    method getcollegeName (line 15) | public String getcollegeName() {

FILE: src/main/java/com/system/po/CourseExample.java
  class CourseExample (line 6) | public class CourseExample {
    method CourseExample (line 13) | public CourseExample() {
    method setOrderByClause (line 17) | public void setOrderByClause(String orderByClause) {
    method getOrderByClause (line 21) | public String getOrderByClause() {
    method setDistinct (line 25) | public void setDistinct(boolean distinct) {
    method isDistinct (line 29) | public boolean isDistinct() {
    method getOredCriteria (line 33) | public List<Criteria> getOredCriteria() {
    method or (line 37) | public void or(Criteria criteria) {
    method or (line 41) | public Criteria or() {
    method createCriteria (line 47) | public Criteria createCriteria() {
    method createCriteriaInternal (line 55) | protected Criteria createCriteriaInternal() {
    method clear (line 60) | public void clear() {
    class GeneratedCriteria (line 66) | protected abstract static class GeneratedCriteria {
      method GeneratedCriteria (line 69) | protected GeneratedCriteria() {
      method isValid (line 74) | public boolean isValid() {
      method getAllCriteria (line 78) | public List<Criterion> getAllCriteria() {
      method getCriteria (line 82) | public List<Criterion> getCriteria() {
      method addCriterion (line 86) | protected void addCriterion(String condition) {
      method addCriterion (line 93) | protected void addCriterion(String condition, Object value, String p...
      method addCriterion (line 100) | protected void addCriterion(String condition, Object value1, Object ...
      method andCourseidIsNull (line 107) | public Criteria andCourseidIsNull() {
      method andCourseidIsNotNull (line 112) | public Criteria andCourseidIsNotNull() {
      method andCourseidEqualTo (line 117) | public Criteria andCourseidEqualTo(Integer value) {
      method andCourseidNotEqualTo (line 122) | public Criteria andCourseidNotEqualTo(Integer value) {
      method andCourseidGreaterThan (line 127) | public Criteria andCourseidGreaterThan(Integer value) {
      method andCourseidGreaterThanOrEqualTo (line 132) | public Criteria andCourseidGreaterThanOrEqualTo(Integer value) {
      method andCourseidLessThan (line 137) | public Criteria andCourseidLessThan(Integer value) {
      method andCourseidLessThanOrEqualTo (line 142) | public Criteria andCourseidLessThanOrEqualTo(Integer value) {
      method andCourseidIn (line 147) | public Criteria andCourseidIn(List<Integer> values) {
      method andCourseidNotIn (line 152) | public Criteria andCourseidNotIn(List<Integer> values) {
      method andCourseidBetween (line 157) | public Criteria andCourseidBetween(Integer value1, Integer value2) {
      method andCourseidNotBetween (line 162) | public Criteria andCourseidNotBetween(Integer value1, Integer value2) {
      method andCoursenameIsNull (line 167) | public Criteria andCoursenameIsNull() {
      method andCoursenameIsNotNull (line 172) | public Criteria andCoursenameIsNotNull() {
      method andCoursenameEqualTo (line 177) | public Criteria andCoursenameEqualTo(String value) {
      method andCoursenameNotEqualTo (line 182) | public Criteria andCoursenameNotEqualTo(String value) {
      method andCoursenameGreaterThan (line 187) | public Criteria andCoursenameGreaterThan(String value) {
      method andCoursenameGreaterThanOrEqualTo (line 192) | public Criteria andCoursenameGreaterThanOrEqualTo(String value) {
      method andCoursenameLessThan (line 197) | public Criteria andCoursenameLessThan(String value) {
      method andCoursenameLessThanOrEqualTo (line 202) | public Criteria andCoursenameLessThanOrEqualTo(String value) {
      method andCoursenameLike (line 207) | public Criteria andCoursenameLike(String value) {
      method andCoursenameNotLike (line 212) | public Criteria andCoursenameNotLike(String value) {
      method andCoursenameIn (line 217) | public Criteria andCoursenameIn(List<String> values) {
      method andCoursenameNotIn (line 222) | public Criteria andCoursenameNotIn(List<String> values) {
      method andCoursenameBetween (line 227) | public Criteria andCoursenameBetween(String value1, String value2) {
      method andCoursenameNotBetween (line 232) | public Criteria andCoursenameNotBetween(String value1, String value2) {
      method andTeacheridIsNull (line 237) | public Criteria andTeacheridIsNull() {
      method andTeacheridIsNotNull (line 242) | public Criteria andTeacheridIsNotNull() {
      method andTeacheridEqualTo (line 247) | public Criteria andTeacheridEqualTo(Integer value) {
      method andTeacheridNotEqualTo (line 252) | public Criteria andTeacheridNotEqualTo(Integer value) {
      method andTeacheridGreaterThan (line 257) | public Criteria andTeacheridGreaterThan(Integer value) {
      method andTeacheridGreaterThanOrEqualTo (line 262) | public Criteria andTeacheridGreaterThanOrEqualTo(Integer value) {
      method andTeacheridLessThan (line 267) | public Criteria andTeacheridLessThan(Integer value) {
      method andTeacheridLessThanOrEqualTo (line 272) | public Criteria andTeacheridLessThanOrEqualTo(Integer value) {
      method andTeacheridIn (line 277) | public Criteria andTeacheridIn(List<Integer> values) {
      method andTeacheridNotIn (line 282) | public Criteria andTeacheridNotIn(List<Integer> values) {
      method andTeacheridBetween (line 287) | public Criteria andTeacheridBetween(Integer value1, Integer value2) {
      method andTeacheridNotBetween (line 292) | public Criteria andTeacheridNotBetween(Integer value1, Integer value...
      method andCoursetimeIsNull (line 297) | public Criteria andCoursetimeIsNull() {
      method andCoursetimeIsNotNull (line 302) | public Criteria andCoursetimeIsNotNull() {
      method andCoursetimeEqualTo (line 307) | public Criteria andCoursetimeEqualTo(String value) {
      method andCoursetimeNotEqualTo (line 312) | public Criteria andCoursetimeNotEqualTo(String value) {
      method andCoursetimeGreaterThan (line 317) | public Criteria andCoursetimeGreaterThan(String value) {
      method andCoursetimeGreaterThanOrEqualTo (line 322) | public Criteria andCoursetimeGreaterThanOrEqualTo(String value) {
      method andCoursetimeLessThan (line 327) | public Criteria andCoursetimeLessThan(String value) {
      method andCoursetimeLessThanOrEqualTo (line 332) | public Criteria andCoursetimeLessThanOrEqualTo(String value) {
      method andCoursetimeLike (line 337) | public Criteria andCoursetimeLike(String value) {
      method andCoursetimeNotLike (line 342) | public Criteria andCoursetimeNotLike(String value) {
      method andCoursetimeIn (line 347) | public Criteria andCoursetimeIn(List<String> values) {
      method andCoursetimeNotIn (line 352) | public Criteria andCoursetimeNotIn(List<String> values) {
      method andCoursetimeBetween (line 357) | public Criteria andCoursetimeBetween(String value1, String value2) {
      method andCoursetimeNotBetween (line 362) | public Criteria andCoursetimeNotBetween(String value1, String value2) {
      method andClassroomIsNull (line 367) | public Criteria andClassroomIsNull() {
      method andClassroomIsNotNull (line 372) | public Criteria andClassroomIsNotNull() {
      method andClassroomEqualTo (line 377) | public Criteria andClassroomEqualTo(String value) {
      method andClassroomNotEqualTo (line 382) | public Criteria andClassroomNotEqualTo(String value) {
      method andClassroomGreaterThan (line 387) | public Criteria andClassroomGreaterThan(String value) {
      method andClassroomGreaterThanOrEqualTo (line 392) | public Criteria andClassroomGreaterThanOrEqualTo(String value) {
      method andClassroomLessThan (line 397) | public Criteria andClassroomLessThan(String value) {
      method andClassroomLessThanOrEqualTo (line 402) | public Criteria andClassroomLessThanOrEqualTo(String value) {
      method andClassroomLike (line 407) | public Criteria andClassroomLike(String value) {
      method andClassroomNotLike (line 412) | public Criteria andClassroomNotLike(String value) {
      method andClassroomIn (line 417) | public Criteria andClassroomIn(List<String> values) {
      method andClassroomNotIn (line 422) | public Criteria andClassroomNotIn(List<String> values) {
      method andClassroomBetween (line 427) | public Criteria andClassroomBetween(String value1, String value2) {
      method andClassroomNotBetween (line 432) | public Criteria andClassroomNotBetween(String value1, String value2) {
      method andCourseweekIsNull (line 437) | public Criteria andCourseweekIsNull() {
      method andCourseweekIsNotNull (line 442) | public Criteria andCourseweekIsNotNull() {
      method andCourseweekEqualTo (line 447) | public Criteria andCourseweekEqualTo(Integer value) {
      method andCourseweekNotEqualTo (line 452) | public Criteria andCourseweekNotEqualTo(Integer value) {
      method andCourseweekGreaterThan (line 457) | public Criteria andCourseweekGreaterThan(Integer value) {
      method andCourseweekGreaterThanOrEqualTo (line 462) | public Criteria andCourseweekGreaterThanOrEqualTo(Integer value) {
      method andCourseweekLessThan (line 467) | public Criteria andCourseweekLessThan(Integer value) {
      method andCourseweekLessThanOrEqualTo (line 472) | public Criteria andCourseweekLessThanOrEqualTo(Integer value) {
      method andCourseweekIn (line 477) | public Criteria andCourseweekIn(List<Integer> values) {
      method andCourseweekNotIn (line 482) | public Criteria andCourseweekNotIn(List<Integer> values) {
      method andCourseweekBetween (line 487) | public Criteria andCourseweekBetween(Integer value1, Integer value2) {
      method andCourseweekNotBetween (line 492) | public Criteria andCourseweekNotBetween(Integer value1, Integer valu...
      method andCoursetypeIsNull (line 497) | public Criteria andCoursetypeIsNull() {
      method andCoursetypeIsNotNull (line 502) | public Criteria andCoursetypeIsNotNull() {
      method andCoursetypeEqualTo (line 507) | public Criteria andCoursetypeEqualTo(String value) {
      method andCoursetypeNotEqualTo (line 512) | public Criteria andCoursetypeNotEqualTo(String value) {
      method andCoursetypeGreaterThan (line 517) | public Criteria andCoursetypeGreaterThan(String value) {
      method andCoursetypeGreaterThanOrEqualTo (line 522) | public Criteria andCoursetypeGreaterThanOrEqualTo(String value) {
      method andCoursetypeLessThan (line 527) | public Criteria andCoursetypeLessThan(String value) {
      method andCoursetypeLessThanOrEqualTo (line 532) | public Criteria andCoursetypeLessThanOrEqualTo(String value) {
      method andCoursetypeLike (line 537) | public Criteria andCoursetypeLike(String value) {
      method andCoursetypeNotLike (line 542) | public Criteria andCoursetypeNotLike(String value) {
      method andCoursetypeIn (line 547) | public Criteria andCoursetypeIn(List<String> values) {
      method andCoursetypeNotIn (line 552) | public Criteria andCoursetypeNotIn(List<String> values) {
      method andCoursetypeBetween (line 557) | public Criteria andCoursetypeBetween(String value1, String value2) {
      method andCoursetypeNotBetween (line 562) | public Criteria andCoursetypeNotBetween(String value1, String value2) {
      method andCollegeidIsNull (line 567) | public Criteria andCollegeidIsNull() {
      method andCollegeidIsNotNull (line 572) | public Criteria andCollegeidIsNotNull() {
      method andCollegeidEqualTo (line 577) | public Criteria andCollegeidEqualTo(Integer value) {
      method andCollegeidNotEqualTo (line 582) | public Criteria andCollegeidNotEqualTo(Integer value) {
      method andCollegeidGreaterThan (line 587) | public Criteria andCollegeidGreaterThan(Integer value) {
      method andCollegeidGreaterThanOrEqualTo (line 592) | public Criteria andCollegeidGreaterThanOrEqualTo(Integer value) {
      method andCollegeidLessThan (line 597) | public Criteria andCollegeidLessThan(Integer value) {
      method andCollegeidLessThanOrEqualTo (line 602) | public Criteria andCollegeidLessThanOrEqualTo(Integer value) {
      method andCollegeidIn (line 607) | public Criteria andCollegeidIn(List<Integer> values) {
      method andCollegeidNotIn (line 612) | public Criteria andCollegeidNotIn(List<Integer> values) {
      method andCollegeidBetween (line 617) | public Criteria andCollegeidBetween(Integer value1, Integer value2) {
      method andCollegeidNotBetween (line 622) | public Criteria andCollegeidNotBetween(Integer value1, Integer value...
      method andScoreIsNull (line 627) | public Criteria andScoreIsNull() {
      method andScoreIsNotNull (line 632) | public Criteria andScoreIsNotNull() {
      method andScoreEqualTo (line 637) | public Criteria andScoreEqualTo(Integer value) {
      method andScoreNotEqualTo (line 642) | public Criteria andScoreNotEqualTo(Integer value) {
      method andScoreGreaterThan (line 647) | public Criteria andScoreGreaterThan(Integer value) {
      method andScoreGreaterThanOrEqualTo (line 652) | public Criteria andScoreGreaterThanOrEqualTo(Integer value) {
      method andScoreLessThan (line 657) | public Criteria andScoreLessThan(Integer value) {
      method andScoreLessThanOrEqualTo (line 662) | public Criteria andScoreLessThanOrEqualTo(Integer value) {
      method andScoreIn (line 667) | public Criteria andScoreIn(List<Integer> values) {
      method andScoreNotIn (line 672) | public Criteria andScoreNotIn(List<Integer> values) {
      method andScoreBetween (line 677) | public Criteria andScoreBetween(Integer value1, Integer value2) {
      method andScoreNotBetween (line 682) | public Criteria andScoreNotBetween(Integer value1, Integer value2) {
    class Criteria (line 688) | public static class Criteria extends GeneratedCriteria {
      method Criteria (line 690) | protected Criteria() {
    class Criterion (line 695) | public static class Criterion {
      method getCondition (line 712) | public String getCondition() {
      method getValue (line 716) | public Object getValue() {
      method getSecondValue (line 720) | public Object getSecondValue() {
      method isNoValue (line 724) | public boolean isNoValue() {
      method isSingleValue (line 728) | public boolean isSingleValue() {
      method isBetweenValue (line 732) | public boolean isBetweenValue() {
      method isListValue (line 736) | public boolean isListValue() {
      method getTypeHandler (line 740) | public String getTypeHandler() {
      method Criterion (line 744) | protected Criterion(String condition) {
      method Criterion (line 751) | protected Criterion(String condition, Object value, String typeHandl...
      method Criterion (line 763) | protected Criterion(String condition, Object value) {
      method Criterion (line 767) | protected Criterion(String condition, Object value, Object secondVal...
      method Criterion (line 776) | protected Criterion(String condition, Object value, Object secondVal...

FILE: src/main/java/com/system/po/PagingVO.java
  class PagingVO (line 6) | public class PagingVO {
    method setToPageNo (line 21) | public void setToPageNo(Integer toPageNo) {
    method getTopageNo (line 28) | public Integer getTopageNo() {
    method getCurentPageNo (line 32) | public int getCurentPageNo() {
    method setCurentPageNo (line 37) | public void setCurentPageNo(int curentPageNo) {
    method getTotalCount (line 46) | public int getTotalCount() {
    method setTotalCount (line 50) | public void setTotalCount(int totalCount) {
    method getPageSize (line 59) | public int getPageSize() {
    method setPageSize (line 63) | public void setPageSize(int pageSize) {
    method getUpPageNo (line 67) | public int getUpPageNo() {
    method setUpPageNo (line 71) | public void setUpPageNo(int upPageNo) {
    method getNextPageNo (line 75) | public int getNextPageNo() {
    method setNextPageNo (line 79) | public void setNextPageNo(int nextPageNo) {

FILE: src/main/java/com/system/po/Role.java
  class Role (line 3) | public class Role {
    method getRoleid (line 10) | public Integer getRoleid() {
    method setRoleid (line 14) | public void setRoleid(Integer roleid) {
    method getRolename (line 18) | public String getRolename() {
    method setRolename (line 22) | public void setRolename(String rolename) {
    method getPermissions (line 26) | public String getPermissions() {
    method setPermissions (line 30) | public void setPermissions(String permissions) {

FILE: src/main/java/com/system/po/RoleExample.java
  class RoleExample (line 6) | public class RoleExample {
    method RoleExample (line 13) | public RoleExample() {
    method setOrderByClause (line 17) | public void setOrderByClause(String orderByClause) {
    method getOrderByClause (line 21) | public String getOrderByClause() {
    method setDistinct (line 25) | public void setDistinct(boolean distinct) {
    method isDistinct (line 29) | public boolean isDistinct() {
    method getOredCriteria (line 33) | public List<Criteria> getOredCriteria() {
    method or (line 37) | public void or(Criteria criteria) {
    method or (line 41) | public Criteria or() {
    method createCriteria (line 47) | public Criteria createCriteria() {
    method createCriteriaInternal (line 55) | protected Criteria createCriteriaInternal() {
    method clear (line 60) | public void clear() {
    class GeneratedCriteria (line 66) | protected abstract static class GeneratedCriteria {
      method GeneratedCriteria (line 69) | protected GeneratedCriteria() {
      method isValid (line 74) | public boolean isValid() {
      method getAllCriteria (line 78) | public List<Criterion> getAllCriteria() {
      method getCriteria (line 82) | public List<Criterion> getCriteria() {
      method addCriterion (line 86) | protected void addCriterion(String condition) {
      method addCriterion (line 93) | protected void addCriterion(String condition, Object value, String p...
      method addCriterion (line 100) | protected void addCriterion(String condition, Object value1, Object ...
      method andRoleidIsNull (line 107) | public Criteria andRoleidIsNull() {
      method andRoleidIsNotNull (line 112) | public Criteria andRoleidIsNotNull() {
      method andRoleidEqualTo (line 117) | public Criteria andRoleidEqualTo(Integer value) {
      method andRoleidNotEqualTo (line 122) | public Criteria andRoleidNotEqualTo(Integer value) {
      method andRoleidGreaterThan (line 127) | public Criteria andRoleidGreaterThan(Integer value) {
      method andRoleidGreaterThanOrEqualTo (line 132) | public Criteria andRoleidGreaterThanOrEqualTo(Integer value) {
      method andRoleidLessThan (line 137) | public Criteria andRoleidLessThan(Integer value) {
      method andRoleidLessThanOrEqualTo (line 142) | public Criteria andRoleidLessThanOrEqualTo(Integer value) {
      method andRoleidIn (line 147) | public Criteria andRoleidIn(List<Integer> values) {
      method andRoleidNotIn (line 152) | public Criteria andRoleidNotIn(List<Integer> values) {
      method andRoleidBetween (line 157) | public Criteria andRoleidBetween(Integer value1, Integer value2) {
      method andRoleidNotBetween (line 162) | public Criteria andRoleidNotBetween(Integer value1, Integer value2) {
      method andRolenameIsNull (line 167) | public Criteria andRolenameIsNull() {
      method andRolenameIsNotNull (line 172) | public Criteria andRolenameIsNotNull() {
      method andRolenameEqualTo (line 177) | public Criteria andRolenameEqualTo(String value) {
      method andRolenameNotEqualTo (line 182) | public Criteria andRolenameNotEqualTo(String value) {
      method andRolenameGreaterThan (line 187) | public Criteria andRolenameGreaterThan(String value) {
      method andRolenameGreaterThanOrEqualTo (line 192) | public Criteria andRolenameGreaterThanOrEqualTo(String value) {
      method andRolenameLessThan (line 197) | public Criteria andRolenameLessThan(String value) {
      method andRolenameLessThanOrEqualTo (line 202) | public Criteria andRolenameLessThanOrEqualTo(String value) {
      method andRolenameLike (line 207) | public Criteria andRolenameLike(String value) {
      method andRolenameNotLike (line 212) | public Criteria andRolenameNotLike(String value) {
      method andRolenameIn (line 217) | public Criteria andRolenameIn(List<String> values) {
      method andRolenameNotIn (line 222) | public Criteria andRolenameNotIn(List<String> values) {
      method andRolenameBetween (line 227) | public Criteria andRolenameBetween(String value1, String value2) {
      method andRolenameNotBetween (line 232) | public Criteria andRolenameNotBetween(String value1, String value2) {
      method andPermissionsIsNull (line 237) | public Criteria andPermissionsIsNull() {
      method andPermissionsIsNotNull (line 242) | public Criteria andPermissionsIsNotNull() {
      method andPermissionsEqualTo (line 247) | public Criteria andPermissionsEqualTo(String value) {
      method andPermissionsNotEqualTo (line 252) | public Criteria andPermissionsNotEqualTo(String value) {
      method andPermissionsGreaterThan (line 257) | public Criteria andPermissionsGreaterThan(String value) {
      method andPermissionsGreaterThanOrEqualTo (line 262) | public Criteria andPermissionsGreaterThanOrEqualTo(String value) {
      method andPermissionsLessThan (line 267) | public Criteria andPermissionsLessThan(String value) {
      method andPermissionsLessThanOrEqualTo (line 272) | public Criteria andPermissionsLessThanOrEqualTo(String value) {
      method andPermissionsLike (line 277) | public Criteria andPermissionsLike(String value) {
      method andPermissionsNotLike (line 282) | public Criteria andPermissionsNotLike(String value) {
      method andPermissionsIn (line 287) | public Criteria andPermissionsIn(List<String> values) {
      method andPermissionsNotIn (line 292) | public Criteria andPermissionsNotIn(List<String> values) {
      method andPermissionsBetween (line 297) | public Criteria andPermissionsBetween(String value1, String value2) {
      method andPermissionsNotBetween (line 302) | public Criteria andPermissionsNotBetween(String value1, String value...
    class Criteria (line 308) | public static class Criteria extends GeneratedCriteria {
      method Criteria (line 310) | protected Criteria() {
    class Criterion (line 315) | public static class Criterion {
      method getCondition (line 332) | public String getCondition() {
      method getValue (line 336) | public Object getValue() {
      method getSecondValue (line 340) | public Object getSecondValue() {
      method isNoValue (line 344) | public boolean isNoValue() {
      method isSingleValue (line 348) | public boolean isSingleValue() {
      method isBetweenValue (line 352) | public boolean isBetweenValue() {
      method isListValue (line 356) | public boolean isListValue() {
      method getTypeHandler (line 360) | public String getTypeHandler() {
      method Criterion (line 364) | protected Criterion(String condition) {
      method Criterion (line 371) | protected Criterion(String condition, Object value, String typeHandl...
      method Criterion (line 383) | protected Criterion(String condition, Object value) {
      method Criterion (line 387) | protected Criterion(String condition, Object value, Object secondVal...
      method Criterion (line 396) | protected Criterion(String condition, Object value, Object secondVal...

FILE: src/main/java/com/system/po/SelectedCourseCustom.java
  class SelectedCourseCustom (line 6) | public class SelectedCourseCustom extends Selectedcourse {
    method getOver (line 17) | public Boolean getOver() {
    method setOver (line 21) | public void setOver(Boolean over) {
    method getStudentCustom (line 25) | public StudentCustom getStudentCustom() {
    method setStudentCustom (line 29) | public void setStudentCustom(StudentCustom studentCustom) {
    method getCouseCustom (line 33) | public CourseCustom getCouseCustom() {
    method setCouseCustom (line 37) | public void setCouseCustom(CourseCustom couseCustom) {

FILE: src/main/java/com/system/po/Selectedcourse.java
  class Selectedcourse (line 3) | public class Selectedcourse {
    method getCourseid (line 10) | public Integer getCourseid() {
    method setCourseid (line 14) | public void setCourseid(Integer courseid) {
    method getStudentid (line 18) | public Integer getStudentid() {
    method setStudentid (line 22) | public void setStudentid(Integer studentid) {
    method getMark (line 26) | public Integer getMark() {
    method setMark (line 30) | public void setMark(Integer mark) {

FILE: src/main/java/com/system/po/SelectedcourseExample.java
  class SelectedcourseExample (line 6) | public class SelectedcourseExample {
    method SelectedcourseExample (line 13) | public SelectedcourseExample() {
    method setOrderByClause (line 17) | public void setOrderByClause(String orderByClause) {
    method getOrderByClause (line 21) | public String getOrderByClause() {
    method setDistinct (line 25) | public void setDistinct(boolean distinct) {
    method isDistinct (line 29) | public boolean isDistinct() {
    method getOredCriteria (line 33) | public List<Criteria> getOredCriteria() {
    method or (line 37) | public void or(Criteria criteria) {
    method or (line 41) | public Criteria or() {
    method createCriteria (line 47) | public Criteria createCriteria() {
    method createCriteriaInternal (line 55) | protected Criteria createCriteriaInternal() {
    method clear (line 60) | public void clear() {
    class GeneratedCriteria (line 66) | protected abstract static class GeneratedCriteria {
      method GeneratedCriteria (line 69) | protected GeneratedCriteria() {
      method isValid (line 74) | public boolean isValid() {
      method getAllCriteria (line 78) | public List<Criterion> getAllCriteria() {
      method getCriteria (line 82) | public List<Criterion> getCriteria() {
      method addCriterion (line 86) | protected void addCriterion(String condition) {
      method addCriterion (line 93) | protected void addCriterion(String condition, Object value, String p...
      method addCriterion (line 100) | protected void addCriterion(String condition, Object value1, Object ...
      method andCourseidIsNull (line 107) | public Criteria andCourseidIsNull() {
      method andCourseidIsNotNull (line 112) | public Criteria andCourseidIsNotNull() {
      method andCourseidEqualTo (line 117) | public Criteria andCourseidEqualTo(Integer value) {
      method andCourseidNotEqualTo (line 122) | public Criteria andCourseidNotEqualTo(Integer value) {
      method andCourseidGreaterThan (line 127) | public Criteria andCourseidGreaterThan(Integer value) {
      method andCourseidGreaterThanOrEqualTo (line 132) | public Criteria andCourseidGreaterThanOrEqualTo(Integer value) {
      method andCourseidLessThan (line 137) | public Criteria andCourseidLessThan(Integer value) {
      method andCourseidLessThanOrEqualTo (line 142) | public Criteria andCourseidLessThanOrEqualTo(Integer value) {
      method andCourseidIn (line 147) | public Criteria andCourseidIn(List<Integer> values) {
      method andCourseidNotIn (line 152) | public Criteria andCourseidNotIn(List<Integer> values) {
      method andCourseidBetween (line 157) | public Criteria andCourseidBetween(Integer value1, Integer value2) {
      method andCourseidNotBetween (line 162) | public Criteria andCourseidNotBetween(Integer value1, Integer value2) {
      method andStudentidIsNull (line 167) | public Criteria andStudentidIsNull() {
      method andStudentidIsNotNull (line 172) | public Criteria andStudentidIsNotNull() {
      method andStudentidEqualTo (line 177) | public Criteria andStudentidEqualTo(Integer value) {
      method andStudentidNotEqualTo (line 182) | public Criteria andStudentidNotEqualTo(Integer value) {
      method andStudentidGreaterThan (line 187) | public Criteria andStudentidGreaterThan(Integer value) {
      method andStudentidGreaterThanOrEqualTo (line 192) | public Criteria andStudentidGreaterThanOrEqualTo(Integer value) {
      method andStudentidLessThan (line 197) | public Criteria andStudentidLessThan(Integer value) {
      method andStudentidLessThanOrEqualTo (line 202) | public Criteria andStudentidLessThanOrEqualTo(Integer value) {
      method andStudentidIn (line 207) | public Criteria andStudentidIn(List<Integer> values) {
      method andStudentidNotIn (line 212) | public Criteria andStudentidNotIn(List<Integer> values) {
      method andStudentidBetween (line 217) | public Criteria andStudentidBetween(Integer value1, Integer value2) {
      method andStudentidNotBetween (line 222) | public Criteria andStudentidNotBetween(Integer value1, Integer value...
      method andMarkIsNull (line 227) | public Criteria andMarkIsNull() {
      method andMarkIsNotNull (line 232) | public Criteria andMarkIsNotNull() {
      method andMarkEqualTo (line 237) | public Criteria andMarkEqualTo(Integer value) {
      method andMarkNotEqualTo (line 242) | public Criteria andMarkNotEqualTo(Integer value) {
      method andMarkGreaterThan (line 247) | public Criteria andMarkGreaterThan(Integer value) {
      method andMarkGreaterThanOrEqualTo (line 252) | public Criteria andMarkGreaterThanOrEqualTo(Integer value) {
      method andMarkLessThan (line 257) | public Criteria andMarkLessThan(Integer value) {
      method andMarkLessThanOrEqualTo (line 262) | public Criteria andMarkLessThanOrEqualTo(Integer value) {
      method andMarkIn (line 267) | public Criteria andMarkIn(List<Integer> values) {
      method andMarkNotIn (line 272) | public Criteria andMarkNotIn(List<Integer> values) {
      method andMarkBetween (line 277) | public Criteria andMarkBetween(Integer value1, Integer value2) {
      method andMarkNotBetween (line 282) | public Criteria andMarkNotBetween(Integer value1, Integer value2) {
    class Criteria (line 288) | public static class Criteria extends GeneratedCriteria {
      method Criteria (line 290) | protected Criteria() {
    class Criterion (line 295) | public static class Criterion {
      method getCondition (line 312) | public String getCondition() {
      method getValue (line 316) | public Object getValue() {
      method getSecondValue (line 320) | public Object getSecondValue() {
      method isNoValue (line 324) | public boolean isNoValue() {
      method isSingleValue (line 328) | public boolean isSingleValue() {
      method isBetweenValue (line 332) | public boolean isBetweenValue() {
      method isListValue (line 336) | public boolean isListValue() {
      method getTypeHandler (line 340) | public String getTypeHandler() {
      method Criterion (line 344) | protected Criterion(String condition) {
      method Criterion (line 351) | protected Criterion(String condition, Object value, String typeHandl...
      method Criterion (line 363) | protected Criterion(String condition, Object value) {
      method Criterion (line 367) | protected Criterion(String condition, Object value, Object secondVal...
      method Criterion (line 376) | protected Criterion(String condition, Object value, Object secondVal...

FILE: src/main/java/com/system/po/Student.java
  class Student (line 5) | public class Student {
    method getUserid (line 18) | public Integer getUserid() {
    method setUserid (line 22) | public void setUserid(Integer userid) {
    method getUsername (line 26) | public String getUsername() {
    method setUsername (line 30) | public void setUsername(String username) {
    method getSex (line 34) | public String getSex() {
    method setSex (line 38) | public void setSex(String sex) {
    method getBirthyear (line 42) | public Date getBirthyear() {
    method setBirthyear (line 46) | public void setBirthyear(Date birthyear) {
    method getGrade (line 50) | public Date getGrade() {
    method setGrade (line 54) | public void setGrade(Date grade) {
    method getCollegeid (line 58) | public Integer getCollegeid() {
    method setCollegeid (line 62) | public void setCollegeid(Integer collegeid) {

FILE: src/main/java/com/system/po/StudentCustom.java
  class StudentCustom (line 8) | public class StudentCustom extends Student {
    method setcollegeName (line 16) | public void setcollegeName(String collegeName) {
    method getcollegeName (line 20) | public String getcollegeName() {
    method setSelectedCourseList (line 24) | public void setSelectedCourseList(List<SelectedCourseCustom> selectedC...
    method getSelectedCourseList (line 28) | public List<SelectedCourseCustom> getSelectedCourseList() {

FILE: src/main/java/com/system/po/StudentExample.java
  class StudentExample (line 8) | public class StudentExample {
    method StudentExample (line 15) | public StudentExample() {
    method setOrderByClause (line 19) | public void setOrderByClause(String orderByClause) {
    method getOrderByClause (line 23) | public String getOrderByClause() {
    method setDistinct (line 27) | public void setDistinct(boolean distinct) {
    method isDistinct (line 31) | public boolean isDistinct() {
    method getOredCriteria (line 35) | public List<Criteria> getOredCriteria() {
    method or (line 39) | public void or(Criteria criteria) {
    method or (line 43) | public Criteria or() {
    method createCriteria (line 49) | public Criteria createCriteria() {
    method createCriteriaInternal (line 57) | protected Criteria createCriteriaInternal() {
    method clear (line 62) | public void clear() {
    class GeneratedCriteria (line 68) | protected abstract static class GeneratedCriteria {
      method GeneratedCriteria (line 71) | protected GeneratedCriteria() {
      method isValid (line 76) | public boolean isValid() {
      method getAllCriteria (line 80) | public List<Criterion> getAllCriteria() {
      method getCriteria (line 84) | public List<Criterion> getCriteria() {
      method addCriterion (line 88) | protected void addCriterion(String condition) {
      method addCriterion (line 95) | protected void addCriterion(String condition, Object value, String p...
      method addCriterion (line 102) | protected void addCriterion(String condition, Object value1, Object ...
      method addCriterionForJDBCDate (line 109) | protected void addCriterionForJDBCDate(String condition, Date value,...
      method addCriterionForJDBCDate (line 116) | protected void addCriterionForJDBCDate(String condition, List<Date> ...
      method addCriterionForJDBCDate (line 128) | protected void addCriterionForJDBCDate(String condition, Date value1...
      method andUseridIsNull (line 135) | public Criteria andUseridIsNull() {
      method andUseridIsNotNull (line 140) | public Criteria andUseridIsNotNull() {
      method andUseridEqualTo (line 145) | public Criteria andUseridEqualTo(Integer value) {
      method andUseridNotEqualTo (line 150) | public Criteria andUseridNotEqualTo(Integer value) {
      method andUseridGreaterThan (line 155) | public Criteria andUseridGreaterThan(Integer value) {
      method andUseridGreaterThanOrEqualTo (line 160) | public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
      method andUseridLessThan (line 165) | public Criteria andUseridLessThan(Integer value) {
      method andUseridLessThanOrEqualTo (line 170) | public Criteria andUseridLessThanOrEqualTo(Integer value) {
      method andUseridIn (line 175) | public Criteria andUseridIn(List<Integer> values) {
      method andUseridNotIn (line 180) | public Criteria andUseridNotIn(List<Integer> values) {
      method andUseridBetween (line 185) | public Criteria andUseridBetween(Integer value1, Integer value2) {
      method andUseridNotBetween (line 190) | public Criteria andUseridNotBetween(Integer value1, Integer value2) {
      method andUsernameIsNull (line 195) | public Criteria andUsernameIsNull() {
      method andUsernameIsNotNull (line 200) | public Criteria andUsernameIsNotNull() {
      method andUsernameEqualTo (line 205) | public Criteria andUsernameEqualTo(String value) {
      method andUsernameNotEqualTo (line 210) | public Criteria andUsernameNotEqualTo(String value) {
      method andUsernameGreaterThan (line 215) | public Criteria andUsernameGreaterThan(String value) {
      method andUsernameGreaterThanOrEqualTo (line 220) | public Criteria andUsernameGreaterThanOrEqualTo(String value) {
      method andUsernameLessThan (line 225) | public Criteria andUsernameLessThan(String value) {
      method andUsernameLessThanOrEqualTo (line 230) | public Criteria andUsernameLessThanOrEqualTo(String value) {
      method andUsernameLike (line 235) | public Criteria andUsernameLike(String value) {
      method andUsernameNotLike (line 240) | public Criteria andUsernameNotLike(String value) {
      method andUsernameIn (line 245) | public Criteria andUsernameIn(List<String> values) {
      method andUsernameNotIn (line 250) | public Criteria andUsernameNotIn(List<String> values) {
      method andUsernameBetween (line 255) | public Criteria andUsernameBetween(String value1, String value2) {
      method andUsernameNotBetween (line 260) | public Criteria andUsernameNotBetween(String value1, String value2) {
      method andSexIsNull (line 265) | public Criteria andSexIsNull() {
      method andSexIsNotNull (line 270) | public Criteria andSexIsNotNull() {
      method andSexEqualTo (line 275) | public Criteria andSexEqualTo(String value) {
      method andSexNotEqualTo (line 280) | public Criteria andSexNotEqualTo(String value) {
      method andSexGreaterThan (line 285) | public Criteria andSexGreaterThan(String value) {
      method andSexGreaterThanOrEqualTo (line 290) | public Criteria andSexGreaterThanOrEqualTo(String value) {
      method andSexLessThan (line 295) | public Criteria andSexLessThan(String value) {
      method andSexLessThanOrEqualTo (line 300) | public Criteria andSexLessThanOrEqualTo(String value) {
      method andSexLike (line 305) | public Criteria andSexLike(String value) {
      method andSexNotLike (line 310) | public Criteria andSexNotLike(String value) {
      method andSexIn (line 315) | public Criteria andSexIn(List<String> values) {
      method andSexNotIn (line 320) | public Criteria andSexNotIn(List<String> values) {
      method andSexBetween (line 325) | public Criteria andSexBetween(String value1, String value2) {
      method andSexNotBetween (line 330) | public Criteria andSexNotBetween(String value1, String value2) {
      method andBirthyearIsNull (line 335) | public Criteria andBirthyearIsNull() {
      method andBirthyearIsNotNull (line 340) | public Criteria andBirthyearIsNotNull() {
      method andBirthyearEqualTo (line 345) | public Criteria andBirthyearEqualTo(Date value) {
      method andBirthyearNotEqualTo (line 350) | public Criteria andBirthyearNotEqualTo(Date value) {
      method andBirthyearGreaterThan (line 355) | public Criteria andBirthyearGreaterThan(Date value) {
      method andBirthyearGreaterThanOrEqualTo (line 360) | public Criteria andBirthyearGreaterThanOrEqualTo(Date value) {
      method andBirthyearLessThan (line 365) | public Criteria andBirthyearLessThan(Date value) {
      method andBirthyearLessThanOrEqualTo (line 370) | public Criteria andBirthyearLessThanOrEqualTo(Date value) {
      method andBirthyearIn (line 375) | public Criteria andBirthyearIn(List<Date> values) {
      method andBirthyearNotIn (line 380) | public Criteria andBirthyearNotIn(List<Date> values) {
      method andBirthyearBetween (line 385) | public Criteria andBirthyearBetween(Date value1, Date value2) {
      method andBirthyearNotBetween (line 390) | public Criteria andBirthyearNotBetween(Date value1, Date value2) {
      method andGradeIsNull (line 395) | public Criteria andGradeIsNull() {
      method andGradeIsNotNull (line 400) | public Criteria andGradeIsNotNull() {
      method andGradeEqualTo (line 405) | public Criteria andGradeEqualTo(Date value) {
      method andGradeNotEqualTo (line 410) | public Criteria andGradeNotEqualTo(Date value) {
      method andGradeGreaterThan (line 415) | public Criteria andGradeGreaterThan(Date value) {
      method andGradeGreaterThanOrEqualTo (line 420) | public Criteria andGradeGreaterThanOrEqualTo(Date value) {
      method andGradeLessThan (line 425) | public Criteria andGradeLessThan(Date value) {
      method andGradeLessThanOrEqualTo (line 430) | public Criteria andGradeLessThanOrEqualTo(Date value) {
      method andGradeIn (line 435) | public Criteria andGradeIn(List<Date> values) {
      method andGradeNotIn (line 440) | public Criteria andGradeNotIn(List<Date> values) {
      method andGradeBetween (line 445) | public Criteria andGradeBetween(Date value1, Date value2) {
      method andGradeNotBetween (line 450) | public Criteria andGradeNotBetween(Date value1, Date value2) {
      method andCollegeidIsNull (line 455) | public Criteria andCollegeidIsNull() {
      method andCollegeidIsNotNull (line 460) | public Criteria andCollegeidIsNotNull() {
      method andCollegeidEqualTo (line 465) | public Criteria andCollegeidEqualTo(Integer value) {
      method andCollegeidNotEqualTo (line 470) | public Criteria andCollegeidNotEqualTo(Integer value) {
      method andCollegeidGreaterThan (line 475) | public Criteria andCollegeidGreaterThan(Integer value) {
      method andCollegeidGreaterThanOrEqualTo (line 480) | public Criteria andCollegeidGreaterThanOrEqualTo(Integer value) {
      method andCollegeidLessThan (line 485) | public Criteria andCollegeidLessThan(Integer value) {
      method andCollegeidLessThanOrEqualTo (line 490) | public Criteria andCollegeidLessThanOrEqualTo(Integer value) {
      method andCollegeidIn (line 495) | public Criteria andCollegeidIn(List<Integer> values) {
      method andCollegeidNotIn (line 500) | public Criteria andCollegeidNotIn(List<Integer> values) {
      method andCollegeidBetween (line 505) | public Criteria andCollegeidBetween(Integer value1, Integer value2) {
      method andCollegeidNotBetween (line 510) | public Criteria andCollegeidNotBetween(Integer value1, Integer value...
    class Criteria (line 516) | public static class Criteria extends GeneratedCriteria {
      method Criteria (line 518) | protected Criteria() {
    class Criterion (line 523) | public static class Criterion {
      method getCondition (line 540) | public String getCondition() {
      method getValue (line 544) | public Object getValue() {
      method getSecondValue (line 548) | public Object getSecondValue() {
      method isNoValue (line 552) | public boolean isNoValue() {
      method isSingleValue (line 556) | public boolean isSingleValue() {
      method isBetweenValue (line 560) | public boolean isBetweenValue() {
      method isListValue (line 564) | public boolean isListValue() {
      method getTypeHandler (line 568) | public String getTypeHandler() {
      method Criterion (line 572) | protected Criterion(String condition) {
      method Criterion (line 579) | protected Criterion(String condition, Object value, String typeHandl...
      method Criterion (line 591) | protected Criterion(String condition, Object value) {
      method Criterion (line 595) | protected Criterion(String condition, Object value, Object secondVal...
      method Criterion (line 604) | protected Criterion(String condition, Object value, Object secondVal...

FILE: src/main/java/com/system/po/Teacher.java
  class Teacher (line 5) | public class Teacher {
    method getUserid (line 22) | public Integer getUserid() {
    method setUserid (line 26) | public void setUserid(Integer userid) {
    method getUsername (line 30) | public String getUsername() {
    method setUsername (line 34) | public void setUsername(String username) {
    method getSex (line 38) | public String getSex() {
    method setSex (line 42) | public void setSex(String sex) {
    method getBirthyear (line 46) | public Date getBirthyear() {
    method setBirthyear (line 50) | public void setBirthyear(Date birthyear) {
    method getDegree (line 54) | public String getDegree() {
    method setDegree (line 58) | public void setDegree(String degree) {
    method getTitle (line 62) | public String getTitle() {
    method setTitle (line 66) | public void setTitle(String title) {
    method getGrade (line 70) | public Date getGrade() {
    method setGrade (line 74) | public void setGrade(Date grade) {
    method getCollegeid (line 78) | public Integer getCollegeid() {
    method setCollegeid (line 82) | public void setCollegeid(Integer collegeid) {

FILE: src/main/java/com/system/po/TeacherCustom.java
  class TeacherCustom (line 6) | public class TeacherCustom extends Teacher {
    method setcollegeName (line 10) | public void setcollegeName(String collegeName) {
    method getcollegeName (line 14) | public String getcollegeName() {

FILE: src/main/java/com/system/po/TeacherExample.java
  class TeacherExample (line 8) | public class TeacherExample {
    method TeacherExample (line 15) | public TeacherExample() {
    method setOrderByClause (line 19) | public void setOrderByClause(String orderByClause) {
    method getOrderByClause (line 23) | public String getOrderByClause() {
    method setDistinct (line 27) | public void setDistinct(boolean distinct) {
    method isDistinct (line 31) | public boolean isDistinct() {
    method getOredCriteria (line 35) | public List<Criteria> getOredCriteria() {
    method or (line 39) | public void or(Criteria criteria) {
    method or (line 43) | public Criteria or() {
    method createCriteria (line 49) | public Criteria createCriteria() {
    method createCriteriaInternal (line 57) | protected Criteria createCriteriaInternal() {
    method clear (line 62) | public void clear() {
    class GeneratedCriteria (line 68) | protected abstract static class GeneratedCriteria {
      method GeneratedCriteria (line 71) | protected GeneratedCriteria() {
      method isValid (line 76) | public boolean isValid() {
      method getAllCriteria (line 80) | public List<Criterion> getAllCriteria() {
      method getCriteria (line 84) | public List<Criterion> getCriteria() {
      method addCriterion (line 88) | protected void addCriterion(String condition) {
      method addCriterion (line 95) | protected void addCriterion(String condition, Object value, String p...
      method addCriterion (line 102) | protected void addCriterion(String condition, Object value1, Object ...
      method addCriterionForJDBCDate (line 109) | protected void addCriterionForJDBCDate(String condition, Date value,...
      method addCriterionForJDBCDate (line 116) | protected void addCriterionForJDBCDate(String condition, List<Date> ...
      method addCriterionForJDBCDate (line 128) | protected void addCriterionForJDBCDate(String condition, Date value1...
      method andUseridIsNull (line 135) | public Criteria andUseridIsNull() {
      method andUseridIsNotNull (line 140) | public Criteria andUseridIsNotNull() {
      method andUseridEqualTo (line 145) | public Criteria andUseridEqualTo(Integer value) {
      method andUseridNotEqualTo (line 150) | public Criteria andUseridNotEqualTo(Integer value) {
      method andUseridGreaterThan (line 155) | public Criteria andUseridGreaterThan(Integer value) {
      method andUseridGreaterThanOrEqualTo (line 160) | public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
      method andUseridLessThan (line 165) | public Criteria andUseridLessThan(Integer value) {
      method andUseridLessThanOrEqualTo (line 170) | public Criteria andUseridLessThanOrEqualTo(Integer value) {
      method andUseridIn (line 175) | public Criteria andUseridIn(List<Integer> values) {
      method andUseridNotIn (line 180) | public Criteria andUseridNotIn(List<Integer> values) {
      method andUseridBetween (line 185) | public Criteria andUseridBetween(Integer value1, Integer value2) {
      method andUseridNotBetween (line 190) | public Criteria andUseridNotBetween(Integer value1, Integer value2) {
      method andUsernameIsNull (line 195) | public Criteria andUsernameIsNull() {
      method andUsernameIsNotNull (line 200) | public Criteria andUsernameIsNotNull() {
      method andUsernameEqualTo (line 205) | public Criteria andUsernameEqualTo(String value) {
      method andUsernameNotEqualTo (line 210) | public Criteria andUsernameNotEqualTo(String value) {
      method andUsernameGreaterThan (line 215) | public Criteria andUsernameGreaterThan(String value) {
      method andUsernameGreaterThanOrEqualTo (line 220) | public Criteria andUsernameGreaterThanOrEqualTo(String value) {
      method andUsernameLessThan (line 225) | public Criteria andUsernameLessThan(String value) {
      method andUsernameLessThanOrEqualTo (line 230) | public Criteria andUsernameLessThanOrEqualTo(String value) {
      method andUsernameLike (line 235) | public Criteria andUsernameLike(String value) {
      method andUsernameNotLike (line 240) | public Criteria andUsernameNotLike(String value) {
      method andUsernameIn (line 245) | public Criteria andUsernameIn(List<String> values) {
      method andUsernameNotIn (line 250) | public Criteria andUsernameNotIn(List<String> values) {
      method andUsernameBetween (line 255) | public Criteria andUsernameBetween(String value1, String value2) {
      method andUsernameNotBetween (line 260) | public Criteria andUsernameNotBetween(String value1, String value2) {
      method andSexIsNull (line 265) | public Criteria andSexIsNull() {
      method andSexIsNotNull (line 270) | public Criteria andSexIsNotNull() {
      method andSexEqualTo (line 275) | public Criteria andSexEqualTo(String value) {
      method andSexNotEqualTo (line 280) | public Criteria andSexNotEqualTo(String value) {
      method andSexGreaterThan (line 285) | public Criteria andSexGreaterThan(String value) {
      method andSexGreaterThanOrEqualTo (line 290) | public Criteria andSexGreaterThanOrEqualTo(String value) {
      method andSexLessThan (line 295) | public Criteria andSexLessThan(String value) {
      method andSexLessThanOrEqualTo (line 300) | public Criteria andSexLessThanOrEqualTo(String value) {
      method andSexLike (line 305) | public Criteria andSexLike(String value) {
      method andSexNotLike (line 310) | public Criteria andSexNotLike(String value) {
      method andSexIn (line 315) | public Criteria andSexIn(List<String> values) {
      method andSexNotIn (line 320) | public Criteria andSexNotIn(List<String> values) {
      method andSexBetween (line 325) | public Criteria andSexBetween(String value1, String value2) {
      method andSexNotBetween (line 330) | public Criteria andSexNotBetween(String value1, String value2) {
      method andBirthyearIsNull (line 335) | public Criteria andBirthyearIsNull() {
      method andBirthyearIsNotNull (line 340) | public Criteria andBirthyearIsNotNull() {
      method andBirthyearEqualTo (line 345) | public Criteria andBirthyearEqualTo(Date value) {
      method andBirthyearNotEqualTo (line 350) | public Criteria andBirthyearNotEqualTo(Date value) {
      method andBirthyearGreaterThan (line 355) | public Criteria andBirthyearGreaterThan(Date value) {
      method andBirthyearGreaterThanOrEqualTo (line 360) | public Criteria andBirthyearGreaterThanOrEqualTo(Date value) {
      method andBirthyearLessThan (line 365) | public Criteria andBirthyearLessThan(Date value) {
      method andBirthyearLessThanOrEqualTo (line 370) | public Criteria andBirthyearLessThanOrEqualTo(Date value) {
      method andBirthyearIn (line 375) | public Criteria andBirthyearIn(List<Date> values) {
      method andBirthyearNotIn (line 380) | public Criteria andBirthyearNotIn(List<Date> values) {
      method andBirthyearBetween (line 385) | public Criteria andBirthyearBetween(Date value1, Date value2) {
      method andBirthyearNotBetween (line 390) | public Criteria andBirthyearNotBetween(Date value1, Date value2) {
      method andDegreeIsNull (line 395) | public Criteria andDegreeIsNull() {
      method andDegreeIsNotNull (line 400) | public Criteria andDegreeIsNotNull() {
      method andDegreeEqualTo (line 405) | public Criteria andDegreeEqualTo(String value) {
      method andDegreeNotEqualTo (line 410) | public Criteria andDegreeNotEqualTo(String value) {
      method andDegreeGreaterThan (line 415) | public Criteria andDegreeGreaterThan(String value) {
      method andDegreeGreaterThanOrEqualTo (line 420) | public Criteria andDegreeGreaterThanOrEqualTo(String value) {
      method andDegreeLessThan (line 425) | public Criteria andDegreeLessThan(String value) {
      method andDegreeLessThanOrEqualTo (line 430) | public Criteria andDegreeLessThanOrEqualTo(String value) {
      method andDegreeLike (line 435) | public Criteria andDegreeLike(String value) {
      method andDegreeNotLike (line 440) | public Criteria andDegreeNotLike(String value) {
      method andDegreeIn (line 445) | public Criteria andDegreeIn(List<String> values) {
      method andDegreeNotIn (line 450) | public Criteria andDegreeNotIn(List<String> values) {
      method andDegreeBetween (line 455) | public Criteria andDegreeBetween(String value1, String value2) {
      method andDegreeNotBetween (line 460) | public Criteria andDegreeNotBetween(String value1, String value2) {
      method andTitleIsNull (line 465) | public Criteria andTitleIsNull() {
      method andTitleIsNotNull (line 470) | public Criteria andTitleIsNotNull() {
      method andTitleEqualTo (line 475) | public Criteria andTitleEqualTo(String value) {
      method andTitleNotEqualTo (line 480) | public Criteria andTitleNotEqualTo(String value) {
      method andTitleGreaterThan (line 485) | public Criteria andTitleGreaterThan(String value) {
      method andTitleGreaterThanOrEqualTo (line 490) | public Criteria andTitleGreaterThanOrEqualTo(String value) {
      method andTitleLessThan (line 495) | public Criteria andTitleLessThan(String value) {
      method andTitleLessThanOrEqualTo (line 500) | public Criteria andTitleLessThanOrEqualTo(String value) {
      method andTitleLike (line 505) | public Criteria andTitleLike(String value) {
      method andTitleNotLike (line 510) | public Criteria andTitleNotLike(String value) {
      method andTitleIn (line 515) | public Criteria andTitleIn(List<String> values) {
      method andTitleNotIn (line 520) | public Criteria andTitleNotIn(List<String> values) {
      method andTitleBetween (line 525) | public Criteria andTitleBetween(String value1, String value2) {
      method andTitleNotBetween (line 530) | public Criteria andTitleNotBetween(String value1, String value2) {
      method andGradeIsNull (line 535) | public Criteria andGradeIsNull() {
      method andGradeIsNotNull (line 540) | public Criteria andGradeIsNotNull() {
      method andGradeEqualTo (line 545) | public Criteria andGradeEqualTo(Date value) {
      method andGradeNotEqualTo (line 550) | public Criteria andGradeNotEqualTo(Date value) {
      method andGradeGreaterThan (line 555) | public Criteria andGradeGreaterThan(Date value) {
      method andGradeGreaterThanOrEqualTo (line 560) | public Criteria andGradeGreaterThanOrEqualTo(Date value) {
      method andGradeLessThan (line 565) | public Criteria andGradeLessThan(Date value) {
      method andGradeLessThanOrEqualTo (line 570) | public Criteria andGradeLessThanOrEqualTo(Date value) {
      method andGradeIn (line 575) | public Criteria andGradeIn(List<Date> values) {
      method andGradeNotIn (line 580) | public Criteria andGradeNotIn(List<Date> values) {
      method andGradeBetween (line 585) | public Criteria andGradeBetween(Date value1, Date value2) {
      method andGradeNotBetween (line 590) | public Criteria andGradeNotBetween(Date value1, Date value2) {
      method andCollegeidIsNull (line 595) | public Criteria andCollegeidIsNull() {
      method andCollegeidIsNotNull (line 600) | public Criteria andCollegeidIsNotNull() {
      method andCollegeidEqualTo (line 605) | public Criteria andCollegeidEqualTo(Integer value) {
      method andCollegeidNotEqualTo (line 610) | public Criteria andCollegeidNotEqualTo(Integer value) {
      method andCollegeidGreaterThan (line 615) | public Criteria andCollegeidGreaterThan(Integer value) {
      method andCollegeidGreaterThanOrEqualTo (line 620) | public Criteria andCollegeidGreaterThanOrEqualTo(Integer value) {
      method andCollegeidLessThan (line 625) | public Criteria andCollegeidLessThan(Integer value) {
      method andCollegeidLessThanOrEqualTo (line 630) | public Criteria andCollegeidLessThanOrEqualTo(Integer value) {
      method andCollegeidIn (line 635) | public Criteria andCollegeidIn(List<Integer> values) {
      method andCollegeidNotIn (line 640) | public Criteria andCollegeidNotIn(List<Integer> values) {
      method andCollegeidBetween (line 645) | public Criteria andCollegeidBetween(Integer value1, Integer value2) {
      method andCollegeidNotBetween (line 650) | public Criteria andCollegeidNotBetween(Integer value1, Integer value...
    class Criteria (line 656) | public static class Criteria extends GeneratedCriteria {
      method Criteria (line 658) | protected Criteria() {
    class Criterion (line 663) | public static class Criterion {
      method getCondition (line 680) | public String getCondition() {
      method getValue (line 684) | public Object getValue() {
      method getSecondValue (line 688) | public Object getSecondValue() {
      method isNoValue (line 692) | public boolean isNoValue() {
      method isSingleValue (line 696) | public boolean isSingleValue() {
      method isBetweenValue (line 700) | public boolean isBetweenValue() {
      method isListValue (line 704) | public boolean isListValue() {
      method getTypeHandler (line 708) | public String getTypeHandler() {
      method Criterion (line 712) | protected Criterion(String condition) {
      method Criterion (line 719) | protected Criterion(String condition, Object value, String typeHandl...
      method Criterion (line 731) | protected Criterion(String condition, Object value) {
      method Criterion (line 735) | protected Criterion(String condition, Object value, Object secondVal...
      method Criterion (line 744) | protected Criterion(String condition, Object value, Object secondVal...

FILE: src/main/java/com/system/po/Userlogin.java
  class Userlogin (line 3) | public class Userlogin {
    method getUserid (line 12) | public Integer getUserid() {
    method setUserid (line 16) | public void setUserid(Integer userid) {
    method getUsername (line 20) | public String getUsername() {
    method setUsername (line 24) | public void setUsername(String username) {
    method getPassword (line 28) | public String getPassword() {
    method setPassword (line 32) | public void setPassword(String password) {
    method getRole (line 36) | public Integer getRole() {
    method setRole (line 40) | public void setRole(Integer role) {

FILE: src/main/java/com/system/po/UserloginCustom.java
  class UserloginCustom (line 6) | public class UserloginCustom extends Userlogin {
    method setRole (line 10) | public void setRole(Role role) {
    method getRole_ob (line 14) | public Role getRole_ob() {

FILE: src/main/java/com/system/po/UserloginExample.java
  class UserloginExample (line 6) | public class UserloginExample {
    method UserloginExample (line 13) | public UserloginExample() {
    method setOrderByClause (line 17) | public void setOrderByClause(String orderByClause) {
    method getOrderByClause (line 21) | public String getOrderByClause() {
    method setDistinct (line 25) | public void setDistinct(boolean distinct) {
    method isDistinct (line 29) | public boolean isDistinct() {
    method getOredCriteria (line 33) | public List<Criteria> getOredCriteria() {
    method or (line 37) | public void or(Criteria criteria) {
    method or (line 41) | public Criteria or() {
    method createCriteria (line 47) | public Criteria createCriteria() {
    method createCriteriaInternal (line 55) | protected Criteria createCriteriaInternal() {
    method clear (line 60) | public void clear() {
    class GeneratedCriteria (line 66) | protected abstract static class GeneratedCriteria {
      method GeneratedCriteria (line 69) | protected GeneratedCriteria() {
      method isValid (line 74) | public boolean isValid() {
      method getAllCriteria (line 78) | public List<Criterion> getAllCriteria() {
      method getCriteria (line 82) | public List<Criterion> getCriteria() {
      method addCriterion (line 86) | protected void addCriterion(String condition) {
      method addCriterion (line 93) | protected void addCriterion(String condition, Object value, String p...
      method addCriterion (line 100) | protected void addCriterion(String condition, Object value1, Object ...
      method andUseridIsNull (line 107) | public Criteria andUseridIsNull() {
      method andUseridIsNotNull (line 112) | public Criteria andUseridIsNotNull() {
      method andUseridEqualTo (line 117) | public Criteria andUseridEqualTo(Integer value) {
      method andUseridNotEqualTo (line 122) | public Criteria andUseridNotEqualTo(Integer value) {
      method andUseridGreaterThan (line 127) | public Criteria andUseridGreaterThan(Integer value) {
      method andUseridGreaterThanOrEqualTo (line 132) | public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
      method andUseridLessThan (line 137) | public Criteria andUseridLessThan(Integer value) {
      method andUseridLessThanOrEqualTo (line 142) | public Criteria andUseridLessThanOrEqualTo(Integer value) {
      method andUseridIn (line 147) | public Criteria andUseridIn(List<Integer> values) {
      method andUseridNotIn (line 152) | public Criteria andUseridNotIn(List<Integer> values) {
      method andUseridBetween (line 157) | public Criteria andUseridBetween(Integer value1, Integer value2) {
      method andUseridNotBetween (line 162) | public Criteria andUseridNotBetween(Integer value1, Integer value2) {
      method andUsernameIsNull (line 167) | public Criteria andUsernameIsNull() {
      method andUsernameIsNotNull (line 172) | public Criteria andUsernameIsNotNull() {
      method andUsernameEqualTo (line 177) | public Criteria andUsernameEqualTo(String value) {
      method andUsernameNotEqualTo (line 182) | public Criteria andUsernameNotEqualTo(String value) {
      method andUsernameGreaterThan (line 187) | public Criteria andUsernameGreaterThan(String value) {
      method andUsernameGreaterThanOrEqualTo (line 192) | public Criteria andUsernameGreaterThanOrEqualTo(String value) {
      method andUsernameLessThan (line 197) | public Criteria andUsernameLessThan(String value) {
      method andUsernameLessThanOrEqualTo (line 202) | public Criteria andUsernameLessThanOrEqualTo(String value) {
      method andUsernameLike (line 207) | public Criteria andUsernameLike(String value) {
      method andUsernameNotLike (line 212) | public Criteria andUsernameNotLike(String value) {
      method andUsernameIn (line 217) | public Criteria andUsernameIn(List<String> values) {
      method andUsernameNotIn (line 222) | public Criteria andUsernameNotIn(List<String> values) {
      method andUsernameBetween (line 227) | public Criteria andUsernameBetween(String value1, String value2) {
      method andUsernameNotBetween (line 232) | public Criteria andUsernameNotBetween(String value1, String value2) {
      method andPasswordIsNull (line 237) | public Criteria andPasswordIsNull() {
      method andPasswordIsNotNull (line 242) | public Criteria andPasswordIsNotNull() {
      method andPasswordEqualTo (line 247) | public Criteria andPasswordEqualTo(String value) {
      method andPasswordNotEqualTo (line 252) | public Criteria andPasswordNotEqualTo(String value) {
      method andPasswordGreaterThan (line 257) | public Criteria andPasswordGreaterThan(String value) {
      method andPasswordGreaterThanOrEqualTo (line 262) | public Criteria andPasswordGreaterThanOrEqualTo(String value) {
      method andPasswordLessThan (line 267) | public Criteria andPasswordLessThan(String value) {
      method andPasswordLessThanOrEqualTo (line 272) | public Criteria andPasswordLessThanOrEqualTo(String value) {
      method andPasswordLike (line 277) | public Criteria andPasswordLike(String value) {
      method andPasswordNotLike (line 282) | public Criteria andPasswordNotLike(String value) {
      method andPasswordIn (line 287) | public Criteria andPasswordIn(List<String> values) {
      method andPasswordNotIn (line 292) | public Criteria andPasswordNotIn(List<String> values) {
      method andPasswordBetween (line 297) | public Criteria andPasswordBetween(String value1, String value2) {
      method andPasswordNotBetween (line 302) | public Criteria andPasswordNotBetween(String value1, String value2) {
      method andRoleIsNull (line 307) | public Criteria andRoleIsNull() {
      method andRoleIsNotNull (line 312) | public Criteria andRoleIsNotNull() {
      method andRoleEqualTo (line 317) | public Criteria andRoleEqualTo(Integer value) {
      method andRoleNotEqualTo (line 322) | public Criteria andRoleNotEqualTo(Integer value) {
      method andRoleGreaterThan (line 327) | public Criteria andRoleGreaterThan(Integer value) {
      method andRoleGreaterThanOrEqualTo (line 332) | public Criteria andRoleGreaterThanOrEqualTo(Integer value) {
      method andRoleLessThan (line 337) | public Criteria andRoleLessThan(Integer value) {
      method andRoleLessThanOrEqualTo (line 342) | public Criteria andRoleLessThanOrEqualTo(Integer value) {
      method andRoleIn (line 347) | public Criteria andRoleIn(List<Integer> values) {
      method andRoleNotIn (line 352) | public Criteria andRoleNotIn(List<Integer> values) {
      method andRoleBetween (line 357) | public Criteria andRoleBetween(Integer value1, Integer value2) {
      method andRoleNotBetween (line 362) | public Criteria andRoleNotBetween(Integer value1, Integer value2) {
    class Criteria (line 368) | public static class Criteria extends GeneratedCriteria {
      method Criteria (line 370) | protected Criteria() {
    class Criterion (line 375) | public static class Criterion {
      method getCondition (line 392) | public String getCondition() {
      method getValue (line 396) | public Object getValue() {
      method getSecondValue (line 400) | public Object getSecondValue() {
      method isNoValue (line 404) | public boolean isNoValue() {
      method isSingleValue (line 408) | public boolean isSingleValue() {
      method isBetweenValue (line 412) | public boolean isBetweenValue() {
      method isListValue (line 416) | public boolean isListValue() {
      method getTypeHandler (line 420) | public String getTypeHandler() {
      method Criterion (line 424) | protected Criterion(String condition) {
      method Criterion (line 431) | protected Criterion(String condition, Object value, String typeHandl...
      method Criterion (line 443) | protected Criterion(String condition, Object value) {
      method Criterion (line 447) | protected Criterion(String condition, Object value, Object secondVal...
      method Criterion (line 456) | protected Criterion(String condition, Object value, Object secondVal...

FILE: src/main/java/com/system/realm/LoginRealm.java
  class LoginRealm (line 24) | @Component
    method doGetAuthorizationInfo (line 37) | protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection...
    method doGetAuthenticationInfo (line 65) | protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationTok...

FILE: src/main/java/com/system/service/CollegeService.java
  type CollegeService (line 10) | public interface CollegeService {
    method finAll (line 12) | List<College> finAll() throws Exception;

FILE: src/main/java/com/system/service/CourseService.java
  type CourseService (line 10) | public interface CourseService {
    method upadteById (line 12) | void upadteById(Integer id, CourseCustom courseCustom) throws Exception;
    method removeById (line 15) | Boolean removeById(Integer id) throws Exception;
    method findByPaging (line 18) | List<CourseCustom> findByPaging(Integer toPageNo) throws Exception;
    method save (line 21) | Boolean save(CourseCustom couseCustom) throws Exception;
    method getCountCouse (line 24) | int getCountCouse() throws Exception;
    method findById (line 27) | CourseCustom findById(Integer id) throws Exception;
    method findByName (line 30) | List<CourseCustom> findByName(String name) throws Exception;
    method findByTeacherID (line 33) | List<CourseCustom> findByTeacherID(Integer id) throws Exception;

FILE: src/main/java/com/system/service/RoleService.java
  type RoleService (line 8) | public interface RoleService {
    method findByid (line 10) | Role findByid(Integer id) throws Exception;

FILE: src/main/java/com/system/service/SelectedCourseService.java
  type SelectedCourseService (line 11) | public interface SelectedCourseService {
    method findByCourseID (line 14) | List<SelectedCourseCustom> findByCourseID(Integer id) throws Exception;
    method findByCourseIDPaging (line 17) | List<SelectedCourseCustom> findByCourseIDPaging(Integer page, Integer ...
    method countByCourseID (line 20) | Integer countByCourseID(Integer id) throws Exception;
    method findOne (line 23) | SelectedCourseCustom findOne(SelectedCourseCustom selectedCourseCustom...
    method updataOne (line 26) | void updataOne(SelectedCourseCustom selectedCourseCustom) throws Excep...
    method save (line 29) | void save(SelectedCourseCustom selectedCourseCustom) throws Exception;
    method findByStudentID (line 32) | List<SelectedCourseCustom> findByStudentID(Integer id) throws Exception;
    method remove (line 35) | void remove(SelectedCourseCustom selectedCourseCustom) throws Exception;

FILE: src/main/java/com/system/service/StudentService.java
  type StudentService (line 10) | public interface StudentService {
    method updataById (line 13) | void updataById(Integer id, StudentCustom studentCustom) throws Except...
    method removeById (line 16) | void removeById(Integer id) throws Exception;
    method findByPaging (line 19) | List<StudentCustom> findByPaging(Integer toPageNo) throws Exception;
    method save (line 22) | Boolean save(StudentCustom studentCustoms) throws Exception;
    method getCountStudent (line 25) | int getCountStudent() throws Exception;
    method findById (line 28) | StudentCustom findById(Integer id) throws Exception;
    method findByName (line 31) | List<StudentCustom> findByName(String name) throws Exception;
    method findStudentAndSelectCourseListByName (line 34) | StudentCustom findStudentAndSelectCourseListByName(String name) throws...

FILE: src/main/java/com/system/service/TeacherService.java
  type TeacherService (line 12) | public interface TeacherService {
    method updateById (line 15) | void updateById(Integer id, TeacherCustom teacherCustom) throws Except...
    method removeById (line 18) | void removeById(Integer id) throws Exception;
    method findByPaging (line 21) | List<TeacherCustom> findByPaging(Integer toPageNo) throws Exception;
    method save (line 24) | Boolean save(TeacherCustom teacherCustom) throws Exception;
    method getCountTeacher (line 27) | int getCountTeacher() throws Exception;
    method findById (line 30) | TeacherCustom findById(Integer id) throws Exception;
    method findByName (line 33) | List<TeacherCustom> findByName(String name) throws Exception;
    method findAll (line 36) | List<TeacherCustom> findAll() throws Exception;

FILE: src/main/java/com/system/service/UserloginService.java
  type UserloginService (line 9) | public interface UserloginService {
    method findByName (line 12) | Userlogin findByName(String name) throws Exception;
    method save (line 15) | void save(Userlogin userlogin) throws Exception;
    method removeByName (line 18) | void removeByName(String name) throws Exception;
    method updateByName (line 21) | void updateByName(String name, Userlogin userlogin);

FILE: src/main/java/com/system/service/impl/CollegeServiceImpl.java
  class CollegeServiceImpl (line 15) | @Service
    method finAll (line 21) | public List<College> finAll() throws Exception {

FILE: src/main/java/com/system/service/impl/CourseServiceImpl.java
  class CourseServiceImpl (line 19) | @Service
    method upadteById (line 34) | public void upadteById(Integer id, CourseCustom courseCustom) throws E...
    method removeById (line 38) | public Boolean removeById(Integer id) throws Exception {
    method findByPaging (line 53) | public List<CourseCustom> findByPaging(Integer toPageNo) throws Except...
    method save (line 61) | public Boolean save(CourseCustom couseCustom) throws Exception {
    method getCountCouse (line 70) | public int getCountCouse() throws Exception {
    method findById (line 80) | public CourseCustom findById(Integer id) throws Exception {
    method findByName (line 91) | public List<CourseCustom> findByName(String name) throws Exception {
    method findByTeacherID (line 119) | public List<CourseCustom> findByTeacherID(Integer id) throws Exception {

FILE: src/main/java/com/system/service/impl/RoleServiceImpl.java
  class RoleServiceImpl (line 12) | @Service
    method findByid (line 18) | public Role findByid(Integer id) throws Exception {

FILE: src/main/java/com/system/service/impl/SelectedCourseServiceImpl.java
  class SelectedCourseServiceImpl (line 19) | @Service
    method findByCourseID (line 32) | public List<SelectedCourseCustom> findByCourseID(Integer id) throws Ex...
    method findByCourseIDPaging (line 59) | public List<SelectedCourseCustom> findByCourseIDPaging(Integer page, I...
    method countByCourseID (line 64) | public Integer countByCourseID(Integer id) throws Exception {
    method findOne (line 73) | public SelectedCourseCustom findOne(SelectedCourseCustom selectedCours...
    method updataOne (line 100) | public void updataOne(SelectedCourseCustom selectedCourseCustom) throw...
    method save (line 111) | public void save(SelectedCourseCustom selectedCourseCustom) throws Exc...
    method findByStudentID (line 115) | public List<SelectedCourseCustom> findByStudentID(Integer id) throws E...
    method remove (line 119) | public void remove(SelectedCourseCustom selectedCourseCustom) throws E...

FILE: src/main/java/com/system/service/impl/StudentServiceImpl.java
  class StudentServiceImpl (line 18) | @Service
    method updataById (line 31) | public void updataById(Integer id, StudentCustom studentCustom) throws...
    method removeById (line 35) | public void removeById(Integer id) throws Exception {
    method findByPaging (line 39) | public List<StudentCustom> findByPaging(Integer toPageNo) throws Excep...
    method save (line 48) | public Boolean save(StudentCustom studentCustoms) throws Exception {
    method getCountStudent (line 59) | public int getCountStudent() throws Exception {
    method findById (line 69) | public StudentCustom findById(Integer id) throws Exception {
    method findByName (line 83) | public List<StudentCustom> findByName(String name) throws Exception {
    method findStudentAndSelectCourseListByName (line 112) | public StudentCustom findStudentAndSelectCourseListByName(String name)...

FILE: src/main/java/com/system/service/impl/TeacherServiceImpl.java
  class TeacherServiceImpl (line 20) | @Service
    method updateById (line 35) | public void updateById(Integer id, TeacherCustom teacherCustom) throws...
    method removeById (line 39) | public void removeById(Integer id) throws Exception {
    method findByPaging (line 53) | public List<TeacherCustom> findByPaging(Integer toPageNo) throws Excep...
    method save (line 62) | public Boolean save(TeacherCustom teacherCustom) throws Exception {
    method getCountTeacher (line 72) | public int getCountTeacher() throws Exception {
    method findById (line 82) | public TeacherCustom findById(Integer id) throws Exception {
    method findByName (line 93) | public List<TeacherCustom> findByName(String name) throws Exception {
    method findAll (line 121) | public List<TeacherCustom> findAll() throws Exception {

FILE: src/main/java/com/system/service/impl/UserloginServiceImpl.java
  class UserloginServiceImpl (line 15) | @Service
    method findByName (line 22) | public Userlogin findByName(String name) throws Exception {
    method save (line 33) | public void save(Userlogin userlogin) throws Exception {
    method removeByName (line 37) | public void removeByName(String name) throws Exception {
    method updateByName (line 46) | public void updateByName(String name, Userlogin userlogin) {

FILE: src/main/webapp/js/bootstrap.js
  function transitionEnd (line 34) | function transitionEnd() {
  function removeElement (line 126) | function removeElement() {
  function Plugin (line 142) | function Plugin(option) {
  function Plugin (line 251) | function Plugin(option) {
  function Plugin (line 475) | function Plugin(option) {
  function getTargetFromTrigger (line 695) | function getTargetFromTrigger($trigger) {
  function Plugin (line 707) | function Plugin(option) {
  function getParent (line 774) | function getParent($this) {
  function clearMenus (line 787) | function clearMenus(e) {
  function Plugin (line 880) | function Plugin(option) {
  function Plugin (line 1208) | function Plugin(option, _relatedTarget) {
  function complete (line 1574) | function complete() {
  function Plugin (line 1750) | function Plugin(option) {
  function Plugin (line 1859) | function Plugin(option) {
  function ScrollSpy (line 1902) | function ScrollSpy(element, options) {
  function Plugin (line 2022) | function Plugin(option) {
  function next (line 2131) | function next() {
  function Plugin (line 2177) | function Plugin(option) {
  function Plugin (line 2334) | function Plugin(option) {

FILE: src/test/test/com/system/mapper/CourseMapperCustomTest.java
  class CourseMapperCustomTest (line 18) | public class CourseMapperCustomTest {
    method setUp (line 21) | @Before
    method findByPaging (line 26) | @Test

FILE: src/test/test/com/system/mapper/StudentMapperCustomTest.java
  class StudentMapperCustomTest (line 18) | public class StudentMapperCustomTest {
    method setUp (line 23) | @Before
    method findByPaging (line 28) | @Test
    method findStudentAndSelectCourseListByName (line 41) | @Test

FILE: src/test/test/com/system/mapper/StudentMapperTest.java
  class StudentMapperTest (line 18) | public class StudentMapperTest {
    method setUp (line 22) | @Before
    method selectByExample (line 28) | @Test

FILE: src/test/test/com/system/mapper/TeacherMapperCustomTest.java
  class TeacherMapperCustomTest (line 18) | public class TeacherMapperCustomTest {
    method setUp (line 21) | @Before
    method findByPaging (line 26) | @Test

FILE: src/test/test/com/system/mapper/UserloginMapperCustomTest.java
  class UserloginMapperCustomTest (line 13) | public class UserloginMapperCustomTest {
    method setUp (line 17) | @Before
    method testFindOne (line 22) | @Test

FILE: src/test/test/com/system/service/impl/CourseServiceImplTest.java
  class CourseServiceImplTest (line 16) | public class CourseServiceImplTest {
    method setUp (line 21) | @Before
    method findById (line 27) | @Test
    method findByTeacherID (line 37) | @Test

FILE: src/test/test/com/system/service/impl/SelectedCourseServiceImplTest.java
  class SelectedCourseServiceImplTest (line 18) | public class SelectedCourseServiceImplTest {
    method setUp (line 23) | @Before
    method findByCourseID (line 29) | @Test

FILE: src/test/test/com/system/service/impl/StudentServiceImplTest.java
  class StudentServiceImplTest (line 22) | public class StudentServiceImplTest {
    method setUp (line 27) | @Before
    method updataById (line 33) | @Test
    method removeById (line 54) | @Test
    method findByPaging (line 60) | @Test
    method save (line 67) | @Test
    method getCountStudent (line 88) | @Test
    method findById (line 95) | @Test
    method findByName (line 103) | @Test

FILE: src/test/test/com/system/service/impl/TeacherServiceImplTest.java
  class TeacherServiceImplTest (line 20) | public class TeacherServiceImplTest {
    method setUp (line 24) | @Before
    method updateById (line 31) | @Test
    method removeById (line 52) | @Test
    method findByPaging (line 57) | @Test
    method save (line 63) | @Test
    method getCountTeacher (line 83) | @Test
    method findById (line 89) | @Test
    method findByName (line 96) | @Test
    method findAll (line 102) | @Test

FILE: src/test/test/com/system/service/impl/UserloginServiceImplTest.java
  class UserloginServiceImplTest (line 16) | public class UserloginServiceImplTest {
    method setUp (line 21) | @Before
    method findByName (line 28) | @Test
Condensed preview — 156 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (779K chars).
[
  {
    "path": ".classpath",
    "chars": 1157,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<classpath>\n\t<classpathentry including=\"**/*.java\" kind=\"src\" output=\"target/clas"
  },
  {
    "path": ".project",
    "chars": 1057,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<projectDescription>\n\t<name>Examination_System</name>\n\t<comment></comment>\n\t<proj"
  },
  {
    "path": ".settings/.jsdtscope",
    "chars": 560,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<classpath>\n\t<classpathentry excluding=\"**/bower_components/*|**/node_modules/*|*"
  },
  {
    "path": ".settings/org.eclipse.jdt.core.prefs",
    "chars": 723,
    "preview": "eclipse.preferences.version=1\norg.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled\norg.eclipse.jdt.core.compi"
  },
  {
    "path": ".settings/org.eclipse.m2e.core.prefs",
    "chars": 86,
    "preview": "activeProfiles=\neclipse.preferences.version=1\nresolveWorkspaceProjects=true\nversion=1\n"
  },
  {
    "path": ".settings/org.eclipse.wst.common.component",
    "chars": 685,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><project-modules id=\"moduleCoreId\" project-version=\"1.5.0\">\n    <wb-module deploy-"
  },
  {
    "path": ".settings/org.eclipse.wst.common.project.facet.core.xml",
    "chars": 245,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<faceted-project>\n  <fixed facet=\"wst.jsdt.web\"/>\n  <installed facet=\"java\" versi"
  },
  {
    "path": ".settings/org.eclipse.wst.jsdt.ui.superType.container",
    "chars": 49,
    "preview": "org.eclipse.wst.jsdt.launching.baseBrowserLibrary"
  },
  {
    "path": ".settings/org.eclipse.wst.jsdt.ui.superType.name",
    "chars": 6,
    "preview": "Window"
  },
  {
    "path": ".settings/org.eclipse.wst.validation.prefs",
    "chars": 48,
    "preview": "disabled=06target\neclipse.preferences.version=1\n"
  },
  {
    "path": "README.md",
    "chars": 842,
    "preview": "# examination_system 教务管理系统\n这是个基于SSM+Bootstrap的教务查询系统,是一个教务查询系统.\n做了关于数据库的增删改查练习。\n用来熟悉SSM的整合开发。\n\n## 使用技术 \nIOC容器:Spring We"
  },
  {
    "path": "pom.xml",
    "chars": 4320,
    "preview": "<project xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n\txsi:schemaLoca"
  },
  {
    "path": "sql/examination_system.sql",
    "chars": 7487,
    "preview": "/*\nNavicat MySQL Data Transfer\n\nSource Server         : MySQL\nSource Server Version : 50716\nSource Host           : loca"
  },
  {
    "path": "src/main/java/com/system/controller/AdminController.java",
    "chars": 12315,
    "preview": "package com.system.controller;\n\nimport com.system.exception.CustomException;\nimport com.system.po.*;\nimport com.system.s"
  },
  {
    "path": "src/main/java/com/system/controller/LoginController.java",
    "chars": 1383,
    "preview": "package com.system.controller;\n\nimport com.system.po.Userlogin;\nimport org.apache.shiro.SecurityUtils;\nimport org.apache"
  },
  {
    "path": "src/main/java/com/system/controller/RestPasswordController.java",
    "chars": 1283,
    "preview": "package com.system.controller;\n\nimport com.system.exception.CustomException;\nimport com.system.po.Userlogin;\nimport com."
  },
  {
    "path": "src/main/java/com/system/controller/StudentController.java",
    "chars": 4089,
    "preview": "package com.system.controller;\n\nimport com.system.exception.CustomException;\nimport com.system.po.*;\nimport com.system.s"
  },
  {
    "path": "src/main/java/com/system/controller/TeacherController.java",
    "chars": 2607,
    "preview": "package com.system.controller;\n\nimport com.system.exception.CustomException;\nimport com.system.po.*;\nimport com.system.s"
  },
  {
    "path": "src/main/java/com/system/controller/converter/CustomDateConverter.java",
    "chars": 712,
    "preview": "package com.system.controller.converter;\n\nimport org.springframework.core.convert.converter.Converter;\n\nimport java.text"
  },
  {
    "path": "src/main/java/com/system/exception/CustomException.java",
    "chars": 417,
    "preview": "package com.system.exception;\n\n/**\n *  系统自定义异常类,针对预期异常,需要在程序中抛出此类的异常\n */\npublic class CustomException extends Exception "
  },
  {
    "path": "src/main/java/com/system/exception/CustomExceptionResolver.java",
    "chars": 1685,
    "preview": "package com.system.exception;\n\nimport org.apache.shiro.authc.IncorrectCredentialsException;\nimport org.apache.shiro.auth"
  },
  {
    "path": "src/main/java/com/system/mapper/CollegeMapper.java",
    "chars": 841,
    "preview": "package com.system.mapper;\n\nimport com.system.po.College;\nimport com.system.po.CollegeExample;\nimport org.apache.ibatis."
  },
  {
    "path": "src/main/java/com/system/mapper/CollegeMapper.xml",
    "chars": 6102,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "src/main/java/com/system/mapper/CourseMapper.java",
    "chars": 823,
    "preview": "package com.system.mapper;\n\nimport com.system.po.Course;\nimport com.system.po.CourseExample;\nimport org.apache.ibatis.an"
  },
  {
    "path": "src/main/java/com/system/mapper/CourseMapper.xml",
    "chars": 10283,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "src/main/java/com/system/mapper/CourseMapperCustom.java",
    "chars": 291,
    "preview": "package com.system.mapper;\n\nimport com.system.po.CourseCustom;\nimport com.system.po.PagingVO;\n\nimport java.util.List;\n\n/"
  },
  {
    "path": "src/main/java/com/system/mapper/CourseMapperCustom.xml",
    "chars": 479,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "src/main/java/com/system/mapper/RoleMapper.java",
    "chars": 787,
    "preview": "package com.system.mapper;\n\nimport com.system.po.Role;\nimport com.system.po.RoleExample;\nimport org.apache.ibatis.annota"
  },
  {
    "path": "src/main/java/com/system/mapper/RoleMapper.xml",
    "chars": 6573,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "src/main/java/com/system/mapper/SelectedcourseMapper.java",
    "chars": 733,
    "preview": "package com.system.mapper;\n\nimport com.system.po.Selectedcourse;\nimport com.system.po.SelectedcourseExample;\nimport org."
  },
  {
    "path": "src/main/java/com/system/mapper/SelectedcourseMapper.xml",
    "chars": 5666,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "src/main/java/com/system/mapper/StudentMapper.java",
    "chars": 835,
    "preview": "package com.system.mapper;\n\nimport com.system.po.Student;\nimport com.system.po.StudentExample;\nimport org.apache.ibatis."
  },
  {
    "path": "src/main/java/com/system/mapper/StudentMapper.xml",
    "chars": 8183,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "src/main/java/com/system/mapper/StudentMapperCustom.java",
    "chars": 398,
    "preview": "package com.system.mapper;\n\nimport com.system.po.PagingVO;\nimport com.system.po.StudentCustom;\n\nimport java.util.List;\n\n"
  },
  {
    "path": "src/main/java/com/system/mapper/StudentMapperCustom.xml",
    "chars": 2624,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "src/main/java/com/system/mapper/TeacherMapper.java",
    "chars": 835,
    "preview": "package com.system.mapper;\n\nimport com.system.po.Teacher;\nimport com.system.po.TeacherExample;\nimport org.apache.ibatis."
  },
  {
    "path": "src/main/java/com/system/mapper/TeacherMapper.xml",
    "chars": 9254,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "src/main/java/com/system/mapper/TeacherMapperCustom.java",
    "chars": 303,
    "preview": "package com.system.mapper;\n\nimport com.system.po.PagingVO;\nimport com.system.po.TeacherCustom;\n\nimport java.util.List;\n\n"
  },
  {
    "path": "src/main/java/com/system/mapper/TeacherMapperCustom.xml",
    "chars": 505,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "src/main/java/com/system/mapper/UserloginMapper.java",
    "chars": 867,
    "preview": "package com.system.mapper;\n\nimport com.system.po.Userlogin;\nimport com.system.po.UserloginExample;\nimport org.apache.iba"
  },
  {
    "path": "src/main/java/com/system/mapper/UserloginMapper.xml",
    "chars": 7123,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "src/main/java/com/system/mapper/UserloginMapperCustom.java",
    "chars": 208,
    "preview": "package com.system.mapper;\n\nimport com.system.po.UserloginCustom;\n\n/**\n *  UserloginMapper扩展类\n */\npublic interface Userl"
  },
  {
    "path": "src/main/java/com/system/mapper/UserloginMapperCustom.xml",
    "chars": 1057,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "src/main/java/com/system/po/College.java",
    "chars": 482,
    "preview": "package com.system.po;\n\npublic class College {\n    private Integer collegeid;\n\n    private String collegename;\n\n    publ"
  },
  {
    "path": "src/main/java/com/system/po/CollegeCustom.java",
    "chars": 96,
    "preview": "package com.system.po;\n\n/**\n * College扩展类\n */\npublic class CollegeCustom extends College {\n\n\n\n}\n"
  },
  {
    "path": "src/main/java/com/system/po/CollegeExample.java",
    "chars": 9693,
    "preview": "package com.system.po;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class CollegeExample {\n    protected "
  },
  {
    "path": "src/main/java/com/system/po/Course.java",
    "chars": 1912,
    "preview": "package com.system.po;\n\npublic class Course {\n    private Integer courseid;\n\n    private String coursename;\n\n    private"
  },
  {
    "path": "src/main/java/com/system/po/CourseCustom.java",
    "chars": 314,
    "preview": "package com.system.po;\n\n/**\n * Course扩展类    课程\n */\npublic class CourseCustom extends Course {\n\n    //所属院系名\n    private S"
  },
  {
    "path": "src/main/java/com/system/po/CourseExample.java",
    "chars": 25281,
    "preview": "package com.system.po;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class CourseExample {\n    protected S"
  },
  {
    "path": "src/main/java/com/system/po/PagingVO.java",
    "chars": 1635,
    "preview": "package com.system.po;\n\n/**\n *  分页信息 pojo类\n */\npublic class PagingVO {\n\n    //当前页码,默认第一页\n    private int curentPageNo = "
  },
  {
    "path": "src/main/java/com/system/po/Role.java",
    "chars": 675,
    "preview": "package com.system.po;\n\npublic class Role {\n    private Integer roleid;\n\n    private String rolename;\n\n    private Strin"
  },
  {
    "path": "src/main/java/com/system/po/RoleExample.java",
    "chars": 11975,
    "preview": "package com.system.po;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class RoleExample {\n    protected Str"
  },
  {
    "path": "src/main/java/com/system/po/SelectedCourseCustom.java",
    "chars": 817,
    "preview": "package com.system.po;\n\n/**\n * Created by Jacey on 2017/6/29.\n */\npublic class SelectedCourseCustom extends Selectedcour"
  },
  {
    "path": "src/main/java/com/system/po/Selectedcourse.java",
    "chars": 594,
    "preview": "package com.system.po;\n\npublic class Selectedcourse {\n    private Integer courseid;\n\n    private Integer studentid;\n\n   "
  },
  {
    "path": "src/main/java/com/system/po/SelectedcourseExample.java",
    "chars": 11191,
    "preview": "package com.system.po;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class SelectedcourseExample {\n    pro"
  },
  {
    "path": "src/main/java/com/system/po/Student.java",
    "chars": 1174,
    "preview": "package com.system.po;\n\nimport java.util.Date;\n\npublic class Student {\n    private Integer userid;\n\n    private String u"
  },
  {
    "path": "src/main/java/com/system/po/StudentCustom.java",
    "chars": 661,
    "preview": "package com.system.po;\n\nimport java.util.List;\n\n/**\n * Student的扩展类\n */\npublic class StudentCustom extends Student {\n    "
  },
  {
    "path": "src/main/java/com/system/po/StudentExample.java",
    "chars": 19347,
    "preview": "package com.system.po;\n\nimport java.util.ArrayList;\nimport java.util.Date;\nimport java.util.Iterator;\nimport java.util.L"
  },
  {
    "path": "src/main/java/com/system/po/Teacher.java",
    "chars": 1568,
    "preview": "package com.system.po;\n\nimport java.util.Date;\n\npublic class Teacher {\n    private Integer userid;\n\n    private String u"
  },
  {
    "path": "src/main/java/com/system/po/TeacherCustom.java",
    "chars": 309,
    "preview": "package com.system.po;\n\n/**\n * teacher扩展类\n */\npublic class TeacherCustom extends Teacher {\n    //所属院系名\n    private Strin"
  },
  {
    "path": "src/main/java/com/system/po/TeacherExample.java",
    "chars": 23927,
    "preview": "package com.system.po;\n\nimport java.util.ArrayList;\nimport java.util.Date;\nimport java.util.Iterator;\nimport java.util.L"
  },
  {
    "path": "src/main/java/com/system/po/Userlogin.java",
    "chars": 815,
    "preview": "package com.system.po;\n\npublic class Userlogin {\n    private Integer userid;\n\n    private String username;\n\n    private "
  },
  {
    "path": "src/main/java/com/system/po/UserloginCustom.java",
    "chars": 265,
    "preview": "package com.system.po;\n\n/**\n * Userlogin扩展类\n */\npublic class UserloginCustom extends Userlogin {\n\n    private Role role_"
  },
  {
    "path": "src/main/java/com/system/po/UserloginExample.java",
    "chars": 13794,
    "preview": "package com.system.po;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class UserloginExample {\n    protecte"
  },
  {
    "path": "src/main/java/com/system/realm/LoginRealm.java",
    "chars": 2666,
    "preview": "package com.system.realm;\n\nimport com.system.mapper.UserloginMapper;\nimport com.system.po.Role;\nimport com.system.po.Use"
  },
  {
    "path": "src/main/java/com/system/service/CollegeService.java",
    "chars": 209,
    "preview": "package com.system.service;\n\nimport com.system.po.College;\n\nimport java.util.List;\n\n/**\n * Created by Jacey on 2017/6/30"
  },
  {
    "path": "src/main/java/com/system/service/CourseService.java",
    "chars": 776,
    "preview": "package com.system.service;\n\nimport com.system.po.CourseCustom;\n\nimport java.util.List;\n\n/**\n * CourseService课程信息.\n */\np"
  },
  {
    "path": "src/main/java/com/system/service/RoleService.java",
    "chars": 169,
    "preview": "package com.system.service;\n\nimport com.system.po.Role;\n\n/**\n *  Role 权限表Service层\n */\npublic interface RoleService {\n\n  "
  },
  {
    "path": "src/main/java/com/system/service/SelectedCourseService.java",
    "chars": 952,
    "preview": "package com.system.service;\n\nimport com.system.po.SelectedCourseCustom;\nimport com.system.po.StudentCustom;\n\nimport java"
  },
  {
    "path": "src/main/java/com/system/service/StudentService.java",
    "chars": 818,
    "preview": "package com.system.service;\n\nimport com.system.po.StudentCustom;\n\nimport java.util.List;\n\n/**\n * Student学生Service层\n */\np"
  },
  {
    "path": "src/main/java/com/system/service/TeacherService.java",
    "chars": 867,
    "preview": "package com.system.service;\n\nimport com.system.mapper.TeacherMapper;\nimport com.system.po.TeacherCustom;\nimport org.spri"
  },
  {
    "path": "src/main/java/com/system/service/UserloginService.java",
    "chars": 395,
    "preview": "package com.system.service;\n\nimport com.system.po.Userlogin;\n\n/**\n *\n *\n */\npublic interface UserloginService {\n\n    //根"
  },
  {
    "path": "src/main/java/com/system/service/impl/CollegeServiceImpl.java",
    "chars": 793,
    "preview": "package com.system.service.impl;\n\nimport com.system.mapper.CollegeMapper;\nimport com.system.po.College;\nimport com.syste"
  },
  {
    "path": "src/main/java/com/system/service/impl/CourseServiceImpl.java",
    "chars": 4728,
    "preview": "package com.system.service.impl;\n\nimport com.system.mapper.CollegeMapper;\nimport com.system.mapper.CourseMapper;\nimport "
  },
  {
    "path": "src/main/java/com/system/service/impl/RoleServiceImpl.java",
    "chars": 519,
    "preview": "package com.system.service.impl;\n\nimport com.system.mapper.RoleMapper;\nimport com.system.po.Role;\nimport com.system.serv"
  },
  {
    "path": "src/main/java/com/system/service/impl/SelectedCourseServiceImpl.java",
    "chars": 4488,
    "preview": "package com.system.service.impl;\n\nimport com.system.mapper.SelectedcourseMapper;\nimport com.system.mapper.StudentMapper;"
  },
  {
    "path": "src/main/java/com/system/service/impl/StudentServiceImpl.java",
    "chars": 3805,
    "preview": "package com.system.service.impl;\n\nimport com.system.mapper.CollegeMapper;\nimport com.system.mapper.StudentMapper;\nimport"
  },
  {
    "path": "src/main/java/com/system/service/impl/TeacherServiceImpl.java",
    "chars": 4503,
    "preview": "package com.system.service.impl;\n\nimport com.system.exception.CustomException;\nimport com.system.mapper.CollegeMapper;\ni"
  },
  {
    "path": "src/main/java/com/system/service/impl/UserloginServiceImpl.java",
    "chars": 1647,
    "preview": "package com.system.service.impl;\n\nimport com.system.mapper.UserloginMapper;\nimport com.system.po.Userlogin;\nimport com.s"
  },
  {
    "path": "src/main/resources/log4j.properties",
    "chars": 646,
    "preview": "### direct log messages to stdout ###\nlog4j.appender.stdout=org.apache.log4j.ConsoleAppender\nlog4j.appender.stdout.Targe"
  },
  {
    "path": "src/main/resources/mybatis/mybatis.cfg.xml",
    "chars": 473,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n<!DOCTYPE configuration PUBLIC \"-//mybatis.org//DTD Config 3.0//EN\" \"http://myba"
  },
  {
    "path": "src/main/resources/mysql.properties",
    "chars": 135,
    "preview": "jdbc.driver = com.mysql.jdbc.Driver\njdbc.url = jdbc:mysql://localhost:3306/examination_system\njdbc.username = root\njdbc."
  },
  {
    "path": "src/main/resources/spring/applicationContext-dao.xml",
    "chars": 2029,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<beans xmlns=\"http://www.springframework.org/schema/beans\"\n       xmlns:xsi=\"http"
  },
  {
    "path": "src/main/resources/spring/applicationContext-service.xml",
    "chars": 1483,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<beans xmlns=\"http://www.springframework.org/schema/beans\"\n               xmlns:x"
  },
  {
    "path": "src/main/resources/spring/applicationContext-shiro.xml",
    "chars": 2860,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<beans xmlns=\"http://www.springframework.org/schema/beans\"\n       xmlns:xsi=\"http"
  },
  {
    "path": "src/main/resources/spring/applicationContext-trsaction.xml",
    "chars": 1945,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<beans xmlns=\"http://www.springframework.org/schema/beans\"\n       xmlns:xsi=\"http"
  },
  {
    "path": "src/main/resources/spring/springmvc.xml",
    "chars": 2426,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<beans xmlns=\"http://www.springframework.org/schema/beans\"\n\txmlns:xsi=\"http://www"
  },
  {
    "path": "src/main/webapp/WEB-INF/classes/spring/applicationContext-dao.xml",
    "chars": 2029,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<beans xmlns=\"http://www.springframework.org/schema/beans\"\n       xmlns:xsi=\"http"
  },
  {
    "path": "src/main/webapp/WEB-INF/classes/spring/applicationContext-service.xml",
    "chars": 1483,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<beans xmlns=\"http://www.springframework.org/schema/beans\"\n               xmlns:x"
  },
  {
    "path": "src/main/webapp/WEB-INF/classes/spring/applicationContext-shiro.xml",
    "chars": 2860,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<beans xmlns=\"http://www.springframework.org/schema/beans\"\n       xmlns:xsi=\"http"
  },
  {
    "path": "src/main/webapp/WEB-INF/classes/spring/applicationContext-trsaction.xml",
    "chars": 1945,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<beans xmlns=\"http://www.springframework.org/schema/beans\"\n       xmlns:xsi=\"http"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/admin/addCourse.jsp",
    "chars": 4331,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" pre"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/admin/addStudent.jsp",
    "chars": 3789,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" pre"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/admin/addTeacher.jsp",
    "chars": 4447,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" pre"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/admin/editCourse.jsp",
    "chars": 5477,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" pre"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/admin/editStudent.jsp",
    "chars": 4219,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" pre"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/admin/editTeacher.jsp",
    "chars": 5494,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" pre"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/admin/menu.jsp",
    "chars": 1032,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n\n<div class=\"col-md-2\">\n    <ul class=\"nav nav-pills n"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/admin/passwordRest.jsp",
    "chars": 2927,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<!DOCTYPE html>\n<html>\n<head>\n\t<title></title>\n\n\t<meta"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/admin/showCourse.jsp",
    "chars": 5294,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" pre"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/admin/showStudent.jsp",
    "chars": 5116,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" pre"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/admin/showTeacher.jsp",
    "chars": 5248,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" pre"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/admin/top.jsp",
    "chars": 2182,
    "preview": "<%--\n  Created by IntelliJ IDEA.\n  User: Jacey\n  Date: 2017/6/30\n  Time: 9:30\n  To change this template use File | Setti"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/admin/userPasswordRest.jsp",
    "chars": 2933,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<!DOCTYPE html>\n<html>\n<head>\n\t<title></title>\n\n\t<meta"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/error.jsp",
    "chars": 260,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%--开启el表达式--%>\n<%@ page  isELIgnored=\"false\"%>\n\n<html"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/student/menu.jsp",
    "chars": 891,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n\n<div class=\"col-md-2\">\n    <ul class=\"nav nav-pills n"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/student/overCourse.jsp",
    "chars": 4489,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" pre"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/student/passwordRest.jsp",
    "chars": 2927,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<!DOCTYPE html>\n<html>\n<head>\n\t<title></title>\n\n\t<meta"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/student/selectCourse.jsp",
    "chars": 4631,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" pre"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/student/showCourse.jsp",
    "chars": 4898,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" pre"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/student/top.jsp",
    "chars": 2147,
    "preview": "<%--\n  Created by IntelliJ IDEA.\n  User: Jacey\n  Date: 2017/6/30\n  Time: 9:30\n  To change this template use File | Setti"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/success.jsp",
    "chars": 301,
    "preview": "<%--\n  Created by IntelliJ IDEA.\n  User: Jacey\n  Date: 2017/6/11\n  Time: 20:23\n  To change this template use File | Sett"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/teacher/mark.jsp",
    "chars": 2885,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<!DOCTYPE html>\n<html>\n<head>\n\t<title></title>\n\n\t<meta"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/teacher/menu.jsp",
    "chars": 628,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n\n<div class=\"col-md-2\">\n    <ul class=\"nav nav-pills n"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/teacher/passwordRest.jsp",
    "chars": 2927,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<!DOCTYPE html>\n<html>\n<head>\n\t<title></title>\n\n\t<meta"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/teacher/showCourse.jsp",
    "chars": 4928,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" pre"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/teacher/showGrade.jsp",
    "chars": 4348,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" pre"
  },
  {
    "path": "src/main/webapp/WEB-INF/jsp/teacher/top.jsp",
    "chars": 2147,
    "preview": "<%--\n  Created by IntelliJ IDEA.\n  User: Jacey\n  Date: 2017/6/30\n  Time: 9:30\n  To change this template use File | Setti"
  },
  {
    "path": "src/main/webapp/WEB-INF/web.xml",
    "chars": 2228,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<web-app xmlns=\"http://xmlns.jcp.org/xml/ns/javaee\"\n         xmlns:xsi=\"http://ww"
  },
  {
    "path": "src/main/webapp/css/bootstrap-theme.css",
    "chars": 26132,
    "preview": "/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://gi"
  },
  {
    "path": "src/main/webapp/css/bootstrap.css",
    "chars": 146010,
    "preview": "/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://gi"
  },
  {
    "path": "src/main/webapp/js/bootstrap.js",
    "chars": 69707,
    "preview": "/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under the MIT license"
  },
  {
    "path": "src/main/webapp/js/npm.js",
    "chars": 484,
    "preview": "// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.\nrequ"
  },
  {
    "path": "src/main/webapp/login.jsp",
    "chars": 2495,
    "preview": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<!DOCTYPE html>\n<html>\n<head>\n\t<title></title>\n\t<meta "
  },
  {
    "path": "src/test/test/com/system/mapper/CourseMapperCustomTest.java",
    "chars": 1034,
    "preview": "package com.system.mapper;\n\nimport com.system.po.CourseCustom;\nimport com.system.po.PagingVO;\nimport com.system.po.Teach"
  },
  {
    "path": "src/test/test/com/system/mapper/StudentMapperCustomTest.java",
    "chars": 1555,
    "preview": "package com.system.mapper;\n\nimport com.system.po.PagingVO;\nimport com.system.po.Student;\nimport com.system.po.StudentCus"
  },
  {
    "path": "src/test/test/com/system/mapper/StudentMapperTest.java",
    "chars": 1095,
    "preview": "package com.system.mapper;\n\nimport com.system.po.Student;\nimport com.system.po.StudentExample;\nimport org.junit.Before;\n"
  },
  {
    "path": "src/test/test/com/system/mapper/TeacherMapperCustomTest.java",
    "chars": 1044,
    "preview": "package com.system.mapper;\n\nimport com.system.po.PagingVO;\nimport com.system.po.StudentCustom;\nimport com.system.po.Teac"
  },
  {
    "path": "src/test/test/com/system/mapper/UserloginMapperCustomTest.java",
    "chars": 742,
    "preview": "package com.system.mapper;\n\n\nimport com.system.po.UserloginCustom;\nimport org.junit.Before;\nimport org.junit.Test;\nimpor"
  },
  {
    "path": "src/test/test/com/system/service/impl/CourseServiceImplTest.java",
    "chars": 1217,
    "preview": "package com.system.service.impl;\n\nimport com.system.po.CourseCustom;\nimport com.system.service.CourseService;\nimport com"
  },
  {
    "path": "src/test/test/com/system/service/impl/SelectedCourseServiceImplTest.java",
    "chars": 1075,
    "preview": "package com.system.service.impl;\n\nimport com.system.po.SelectedCourseCustom;\nimport com.system.service.CourseService;\nim"
  },
  {
    "path": "src/test/test/com/system/service/impl/StudentServiceImplTest.java",
    "chars": 3628,
    "preview": "package com.system.service.impl;\n\nimport com.system.po.PagingVO;\nimport com.system.po.Student;\nimport com.system.po.Stud"
  },
  {
    "path": "src/test/test/com/system/service/impl/TeacherServiceImplTest.java",
    "chars": 3096,
    "preview": "package com.system.service.impl;\n\nimport com.system.po.Teacher;\nimport com.system.po.TeacherCustom;\nimport com.system.se"
  },
  {
    "path": "src/test/test/com/system/service/impl/UserloginServiceImplTest.java",
    "chars": 1027,
    "preview": "package com.system.service.impl;\n\nimport com.system.po.Userlogin;\nimport com.system.service.TeacherService;\nimport com.s"
  },
  {
    "path": "target/classes/com/system/mapper/CollegeMapper.xml",
    "chars": 6102,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "target/classes/com/system/mapper/CourseMapper.xml",
    "chars": 10283,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "target/classes/com/system/mapper/CourseMapperCustom.xml",
    "chars": 479,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "target/classes/com/system/mapper/RoleMapper.xml",
    "chars": 6573,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "target/classes/com/system/mapper/SelectedcourseMapper.xml",
    "chars": 5666,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "target/classes/com/system/mapper/StudentMapper.xml",
    "chars": 8183,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "target/classes/com/system/mapper/StudentMapperCustom.xml",
    "chars": 2624,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "target/classes/com/system/mapper/TeacherMapper.xml",
    "chars": 9254,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "target/classes/com/system/mapper/TeacherMapperCustom.xml",
    "chars": 505,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "target/classes/com/system/mapper/UserloginMapper.xml",
    "chars": 7123,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "target/classes/com/system/mapper/UserloginMapperCustom.xml",
    "chars": 1057,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org"
  },
  {
    "path": "target/classes/log4j.properties",
    "chars": 646,
    "preview": "### direct log messages to stdout ###\nlog4j.appender.stdout=org.apache.log4j.ConsoleAppender\nlog4j.appender.stdout.Targe"
  },
  {
    "path": "target/classes/mybatis/mybatis.cfg.xml",
    "chars": 473,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n<!DOCTYPE configuration PUBLIC \"-//mybatis.org//DTD Config 3.0//EN\" \"http://myba"
  },
  {
    "path": "target/classes/mysql.properties",
    "chars": 135,
    "preview": "jdbc.driver = com.mysql.jdbc.Driver\njdbc.url = jdbc:mysql://localhost:3306/examination_system\njdbc.username = root\njdbc."
  },
  {
    "path": "target/classes/spring/applicationContext-dao.xml",
    "chars": 2029,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<beans xmlns=\"http://www.springframework.org/schema/beans\"\n       xmlns:xsi=\"http"
  },
  {
    "path": "target/classes/spring/applicationContext-service.xml",
    "chars": 1483,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<beans xmlns=\"http://www.springframework.org/schema/beans\"\n               xmlns:x"
  },
  {
    "path": "target/classes/spring/applicationContext-shiro.xml",
    "chars": 2860,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<beans xmlns=\"http://www.springframework.org/schema/beans\"\n       xmlns:xsi=\"http"
  },
  {
    "path": "target/classes/spring/applicationContext-trsaction.xml",
    "chars": 1945,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<beans xmlns=\"http://www.springframework.org/schema/beans\"\n       xmlns:xsi=\"http"
  },
  {
    "path": "target/classes/spring/springmvc.xml",
    "chars": 2426,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<beans xmlns=\"http://www.springframework.org/schema/beans\"\n\txmlns:xsi=\"http://www"
  },
  {
    "path": "target/m2e-wtp/web-resources/META-INF/MANIFEST.MF",
    "chars": 109,
    "preview": "Manifest-Version: 1.0\nBuilt-By: Administrator\nBuild-Jdk: 1.8.0_77\nCreated-By: Maven Integration for Eclipse\n\n"
  },
  {
    "path": "target/m2e-wtp/web-resources/META-INF/maven/com.jacey/Examination_System/pom.properties",
    "chars": 402,
    "preview": "#Generated by Maven Integration for Eclipse\n#Mon Mar 19 17:05:22 CST 2018\nversion=1.0-SNAPSHOT\ngroupId=com.jacey\nm2e.pro"
  },
  {
    "path": "target/m2e-wtp/web-resources/META-INF/maven/com.jacey/Examination_System/pom.xml",
    "chars": 4320,
    "preview": "<project xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n\txsi:schemaLoca"
  }
]

About this extraction

This page contains the full source code of the Zoutao6/examination_system- GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 156 files (692.2 KB), approximately 188.0k tokens, and a symbol index with 1124 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!