diff --git a/WebRoot/WEB-INF/jsp/sunvote/classtype/classtype_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/classtype/classtype_edit.jsp
new file mode 100644
index 0000000..5ac9c32
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/classtype/classtype_edit.jsp
@@ -0,0 +1,108 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
+<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+<%
+ String path = request.getContextPath();
+ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+%>
+
+
+
+
+
+
+
+ <%@ include file="../../system/index/top.jsp"%>
+
+
+
+
+
+
+
+
+
+
+ <%@ include file="../../system/index/foot.jsp"%>
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WebRoot/WEB-INF/jsp/sunvote/classtype/classtype_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/classtype/classtype_list.jsp
new file mode 100644
index 0000000..bdb440a
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/classtype/classtype_list.jsp
@@ -0,0 +1,366 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
+<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
+<%
+ String path = request.getContextPath();
+ String basePath = request.getScheme() + "://"
+ + request.getServerName() + ":" + request.getServerPort()
+ + path + "/";
+%>
+
+
+
+
+
+
+
+<%@ include file="../../system/index/top.jsp"%>
+
+
+
+
+
+
+
+
+
+
+
+ <%@ include file="../../system/index/foot.jsp"%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WebRoot/WEB-INF/jsp/sunvote/grade/grade_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/grade/grade_edit.jsp
new file mode 100644
index 0000000..f2e666b
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/grade/grade_edit.jsp
@@ -0,0 +1,122 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
+<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+<%
+ String path = request.getContextPath();
+ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+%>
+
+
+
+
+
+
+
+ <%@ include file="../../system/index/top.jsp"%>
+
+
+
+
+
+
+
+
+
+
+ <%@ include file="../../system/index/foot.jsp"%>
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WebRoot/WEB-INF/jsp/sunvote/grade/grade_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/grade/grade_list.jsp
new file mode 100644
index 0000000..10bd127
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/grade/grade_list.jsp
@@ -0,0 +1,368 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
+<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
+<%
+ String path = request.getContextPath();
+ String basePath = request.getScheme() + "://"
+ + request.getServerName() + ":" + request.getServerPort()
+ + path + "/";
+%>
+
+
+
+
+
+
+
+<%@ include file="../../system/index/top.jsp"%>
+
+
+
+
+
+
+
+
+
+
+
+ <%@ include file="../../system/index/foot.jsp"%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_edit.jsp
new file mode 100644
index 0000000..88b6faa
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_edit.jsp
@@ -0,0 +1,164 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
+<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+<%
+ String path = request.getContextPath();
+ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+%>
+
+
+
+
+
+
+
+ <%@ include file="../../system/index/top.jsp"%>
+
+
+
+
+
+
+
+
+
+
+ <%@ include file="../../system/index/foot.jsp"%>
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_list.jsp
new file mode 100644
index 0000000..cc1c831
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_list.jsp
@@ -0,0 +1,374 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
+<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
+<%
+ String path = request.getContextPath();
+ String basePath = request.getScheme() + "://"
+ + request.getServerName() + ":" + request.getServerPort()
+ + path + "/";
+%>
+
+
+
+
+
+
+
+<%@ include file="../../system/index/top.jsp"%>
+
+
+
+
+
+
+
+
+
+
+
+ <%@ include file="../../system/index/foot.jsp"%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WebRoot/WEB-INF/jsp/sunvote/subject/subject_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/subject/subject_edit.jsp
new file mode 100644
index 0000000..4e9e44b
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/subject/subject_edit.jsp
@@ -0,0 +1,122 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
+<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+<%
+ String path = request.getContextPath();
+ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+%>
+
+
+
+
+
+
+
+ <%@ include file="../../system/index/top.jsp"%>
+
+
+
+
+
+
+
+
+
+
+ <%@ include file="../../system/index/foot.jsp"%>
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WebRoot/WEB-INF/jsp/sunvote/subject/subject_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/subject/subject_list.jsp
new file mode 100644
index 0000000..d5f0147
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/subject/subject_list.jsp
@@ -0,0 +1,368 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
+<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
+<%
+ String path = request.getContextPath();
+ String basePath = request.getScheme() + "://"
+ + request.getServerName() + ":" + request.getServerPort()
+ + path + "/";
+%>
+
+
+
+
+
+
+
+<%@ include file="../../system/index/top.jsp"%>
+
+
+
+
+
+
+
+
+
+
+
+ <%@ include file="../../system/index/foot.jsp"%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/dbconfig.properties b/resources/dbconfig.properties
index 77c05f2..fb0b946 100644
--- a/resources/dbconfig.properties
+++ b/resources/dbconfig.properties
@@ -1,8 +1,9 @@
#数据源 1
-url:jdbc:mysql://localhost:3306/sunvote?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8
+url:jdbc:mysql://192.168.0.3:3306/education?autoReconnect=true&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8
driverClassName:com.mysql.jdbc.Driver
username:root
-password:elvis
+#password:elvis
+password:admin
filters:stat
maxActive:20
initialSize:1
@@ -13,7 +14,7 @@ timeBetweenEvictionRunsMillis:60000
minEvictableIdleTimeMillis:300000
validationQuery:SELECT 'x'
testWhileIdle:true
-testOnBorrow:false
+testOnBorrow:true
testOnReturn:false
maxOpenPreparedStatements:20
removeAbandoned:true
diff --git a/resources/ftl/createCode/jsp_edit_Template.ftl b/resources/ftl/createCode/jsp_edit_Template.ftl
index d73d5c0..9a37f55 100644
--- a/resources/ftl/createCode/jsp_edit_Template.ftl
+++ b/resources/ftl/createCode/jsp_edit_Template.ftl
@@ -28,7 +28,7 @@