diff --git a/WebRoot/WEB-INF/jsp/sunvote/classbasetation/classbasetation_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/classbasetation/classbasetation_edit.jsp
new file mode 100644
index 0000000..464ff3f
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/classbasetation/classbasetation_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/classbasetation/classbasetation_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/classbasetation/classbasetation_list.jsp
new file mode 100644
index 0000000..b9202d9
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/classbasetation/classbasetation_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/classroster/classroster_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/classroster/classroster_edit.jsp
new file mode 100644
index 0000000..971646f
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/classroster/classroster_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/classroster/classroster_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/classroster/classroster_list.jsp
new file mode 100644
index 0000000..9453c1e
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/classroster/classroster_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/keypadcheck/keypadcheck_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/keypadcheck/keypadcheck_edit.jsp
new file mode 100644
index 0000000..85851c1
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/keypadcheck/keypadcheck_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/keypadcheck/keypadcheck_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/keypadcheck/keypadcheck_list.jsp
new file mode 100644
index 0000000..5b4dc9c
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/keypadcheck/keypadcheck_list.jsp
@@ -0,0 +1,370 @@
+<%@ 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/knowledge/knowledge_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/knowledge/knowledge_edit.jsp
new file mode 100644
index 0000000..29e5b3f
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/knowledge/knowledge_edit.jsp
@@ -0,0 +1,150 @@
+<%@ 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/knowledge/knowledge_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/knowledge/knowledge_list.jsp
new file mode 100644
index 0000000..d224cea
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/knowledge/knowledge_list.jsp
@@ -0,0 +1,372 @@
+<%@ 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/knowledgechapter/knowledgechapter_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/knowledgechapter/knowledgechapter_edit.jsp
new file mode 100644
index 0000000..44e3943
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/knowledgechapter/knowledgechapter_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/knowledgechapter/knowledgechapter_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/knowledgechapter/knowledgechapter_list.jsp
new file mode 100644
index 0000000..c1f62b6
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/knowledgechapter/knowledgechapter_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/paper/paper_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/paper/paper_edit.jsp
new file mode 100644
index 0000000..09ead2f
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/paper/paper_edit.jsp
@@ -0,0 +1,234 @@
+<%@ 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/paper/paper_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/paper/paper_list.jsp
new file mode 100644
index 0000000..21a4482
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/paper/paper_list.jsp
@@ -0,0 +1,384 @@
+<%@ 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/paperclassteacher/paperclassteacher_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/paperclassteacher/paperclassteacher_edit.jsp
new file mode 100644
index 0000000..111ee65
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/paperclassteacher/paperclassteacher_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/paperclassteacher/paperclassteacher_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/paperclassteacher/paperclassteacher_list.jsp
new file mode 100644
index 0000000..c001677
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/paperclassteacher/paperclassteacher_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/paperquestion/paperquestion_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/paperquestion/paperquestion_edit.jsp
new file mode 100644
index 0000000..99c7ecc
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/paperquestion/paperquestion_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/paperquestion/paperquestion_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/paperquestion/paperquestion_list.jsp
new file mode 100644
index 0000000..0e41814
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/paperquestion/paperquestion_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/question/question_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/question/question_edit.jsp
new file mode 100644
index 0000000..f8eaf1a
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/question/question_edit.jsp
@@ -0,0 +1,346 @@
+<%@ 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/question/question_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/question/question_list.jsp
new file mode 100644
index 0000000..d49df2e
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/question/question_list.jsp
@@ -0,0 +1,401 @@
+<%@ 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="myelfun" uri="/WEB-INF/tld/elfun.tld"%>
+<%
+ 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/questiontype/questiontype_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/questiontype/questiontype_edit.jsp
new file mode 100644
index 0000000..0b34578
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/questiontype/questiontype_edit.jsp
@@ -0,0 +1,136 @@
+<%@ 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/questiontype/questiontype_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/questiontype/questiontype_list.jsp
new file mode 100644
index 0000000..c770920
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/questiontype/questiontype_list.jsp
@@ -0,0 +1,370 @@
+<%@ 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/schoolgradesubject/schoolgradesubject_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/schoolgradesubject/schoolgradesubject_edit.jsp
new file mode 100644
index 0000000..a6d8b65
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/schoolgradesubject/schoolgradesubject_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/schoolgradesubject/schoolgradesubject_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/schoolgradesubject/schoolgradesubject_list.jsp
new file mode 100644
index 0000000..71fcdeb
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/schoolgradesubject/schoolgradesubject_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/term/term_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/term/term_edit.jsp
new file mode 100644
index 0000000..6012aca
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/term/term_edit.jsp
@@ -0,0 +1,136 @@
+<%@ 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/term/term_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/term/term_list.jsp
new file mode 100644
index 0000000..c126741
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/term/term_list.jsp
@@ -0,0 +1,370 @@
+<%@ 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/testpaper/testpaper_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/testpaper/testpaper_edit.jsp
new file mode 100644
index 0000000..bab1c4a
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/testpaper/testpaper_edit.jsp
@@ -0,0 +1,248 @@
+<%@ 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/testpaper/testpaper_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/testpaper/testpaper_list.jsp
new file mode 100644
index 0000000..1c69a13
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/testpaper/testpaper_list.jsp
@@ -0,0 +1,386 @@
+<%@ 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/testpaperinfo/testpaperinfo_edit.jsp b/WebRoot/WEB-INF/jsp/sunvote/testpaperinfo/testpaperinfo_edit.jsp
new file mode 100644
index 0000000..44ca4ed
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/testpaperinfo/testpaperinfo_edit.jsp
@@ -0,0 +1,276 @@
+<%@ 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/testpaperinfo/testpaperinfo_list.jsp b/WebRoot/WEB-INF/jsp/sunvote/testpaperinfo/testpaperinfo_list.jsp
new file mode 100644
index 0000000..66af038
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/testpaperinfo/testpaperinfo_list.jsp
@@ -0,0 +1,390 @@
+<%@ 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/tld/elfun.tld b/WebRoot/WEB-INF/tld/elfun.tld
index e9680a4..66b7585 100644
--- a/WebRoot/WEB-INF/tld/elfun.tld
+++ b/WebRoot/WEB-INF/tld/elfun.tld
@@ -80,5 +80,13 @@
${myelfun:findTeachingmaterialName(obj1)}
+
+ 根据ID查找题目类型
+ findQuestionTypeName
+ com.fh.controller.sunvote.Myelfun
+ java.lang.String findQuestionTypeName(int)
+ ${myelfun:findQuestionTypeName(obj1)}
+
+
diff --git a/resources/dbconfig.properties b/resources/dbconfig.properties
index e074a70..a46dbe0 100644
--- a/resources/dbconfig.properties
+++ b/resources/dbconfig.properties
@@ -1,5 +1,6 @@
#数据源 1
url:jdbc:mysql://120.78.57.84:3306/education?autoReconnect=true&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
diff --git a/resources/log4j.properties b/resources/log4j.properties
index 71c8854..a6636d3 100644
--- a/resources/log4j.properties
+++ b/resources/log4j.properties
@@ -10,9 +10,9 @@ log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.A=org.apache.log4j.DailyRollingFileAppender
-log4j.appender.A.File=${catalina.home}/logs/FH_log/PurePro_
+log4j.appender.A.File=${catalina.home}/logs/Elvis/PurePro_
log4j.appender.A.DatePattern=yyyy-MM-dd'.log'
log4j.appender.A.layout=org.apache.log4j.PatternLayout
-log4j.appender.A.layout.ConversionPattern=[FH_sys] %d{yyyy-MM-dd HH\:mm\:ss} %5p %c{1}\:%L \: %m%n
+log4j.appender.A.layout.ConversionPattern=[Elvis] %d{yyyy-MM-dd HH\:mm\:ss} %5p %c{1}\:%L \: %m%n
diff --git a/resources/mybatis1/api/V1Mapper.xml b/resources/mybatis1/api/V1Mapper.xml
new file mode 100644
index 0000000..3452179
--- /dev/null
+++ b/resources/mybatis1/api/V1Mapper.xml
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/mybatis1/sunvote/ClassBasetationMapper.xml b/resources/mybatis1/sunvote/ClassBasetationMapper.xml
new file mode 100644
index 0000000..da39fb3
--- /dev/null
+++ b/resources/mybatis1/sunvote/ClassBasetationMapper.xml
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+ SV_CLASSBASETATION
+
+
+
+
+ SCLASS_ID,
+ BASESTATION_ID,
+ CREATE_TIME,
+ CLASSBASETATION_ID
+
+
+
+
+ #{SCLASS_ID},
+ #{BASESTATION_ID},
+ #{CREATE_TIME},
+ #{CLASSBASETATION_ID}
+
+
+
+
+ insert into
+
+ (
+
+ ) values (
+
+ )
+
+
+
+
+ delete from
+
+ where
+ CLASSBASETATION_ID = #{CLASSBASETATION_ID}
+
+
+
+
+ update
+
+ set
+ SCLASS_ID = #{SCLASS_ID},
+ BASESTATION_ID = #{BASESTATION_ID},
+ CREATE_TIME = #{CREATE_TIME},
+ CLASSBASETATION_ID = CLASSBASETATION_ID
+ where
+ CLASSBASETATION_ID = #{CLASSBASETATION_ID}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ delete from
+
+ where
+ CLASSBASETATION_ID in
+
+ #{item}
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/mybatis1/sunvote/ClassRosterMapper.xml b/resources/mybatis1/sunvote/ClassRosterMapper.xml
new file mode 100644
index 0000000..483d1e6
--- /dev/null
+++ b/resources/mybatis1/sunvote/ClassRosterMapper.xml
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+ SV_CLASSROSTER
+
+
+
+
+ SCLASS_ID,
+ STUDENT_ID,
+ TEAMID,
+ CLASSROSTER_ID
+
+
+
+
+ #{SCLASS_ID},
+ #{STUDENT_ID},
+ #{TEAMID},
+ #{CLASSROSTER_ID}
+
+
+
+
+ insert into
+
+ (
+
+ ) values (
+
+ )
+
+
+
+
+ delete from
+
+ where
+ CLASSROSTER_ID = #{CLASSROSTER_ID}
+
+
+
+
+ update
+
+ set
+ SCLASS_ID = #{SCLASS_ID},
+ STUDENT_ID = #{STUDENT_ID},
+ TEAMID = #{TEAMID},
+ CLASSROSTER_ID = CLASSROSTER_ID
+ where
+ CLASSROSTER_ID = #{CLASSROSTER_ID}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ delete from
+
+ where
+ CLASSROSTER_ID in
+
+ #{item}
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/mybatis1/sunvote/KeypadCheckMapper.xml b/resources/mybatis1/sunvote/KeypadCheckMapper.xml
new file mode 100644
index 0000000..6a04366
--- /dev/null
+++ b/resources/mybatis1/sunvote/KeypadCheckMapper.xml
@@ -0,0 +1,109 @@
+
+
+
+
+
+
+ SV_KEYPADCHECK
+
+
+
+
+ KEYPAD_ID,
+ CREATE_DATE,
+ BATTERY_INFO,
+ ONLINE,
+ KEYPADCHECK_ID
+
+
+
+
+ #{KEYPAD_ID},
+ #{CREATE_DATE},
+ #{BATTERY_INFO},
+ #{ONLINE},
+ #{KEYPADCHECK_ID}
+
+
+
+
+ insert into
+
+ (
+
+ ) values (
+
+ )
+
+
+
+
+ delete from
+
+ where
+ KEYPADCHECK_ID = #{KEYPADCHECK_ID}
+
+
+
+
+ update
+
+ set
+ KEYPAD_ID = #{KEYPAD_ID},
+ BATTERY_INFO = #{BATTERY_INFO},
+ ONLINE = #{ONLINE},
+ KEYPADCHECK_ID = KEYPADCHECK_ID
+ where
+ KEYPADCHECK_ID = #{KEYPADCHECK_ID}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ delete from
+
+ where
+ KEYPADCHECK_ID in
+
+ #{item}
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/mybatis1/sunvote/KnowledgeChapterMapper.xml b/resources/mybatis1/sunvote/KnowledgeChapterMapper.xml
new file mode 100644
index 0000000..01bfde1
--- /dev/null
+++ b/resources/mybatis1/sunvote/KnowledgeChapterMapper.xml
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+ SV_KNOWLEDGECHAPTER
+
+
+
+
+ KNOWLEDGE_ID,
+ CHAPTER_ID,
+ KNOWLEDGECHAPTER_ID
+
+
+
+
+ #{KNOWLEDGE_ID},
+ #{CHAPTER_ID},
+ #{KNOWLEDGECHAPTER_ID}
+
+
+
+
+ insert into
+
+ (
+
+ ) values (
+
+ )
+
+
+
+
+ delete from
+
+ where
+ KNOWLEDGECHAPTER_ID = #{KNOWLEDGECHAPTER_ID}
+
+
+
+
+ update
+
+ set
+ KNOWLEDGE_ID = #{KNOWLEDGE_ID},
+ CHAPTER_ID = #{CHAPTER_ID},
+ KNOWLEDGECHAPTER_ID = KNOWLEDGECHAPTER_ID
+ where
+ KNOWLEDGECHAPTER_ID = #{KNOWLEDGECHAPTER_ID}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ delete from
+
+ where
+ KNOWLEDGECHAPTER_ID in
+
+ #{item}
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/mybatis1/sunvote/KnowledgeMapper.xml b/resources/mybatis1/sunvote/KnowledgeMapper.xml
new file mode 100644
index 0000000..6a085ae
--- /dev/null
+++ b/resources/mybatis1/sunvote/KnowledgeMapper.xml
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+ SV_KNOWLEDGE
+
+
+
+
+ NAME,
+ P_ID,
+ RANK,
+ CODE,
+ REMARK,
+ KNOWLEDGE_ID
+
+
+
+
+ #{NAME},
+ #{P_ID},
+ #{RANK},
+ #{CODE},
+ #{REMARK},
+ #{KNOWLEDGE_ID}
+
+
+
+
+ insert into
+
+ (
+
+ ) values (
+
+ )
+
+
+
+
+ delete from
+
+ where
+ KNOWLEDGE_ID = #{KNOWLEDGE_ID}
+
+
+
+
+ update
+
+ set
+ NAME = #{NAME},
+ P_ID = #{P_ID},
+ RANK = #{RANK},
+ CODE = #{CODE},
+ REMARK = #{REMARK},
+ KNOWLEDGE_ID = KNOWLEDGE_ID
+ where
+ KNOWLEDGE_ID = #{KNOWLEDGE_ID}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ delete from
+
+ where
+ KNOWLEDGE_ID in
+
+ #{item}
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/mybatis1/sunvote/PaperClassTeacherMapper.xml b/resources/mybatis1/sunvote/PaperClassTeacherMapper.xml
new file mode 100644
index 0000000..dd31052
--- /dev/null
+++ b/resources/mybatis1/sunvote/PaperClassTeacherMapper.xml
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+ SV_PAPERCLASSTEACHER
+
+
+
+
+ PAPER_ID,
+ CLASS_ID,
+ TEACHER_ID,
+ PAPERCLASSTEACHER_ID
+
+
+
+
+ #{PAPER_ID},
+ #{CLASS_ID},
+ #{TEACHER_ID},
+ #{PAPERCLASSTEACHER_ID}
+
+
+
+
+ insert into
+
+ (
+
+ ) values (
+
+ )
+
+
+
+
+ delete from
+
+ where
+ PAPERCLASSTEACHER_ID = #{PAPERCLASSTEACHER_ID}
+
+
+
+
+ update
+
+ set
+ PAPER_ID = #{PAPER_ID},
+ CLASS_ID = #{CLASS_ID},
+ TEACHER_ID = #{TEACHER_ID},
+ PAPERCLASSTEACHER_ID = PAPERCLASSTEACHER_ID
+ where
+ PAPERCLASSTEACHER_ID = #{PAPERCLASSTEACHER_ID}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ delete from
+
+ where
+ PAPERCLASSTEACHER_ID in
+
+ #{item}
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/mybatis1/sunvote/PaperMapper.xml b/resources/mybatis1/sunvote/PaperMapper.xml
new file mode 100644
index 0000000..34937ad
--- /dev/null
+++ b/resources/mybatis1/sunvote/PaperMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+ SV_PAPER
+
+
+
+
+ TITLE,
+ USER_ID,
+ PAPER_TYPE,
+ SUBJECT_ID,
+ GRADE_ID,
+ SCHOOL_ID,
+ CREATE_DATE,
+ MODIFY_DATE,
+ EXAM_TIME,
+ PAPER_STATE,
+ REMARK,
+ PAPER_ID
+
+
+
+
+ #{TITLE},
+ #{USER_ID},
+ #{PAPER_TYPE},
+ #{SUBJECT_ID},
+ #{GRADE_ID},
+ #{SCHOOL_ID},
+ #{CREATE_DATE},
+ #{MODIFY_DATE},
+ #{EXAM_TIME},
+ #{PAPER_STATE},
+ #{REMARK},
+ #{PAPER_ID}
+
+
+
+
+ insert into
+
+ (
+
+ ) values (
+
+ )
+
+
+
+
+ delete from
+
+ where
+ PAPER_ID = #{PAPER_ID}
+
+
+
+
+ update
+
+ set
+ TITLE = #{TITLE},
+ USER_ID = #{USER_ID},
+ PAPER_TYPE = #{PAPER_TYPE},
+ SUBJECT_ID = #{SUBJECT_ID},
+ GRADE_ID = #{GRADE_ID},
+ SCHOOL_ID = #{SCHOOL_ID},
+ CREATE_DATE = #{CREATE_DATE},
+ MODIFY_DATE = #{MODIFY_DATE},
+ EXAM_TIME = #{EXAM_TIME},
+ PAPER_STATE = #{PAPER_STATE},
+ REMARK = #{REMARK},
+ PAPER_ID = PAPER_ID
+ where
+ PAPER_ID = #{PAPER_ID}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ delete from
+
+ where
+ PAPER_ID in
+
+ #{item}
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/mybatis1/sunvote/PaperQuestionMapper.xml b/resources/mybatis1/sunvote/PaperQuestionMapper.xml
new file mode 100644
index 0000000..4317c0e
--- /dev/null
+++ b/resources/mybatis1/sunvote/PaperQuestionMapper.xml
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+ SV_PAPERQUESTION
+
+
+
+
+ PAPER_ID,
+ QUESTION_ID,
+ SCORE,
+ PART_SCORE,
+ RANK,
+ NO_NAME,
+ PAPERQUESTION_ID
+
+
+
+
+ #{PAPER_ID},
+ #{QUESTION_ID},
+ #{SCORE},
+ #{PART_SCORE},
+ #{RANK},
+ #{NO_NAME},
+ #{PAPERQUESTION_ID}
+
+
+
+
+ insert into
+
+ (
+
+ ) values (
+
+ )
+
+
+
+
+ delete from
+
+ where
+ PAPERQUESTION_ID = #{PAPERQUESTION_ID}
+
+
+
+
+ update
+
+ set
+ PAPER_ID = #{PAPER_ID},
+ QUESTION_ID = #{QUESTION_ID},
+ SCORE = #{SCORE},
+ PART_SCORE = #{PART_SCORE},
+ RANK = #{RANK},
+ NO_NAME = #{NO_NAME},
+ PAPERQUESTION_ID = PAPERQUESTION_ID
+ where
+ PAPERQUESTION_ID = #{PAPERQUESTION_ID}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ delete from
+
+ where
+ PAPERQUESTION_ID in
+
+ #{item}
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/mybatis1/sunvote/QuestionMapper.xml b/resources/mybatis1/sunvote/QuestionMapper.xml
new file mode 100644
index 0000000..e1fdd35
--- /dev/null
+++ b/resources/mybatis1/sunvote/QuestionMapper.xml
@@ -0,0 +1,155 @@
+
+
+
+
+
+
+ SV_QUESTION
+
+
+
+
+ P_ID,
+ SUBJECT_ID,
+ CHAPTER_ID,
+ PROBLEM_TYPE_ID,
+ TEACHER_ID,
+ SCHOOL_ID,
+ KNOWLEDGE_ID,
+ CONTENT,
+ OPTION_NUM,
+ OPTION_CONTENT,
+ ANSWER,
+ DIFFICULTY,
+ ANALYSIS,
+ QUESTION_FROM,
+ SUG_SCORE,
+ SUG_PART_SCORE,
+ USER_ID,
+ CREATE_DATE,
+ REMARK,
+ QUESTION_ID
+
+
+
+
+ #{P_ID},
+ #{SUBJECT_ID},
+ #{CHAPTER_ID},
+ #{PROBLEM_TYPE_ID},
+ #{TEACHER_ID},
+ #{SCHOOL_ID},
+ #{KNOWLEDGE_ID},
+ #{CONTENT},
+ #{OPTION_NUM},
+ #{OPTION_CONTENT},
+ #{ANSWER},
+ #{DIFFICULTY},
+ #{ANALYSIS},
+ #{QUESTION_FROM},
+ #{SUG_SCORE},
+ #{SUG_PART_SCORE},
+ #{USER_ID},
+ #{CREATE_DATE},
+ #{REMARK},
+ #{QUESTION_ID}
+
+
+
+
+ insert into
+
+ (
+
+ ) values (
+
+ )
+
+
+
+
+ delete from
+
+ where
+ QUESTION_ID = #{QUESTION_ID}
+
+
+
+
+ update
+
+ set
+ P_ID = #{P_ID},
+ SUBJECT_ID = #{SUBJECT_ID},
+ CHAPTER_ID = #{CHAPTER_ID},
+ PROBLEM_TYPE_ID = #{PROBLEM_TYPE_ID},
+ TEACHER_ID = #{TEACHER_ID},
+ SCHOOL_ID = #{SCHOOL_ID},
+ KNOWLEDGE_ID = #{KNOWLEDGE_ID},
+ CONTENT = #{CONTENT},
+ OPTION_NUM = #{OPTION_NUM},
+ OPTION_CONTENT = #{OPTION_CONTENT},
+ ANSWER = #{ANSWER},
+ DIFFICULTY = #{DIFFICULTY},
+ ANALYSIS = #{ANALYSIS},
+ QUESTION_FROM = #{QUESTION_FROM},
+ SUG_SCORE = #{SUG_SCORE},
+ SUG_PART_SCORE = #{SUG_PART_SCORE},
+ USER_ID = #{USER_ID},
+ CREATE_DATE = #{CREATE_DATE},
+ REMARK = #{REMARK},
+ QUESTION_ID = QUESTION_ID
+ where
+ QUESTION_ID = #{QUESTION_ID}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ delete from
+
+ where
+ QUESTION_ID in
+
+ #{item}
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/mybatis1/sunvote/QuestionTypeMapper.xml b/resources/mybatis1/sunvote/QuestionTypeMapper.xml
new file mode 100644
index 0000000..d066f6f
--- /dev/null
+++ b/resources/mybatis1/sunvote/QuestionTypeMapper.xml
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+ SV_QUESTIONTYPE
+
+
+
+
+ NAME,
+ CREATE_DATE,
+ MODIFY_DATE,
+ REMARK,
+ QUESTIONTYPE_ID
+
+
+
+
+ #{NAME},
+ #{CREATE_DATE},
+ #{MODIFY_DATE},
+ #{REMARK},
+ #{QUESTIONTYPE_ID}
+
+
+
+
+ insert into
+
+ (
+
+ ) values (
+
+ )
+
+
+
+
+ delete from
+
+ where
+ QUESTIONTYPE_ID = #{QUESTIONTYPE_ID}
+
+
+
+
+ update
+
+ set
+ NAME = #{NAME},
+ CREATE_DATE = #{CREATE_DATE},
+ MODIFY_DATE = #{MODIFY_DATE},
+ REMARK = #{REMARK},
+ QUESTIONTYPE_ID = QUESTIONTYPE_ID
+ where
+ QUESTIONTYPE_ID = #{QUESTIONTYPE_ID}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ delete from
+
+ where
+ QUESTIONTYPE_ID in
+
+ #{item}
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/mybatis1/sunvote/SchoolGradeSubjectMapper.xml b/resources/mybatis1/sunvote/SchoolGradeSubjectMapper.xml
new file mode 100644
index 0000000..832e4a8
--- /dev/null
+++ b/resources/mybatis1/sunvote/SchoolGradeSubjectMapper.xml
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+ SV_SCHOOLGRADESUBJECT
+
+
+
+
+ SCHOOL_ID,
+ GRADE_ID,
+ SUBJECT_ID,
+ SCHOOLGRADESUBJECT_ID
+
+
+
+
+ #{SCHOOL_ID},
+ #{GRADE_ID},
+ #{SUBJECT_ID},
+ #{SCHOOLGRADESUBJECT_ID}
+
+
+
+
+ insert into
+
+ (
+
+ ) values (
+
+ )
+
+
+
+
+ delete from
+
+ where
+ SCHOOLGRADESUBJECT_ID = #{SCHOOLGRADESUBJECT_ID}
+
+
+
+
+ update
+
+ set
+ SCHOOL_ID = #{SCHOOL_ID},
+ GRADE_ID = #{GRADE_ID},
+ SUBJECT_ID = #{SUBJECT_ID},
+ SCHOOLGRADESUBJECT_ID = SCHOOLGRADESUBJECT_ID
+ where
+ SCHOOLGRADESUBJECT_ID = #{SCHOOLGRADESUBJECT_ID}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ delete from
+
+ where
+ SCHOOLGRADESUBJECT_ID in
+
+ #{item}
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/mybatis1/sunvote/TeacherMapper.xml b/resources/mybatis1/sunvote/TeacherMapper.xml
index 185b695..f1c5864 100644
--- a/resources/mybatis1/sunvote/TeacherMapper.xml
+++ b/resources/mybatis1/sunvote/TeacherMapper.xml
@@ -42,6 +42,7 @@
insert into
(
+ ID,
SCHOOL_ID,
NAME,
PHONE,
@@ -53,6 +54,7 @@
SUBJECT_IDS,
KEYPAD_ID
) values (
+ #{ID},
#{SCHOOL_ID},
#{NAME},
#{PHONE},
@@ -104,6 +106,22 @@
ID = #{ID}
+
+
+