diff --git a/booksSearch/.project b/booksSearch/.project
new file mode 100644
index 0000000..d42d60e
--- /dev/null
+++ b/booksSearch/.project
@@ -0,0 +1,17 @@
+
+
+ booksSearch
+
+
+
+
+
+ org.eclipse.m2e.core.maven2Builder
+
+
+
+
+
+ org.eclipse.m2e.core.maven2Nature
+
+
diff --git a/booksSearch/.settings/org.eclipse.m2e.core.prefs b/booksSearch/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 0000000..f897a7f
--- /dev/null
+++ b/booksSearch/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
diff --git a/booksSearch/booksService/.classpath b/booksSearch/booksService/.classpath
new file mode 100644
index 0000000..a65ef6c
--- /dev/null
+++ b/booksSearch/booksService/.classpath
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/booksSearch/booksService/.project b/booksSearch/booksService/.project
new file mode 100644
index 0000000..89d1c8b
--- /dev/null
+++ b/booksSearch/booksService/.project
@@ -0,0 +1,42 @@
+
+
+ booksService
+
+
+
+
+
+ org.eclipse.wst.jsdt.core.javascriptValidator
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.eclipse.wst.common.project.facet.core.builder
+
+
+
+
+ org.eclipse.m2e.core.maven2Builder
+
+
+
+
+ org.eclipse.wst.validation.validationbuilder
+
+
+
+
+
+ org.eclipse.jem.workbench.JavaEMFNature
+ org.eclipse.wst.common.modulecore.ModuleCoreNature
+ org.eclipse.jdt.core.javanature
+ org.eclipse.m2e.core.maven2Nature
+ org.eclipse.wst.common.project.facet.core.nature
+ org.eclipse.wst.jsdt.core.jsNature
+
+
diff --git a/booksSearch/booksService/.settings/.jsdtscope b/booksSearch/booksService/.settings/.jsdtscope
new file mode 100644
index 0000000..b72a6a4
--- /dev/null
+++ b/booksSearch/booksService/.settings/.jsdtscope
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/booksSearch/booksService/.settings/org.eclipse.jdt.core.prefs b/booksSearch/booksService/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..45a6e0e
--- /dev/null
+++ b/booksSearch/booksService/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,8 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+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.5
diff --git a/booksSearch/booksService/.settings/org.eclipse.m2e.core.prefs b/booksSearch/booksService/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 0000000..f897a7f
--- /dev/null
+++ b/booksSearch/booksService/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
diff --git a/booksSearch/booksService/.settings/org.eclipse.wst.common.component b/booksSearch/booksService/.settings/org.eclipse.wst.common.component
new file mode 100644
index 0000000..26a4dcd
--- /dev/null
+++ b/booksSearch/booksService/.settings/org.eclipse.wst.common.component
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/booksSearch/booksService/.settings/org.eclipse.wst.common.project.facet.core.xml b/booksSearch/booksService/.settings/org.eclipse.wst.common.project.facet.core.xml
new file mode 100644
index 0000000..d74c55e
--- /dev/null
+++ b/booksSearch/booksService/.settings/org.eclipse.wst.common.project.facet.core.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/booksSearch/booksService/.settings/org.eclipse.wst.jsdt.ui.superType.container b/booksSearch/booksService/.settings/org.eclipse.wst.jsdt.ui.superType.container
new file mode 100644
index 0000000..3bd5d0a
--- /dev/null
+++ b/booksSearch/booksService/.settings/org.eclipse.wst.jsdt.ui.superType.container
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
diff --git a/booksSearch/booksService/.settings/org.eclipse.wst.jsdt.ui.superType.name b/booksSearch/booksService/.settings/org.eclipse.wst.jsdt.ui.superType.name
new file mode 100644
index 0000000..05bd71b
--- /dev/null
+++ b/booksSearch/booksService/.settings/org.eclipse.wst.jsdt.ui.superType.name
@@ -0,0 +1 @@
+Window
\ No newline at end of file
diff --git a/booksSearch/booksService/.settings/org.eclipse.wst.validation.prefs b/booksSearch/booksService/.settings/org.eclipse.wst.validation.prefs
new file mode 100644
index 0000000..04cad8c
--- /dev/null
+++ b/booksSearch/booksService/.settings/org.eclipse.wst.validation.prefs
@@ -0,0 +1,2 @@
+disabled=06target
+eclipse.preferences.version=1
diff --git a/booksSearch/booksService/pom.xml b/booksSearch/booksService/pom.xml
new file mode 100644
index 0000000..19409b3
--- /dev/null
+++ b/booksSearch/booksService/pom.xml
@@ -0,0 +1,160 @@
+
+
+ 4.0.0
+
+ edu.zxts
+ booksSearch
+ 0.0.1-SNAPSHOT
+
+ edu.zxts
+ booksService
+ 0.0.1-SNAPSHOT
+ war
+ booksService Maven Webapp
+ http://maven.apache.org
+
+
+ UTF-8
+ UTF-8
+
+ 4.3.10.RELEASE
+
+
+
+
+ mysql
+ mysql-connector-java
+ 5.1.46
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+
+ org.mybatis.generator
+ mybatis-generator-core
+ 1.3.5
+
+
+ mysql
+ mysql-connector-java
+ 5.1.46
+
+
+
+
+ org.springframework
+ spring-core
+ ${spring.version}
+
+
+
+ org.springframework
+ spring-beans
+ ${spring.version}
+
+
+
+ org.springframework
+ spring-context
+ ${spring.version}
+
+
+
+ org.springframework
+ spring-jdbc
+ ${spring.version}
+
+
+
+ org.springframework
+ spring-tx
+ ${spring.version}
+
+
+
+ org.springframework
+ spring-web
+ ${spring.version}
+
+
+
+ org.springframework
+ spring-webmvc
+ ${spring.version}
+
+
+
+ org.springframework
+ spring-test
+ ${spring.version}
+ test
+
+
+
+
+ org.mybatis
+ mybatis
+ 3.4.2
+
+
+ org.mybatis
+ mybatis-spring
+ 1.3.1
+
+
+ c3p0
+ c3p0
+ 0.9.1.2
+
+
+ commons-dbcp
+ commons-dbcp
+ 1.4
+
+
+
+
+ junit
+ junit
+ 4.12
+ test
+
+
+
+ booksService
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+
+ 1.8
+ UTF8
+ true
+
+
+
+
+ org.mybatis.generator
+ mybatis-generator-maven-plugin
+ 1.3.5
+
+
+ ${basedir}/src/main/resources/generatorConfig.xml
+ true
+
+
+
+
+
+
diff --git a/booksSearch/booksService/src/main/java/controller/StuController.java b/booksSearch/booksService/src/main/java/controller/StuController.java
new file mode 100644
index 0000000..8fc98c7
--- /dev/null
+++ b/booksSearch/booksService/src/main/java/controller/StuController.java
@@ -0,0 +1,65 @@
+package controller;
+
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Qualifier;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.Model;
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import domain.StuPO;
+import service.StuService;
+
+
+@Controller
+public class StuController {
+ @Autowired@Qualifier("StuServiceImpl")
+ private StuService stuService;
+ @RequestMapping("/index")
+ public String index(){
+ return "index";
+ }
+ @RequestMapping("/search")
+ public String search(Model model,String num){
+ StuPO stuPO=stuService.search(num);
+ model.addAttribute("num", stuPO.getNum());
+ model.addAttribute("name", stuPO.getName());
+ model.addAttribute("sex", stuPO.getSex());
+ model.addAttribute("major", stuPO.getMajor());
+ return "show";
+ }
+
+ @RequestMapping("/add")
+ public String add(StuPO stuPO){
+ try{
+ stuService.add(stuPO);
+ }catch(Exception e)
+ {
+
+ }
+ return"addsuccess";
+ }
+ @RequestMapping("/delete")
+ public String delete(String num){
+ stuService.delete(num);
+ return "deletesuccess";
+ }
+
+ @RequestMapping("/update")
+ public String update(StuPO stuPO){
+ stuService.update(stuPO);
+ return "updatesucces";
+ }
+ public StuService getStuService() {
+ return stuService;
+ }
+
+ public void setStuService(StuService stuService) {
+ this.stuService = stuService;
+ }
+
+
+
+
+
+}
diff --git a/booksSearch/booksService/src/main/java/controller/booksController.java b/booksSearch/booksService/src/main/java/controller/booksController.java
new file mode 100644
index 0000000..92fde27
--- /dev/null
+++ b/booksSearch/booksService/src/main/java/controller/booksController.java
@@ -0,0 +1,5 @@
+package controller;
+
+public class booksController {
+
+}
diff --git a/booksSearch/booksService/src/main/resources/generatorConfig.xml b/booksSearch/booksService/src/main/resources/generatorConfig.xml
new file mode 100644
index 0000000..3b321a6
--- /dev/null
+++ b/booksSearch/booksService/src/main/resources/generatorConfig.xml
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/booksSearch/booksService/src/main/resources/mybatis.xml b/booksSearch/booksService/src/main/resources/mybatis.xml
new file mode 100644
index 0000000..60a680b
--- /dev/null
+++ b/booksSearch/booksService/src/main/resources/mybatis.xml
@@ -0,0 +1,5 @@
+
+
+
+
\ No newline at end of file
diff --git a/booksSearch/booksService/src/main/resources/spring-mybatis.xml b/booksSearch/booksService/src/main/resources/spring-mybatis.xml
new file mode 100644
index 0000000..35dbc99
--- /dev/null
+++ b/booksSearch/booksService/src/main/resources/spring-mybatis.xml
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dialect=mysql
+ reasonable=true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/booksSearch/booksService/src/main/webapp/WEB-INF/web.xml b/booksSearch/booksService/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..9f88c1f
--- /dev/null
+++ b/booksSearch/booksService/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,7 @@
+
+
+
+ Archetype Created Web Application
+
diff --git a/booksSearch/booksService/src/main/webapp/index.jsp b/booksSearch/booksService/src/main/webapp/index.jsp
new file mode 100644
index 0000000..c38169b
--- /dev/null
+++ b/booksSearch/booksService/src/main/webapp/index.jsp
@@ -0,0 +1,5 @@
+
+
+Hello World!
+
+
diff --git a/booksSearch/booksService/target/classes/controller/StuController.class b/booksSearch/booksService/target/classes/controller/StuController.class
new file mode 100644
index 0000000..86f656a
Binary files /dev/null and b/booksSearch/booksService/target/classes/controller/StuController.class differ
diff --git a/booksSearch/booksService/target/classes/controller/booksController.class b/booksSearch/booksService/target/classes/controller/booksController.class
new file mode 100644
index 0000000..9ee0be3
Binary files /dev/null and b/booksSearch/booksService/target/classes/controller/booksController.class differ
diff --git a/booksSearch/booksService/target/classes/generatorConfig.xml b/booksSearch/booksService/target/classes/generatorConfig.xml
new file mode 100644
index 0000000..3b321a6
--- /dev/null
+++ b/booksSearch/booksService/target/classes/generatorConfig.xml
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/booksSearch/booksService/target/classes/mybatis.xml b/booksSearch/booksService/target/classes/mybatis.xml
new file mode 100644
index 0000000..60a680b
--- /dev/null
+++ b/booksSearch/booksService/target/classes/mybatis.xml
@@ -0,0 +1,5 @@
+
+
+
+
\ No newline at end of file
diff --git a/booksSearch/booksService/target/classes/spring-mybatis.xml b/booksSearch/booksService/target/classes/spring-mybatis.xml
new file mode 100644
index 0000000..35dbc99
--- /dev/null
+++ b/booksSearch/booksService/target/classes/spring-mybatis.xml
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dialect=mysql
+ reasonable=true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/booksSearch/booksService/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF b/booksSearch/booksService/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..f44188e
--- /dev/null
+++ b/booksSearch/booksService/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF
@@ -0,0 +1,5 @@
+Manifest-Version: 1.0
+Built-By: yuanhangpc
+Build-Jdk: 1.8.0_152
+Created-By: Maven Integration for Eclipse
+
diff --git a/booksSearch/booksService/target/m2e-wtp/web-resources/META-INF/maven/edu.zxts/booksService/pom.properties b/booksSearch/booksService/target/m2e-wtp/web-resources/META-INF/maven/edu.zxts/booksService/pom.properties
new file mode 100644
index 0000000..22e7a80
--- /dev/null
+++ b/booksSearch/booksService/target/m2e-wtp/web-resources/META-INF/maven/edu.zxts/booksService/pom.properties
@@ -0,0 +1,7 @@
+#Generated by Maven Integration for Eclipse
+#Wed Jan 09 17:07:46 CST 2019
+version=0.0.1-SNAPSHOT
+groupId=edu.zxts
+m2e.projectName=booksService
+m2e.projectLocation=H\:\\sts-bundle\\booksSearch\\booksService
+artifactId=booksService
diff --git a/booksSearch/booksService/target/m2e-wtp/web-resources/META-INF/maven/edu.zxts/booksService/pom.xml b/booksSearch/booksService/target/m2e-wtp/web-resources/META-INF/maven/edu.zxts/booksService/pom.xml
new file mode 100644
index 0000000..19409b3
--- /dev/null
+++ b/booksSearch/booksService/target/m2e-wtp/web-resources/META-INF/maven/edu.zxts/booksService/pom.xml
@@ -0,0 +1,160 @@
+
+
+ 4.0.0
+
+ edu.zxts
+ booksSearch
+ 0.0.1-SNAPSHOT
+
+ edu.zxts
+ booksService
+ 0.0.1-SNAPSHOT
+ war
+ booksService Maven Webapp
+ http://maven.apache.org
+
+
+ UTF-8
+ UTF-8
+
+ 4.3.10.RELEASE
+
+
+
+
+ mysql
+ mysql-connector-java
+ 5.1.46
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+
+ org.mybatis.generator
+ mybatis-generator-core
+ 1.3.5
+
+
+ mysql
+ mysql-connector-java
+ 5.1.46
+
+
+
+
+ org.springframework
+ spring-core
+ ${spring.version}
+
+
+
+ org.springframework
+ spring-beans
+ ${spring.version}
+
+
+
+ org.springframework
+ spring-context
+ ${spring.version}
+
+
+
+ org.springframework
+ spring-jdbc
+ ${spring.version}
+
+
+
+ org.springframework
+ spring-tx
+ ${spring.version}
+
+
+
+ org.springframework
+ spring-web
+ ${spring.version}
+
+
+
+ org.springframework
+ spring-webmvc
+ ${spring.version}
+
+
+
+ org.springframework
+ spring-test
+ ${spring.version}
+ test
+
+
+
+
+ org.mybatis
+ mybatis
+ 3.4.2
+
+
+ org.mybatis
+ mybatis-spring
+ 1.3.1
+
+
+ c3p0
+ c3p0
+ 0.9.1.2
+
+
+ commons-dbcp
+ commons-dbcp
+ 1.4
+
+
+
+
+ junit
+ junit
+ 4.12
+ test
+
+
+
+ booksService
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+
+ 1.8
+ UTF8
+ true
+
+
+
+
+ org.mybatis.generator
+ mybatis-generator-maven-plugin
+ 1.3.5
+
+
+ ${basedir}/src/main/resources/generatorConfig.xml
+ true
+
+
+
+
+
+
diff --git a/booksSearch/pom.xml b/booksSearch/pom.xml
new file mode 100644
index 0000000..ef5391e
--- /dev/null
+++ b/booksSearch/pom.xml
@@ -0,0 +1,10 @@
+
+ 4.0.0
+ edu.zxts
+ booksSearch
+ 0.0.1-SNAPSHOT
+ pom
+
+ booksService
+
+
\ No newline at end of file