diff --git "a/1\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/\344\275\234\344\270\232.sql" "b/1\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/\344\275\234\344\270\232.sql" new file mode 100644 index 0000000000000000000000000000000000000000..6ebe88cd06e72562ba09ff13577647a321e7fdf8 --- /dev/null +++ "b/1\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/\344\275\234\344\270\232.sql" @@ -0,0 +1,22 @@ +CREATE DATABASE `MI` CHARACTER SET utf8 + +DROP TABLE quanxian; +CREATE TABLE quanxian +( +id CHAR(10), +NAME VARCHAR(10), +tel VARCHAR(25), +gender VARCHAR(10), +time DATE +)ENGINE INNODB CHARSET='utf8'; + +INSERT INTO quanxian VALUES +('1','赵','123456789','男','2022-1-1'), +('2','钱','132456789','女','2022-1-1'), +('3','孙','123546789','男','2022-1-1'), +('4','李','123457689','女','2022-1-1'); +INSERT INTO quanxian(gender) VALUES('男'); + +UPDATE quanxian SET NAME="周" WHERE (id="1"); +UPDATE quanxian SET sex="男" WHERE (id="2"); +DELETE FROM quanxian WHERE (tel="123456789"); \ No newline at end of file diff --git "a/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/$PROJECT_FILE$" "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/$PROJECT_FILE$" new file mode 100644 index 0000000000000000000000000000000000000000..2da3b9468c1f6e27ccd9d8de90e7a34019b02491 --- /dev/null +++ "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/$PROJECT_FILE$" @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git "a/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/.gitignore" "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..35410cacdc5e87f985c93a96520f5e11a5c822e4 --- /dev/null +++ "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/.gitignore" @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git "a/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/compiler.xml" "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/compiler.xml" new file mode 100644 index 0000000000000000000000000000000000000000..d9e3477add1ad81e9f61334036a0d521f39da270 --- /dev/null +++ "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/compiler.xml" @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git "a/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/jarRepositories.xml" "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/jarRepositories.xml" new file mode 100644 index 0000000000000000000000000000000000000000..0912217189fdf818f30c5206a46e0a249f4c3de3 --- /dev/null +++ "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/jarRepositories.xml" @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git "a/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/jpa-buddy.xml" "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/jpa-buddy.xml" new file mode 100644 index 0000000000000000000000000000000000000000..966d5f56a99523a01d4ba0a48fa95c4a881d44ac --- /dev/null +++ "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/jpa-buddy.xml" @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git "a/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/junitgenerator-prj-settings.xml" "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/junitgenerator-prj-settings.xml" new file mode 100644 index 0000000000000000000000000000000000000000..1fde9c12d8f029811dca9a30d02d52e418881610 --- /dev/null +++ "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/junitgenerator-prj-settings.xml" @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git "a/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/misc.xml" "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/misc.xml" new file mode 100644 index 0000000000000000000000000000000000000000..010c4000e6d8e83751448f94d05be543240d82f2 --- /dev/null +++ "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/misc.xml" @@ -0,0 +1,17 @@ + + + + + + + + + + + + \ No newline at end of file diff --git "a/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/uiDesigner.xml" "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/uiDesigner.xml" new file mode 100644 index 0000000000000000000000000000000000000000..2b63946d5b31084bbb7dda418ceb3d75eb686373 --- /dev/null +++ "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/uiDesigner.xml" @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git "a/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/pom.xml" "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/pom.xml" new file mode 100644 index 0000000000000000000000000000000000000000..fbd591ee5880001238933f1aa3d5d42fd701853f --- /dev/null +++ "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/pom.xml" @@ -0,0 +1,23 @@ + + + 4.0.0 + + xju.hqs + untitled + 1.0-SNAPSHOT + + + 8 + 8 + + + + + org.springframework + spring-webmvc + 5.3.18 + + + \ No newline at end of file diff --git "a/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/java/xju/hqs/Lisi.java" "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/java/xju/hqs/Lisi.java" new file mode 100644 index 0000000000000000000000000000000000000000..e79dd615ef2c41841de32434321ff8cf7da43e6b --- /dev/null +++ "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/java/xju/hqs/Lisi.java" @@ -0,0 +1,35 @@ +package xju.hqs; + +/** + * @Description TODO + * @Author Hanqiushi + * @Date 2022/12/18 21:39 + **/ +public class Lisi { + private String name; + private int age; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public int getAge() { + return age; + } + + public void setAge(int age) { + this.age = age; + } + + @Override + public String toString() { + return "Lisi{" + + "name='" + name + '\'' + + ", age=" + age + + '}'; + } +} \ No newline at end of file diff --git "a/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/java/xju/hqs/NewTest.java" "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/java/xju/hqs/NewTest.java" new file mode 100644 index 0000000000000000000000000000000000000000..2397a8bb505d44b76cf3f0494611bc1e9a9f26c5 --- /dev/null +++ "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/java/xju/hqs/NewTest.java" @@ -0,0 +1,36 @@ +package xju.hqs; + +/** + * @Description TODO + * @Author Hanqiushi + * @Date 2022/12/18 21:39 + **/ +public class NewTest { + private Zhangsan zhangsan; + + private Lisi lisi; + + public Zhangsan getZhangsan() { + return zhangsan; + } + + public void setZhangsan(Zhangsan zhangsan) { + this.zhangsan = zhangsan; + } + + public Lisi getLisi() { + return lisi; + } + + public void setLisi(Lisi lisi) { + this.lisi = lisi; + } + + @Override + public String toString() { + return "NewTest{" + + "zhangsan=" + zhangsan + + ", lisi=" + lisi + + '}'; + } +} \ No newline at end of file diff --git "a/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/java/xju/hqs/Zhangsan.java" "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/java/xju/hqs/Zhangsan.java" new file mode 100644 index 0000000000000000000000000000000000000000..ceda04100aea2c67b12951438c1042cbf9f83222 --- /dev/null +++ "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/java/xju/hqs/Zhangsan.java" @@ -0,0 +1,36 @@ +package xju.hqs; + +/** + * @Description TODO + * @Author Hanqiushi + * @Date 2022/12/18 21:39 + **/ +public class Zhangsan { + + private String name; + private String age; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getAge() { + return age; + } + + public void setAge(String age) { + this.age = age; + } + + @Override + public String toString() { + return "Zhangsan{" + + "name='" + name + '\'' + + ", age='" + age + '\'' + + '}'; + } +} \ No newline at end of file diff --git "a/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/resources/applicationContext.xml" "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/resources/applicationContext.xml" new file mode 100644 index 0000000000000000000000000000000000000000..4e019b27a2707ae76484ebaa3c2671b6296ac84c --- /dev/null +++ "b/2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/resources/applicationContext.xml" @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git "a/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/$PROJECT_FILE$" "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/$PROJECT_FILE$" new file mode 100644 index 0000000000000000000000000000000000000000..2da3b9468c1f6e27ccd9d8de90e7a34019b02491 --- /dev/null +++ "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/$PROJECT_FILE$" @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git "a/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/.gitignore" "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..35410cacdc5e87f985c93a96520f5e11a5c822e4 --- /dev/null +++ "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/.gitignore" @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git "a/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/compiler.xml" "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/compiler.xml" new file mode 100644 index 0000000000000000000000000000000000000000..443c13689f9c1594e8cf645754aab8ea62c41486 --- /dev/null +++ "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/compiler.xml" @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git "a/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/jarRepositories.xml" "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/jarRepositories.xml" new file mode 100644 index 0000000000000000000000000000000000000000..0912217189fdf818f30c5206a46e0a249f4c3de3 --- /dev/null +++ "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/jarRepositories.xml" @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git "a/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/jpa-buddy.xml" "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/jpa-buddy.xml" new file mode 100644 index 0000000000000000000000000000000000000000..966d5f56a99523a01d4ba0a48fa95c4a881d44ac --- /dev/null +++ "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/jpa-buddy.xml" @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git "a/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/junitgenerator-prj-settings.xml" "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/junitgenerator-prj-settings.xml" new file mode 100644 index 0000000000000000000000000000000000000000..1fde9c12d8f029811dca9a30d02d52e418881610 --- /dev/null +++ "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/junitgenerator-prj-settings.xml" @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git "a/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/misc.xml" "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/misc.xml" new file mode 100644 index 0000000000000000000000000000000000000000..010c4000e6d8e83751448f94d05be543240d82f2 --- /dev/null +++ "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/misc.xml" @@ -0,0 +1,17 @@ + + + + + + + + + + + + \ No newline at end of file diff --git "a/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/pom.xml" "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/pom.xml" new file mode 100644 index 0000000000000000000000000000000000000000..a9469446772aca320cd8ec5c63a8943f08a3206f --- /dev/null +++ "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/pom.xml" @@ -0,0 +1,24 @@ + + + 4.0.0 + + xju.hqs + untitled1 + 1.0-SNAPSHOT + + + 8 + 8 + + + + + org.springframework + spring-webmvc + 5.3.18 + + + + \ No newline at end of file diff --git "a/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/java/xju/hqs/NewTest.java" "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/java/xju/hqs/NewTest.java" new file mode 100644 index 0000000000000000000000000000000000000000..7aaafd71169e7d15c1c25ece2b12cf3dc01759e2 --- /dev/null +++ "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/java/xju/hqs/NewTest.java" @@ -0,0 +1,43 @@ +package xju.hqs; + +import org.springframework.beans.factory.annotation.Value; + +/** + * @Description TODO + * @Author Hanqiushi + * @Date 2022/12/18 22:03 + **/ +public class NewTest { + @Value("${testname}") + private String name; + + @Value("${testsex}") + private String sex; + @Value("${testage}") + private int age; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public int getAge() { + return age; + } + + public void setAge(int age) { + this.age = age; + } + + @Override + public String toString() { + return "NewTest{" + + "name='" + name + '\'' + + ", sex='" + sex + '\'' + + ", age=" + age + + '}'; + } +} \ No newline at end of file diff --git "a/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/resources/applicationContext.xml" "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/resources/applicationContext.xml" new file mode 100644 index 0000000000000000000000000000000000000000..0f1e6b69073fec2ed7bd53d9f02672e0e2ebbb16 --- /dev/null +++ "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/resources/applicationContext.xml" @@ -0,0 +1,10 @@ + + + + + + + \ No newline at end of file diff --git "a/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/resources/demo.properties" "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/resources/demo.properties" new file mode 100644 index 0000000000000000000000000000000000000000..ecb8876c3fa8f7048648156fc3c2066fc1fe782f --- /dev/null +++ "b/3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/resources/demo.properties" @@ -0,0 +1,3 @@ +testname='??' +testsex='?' +testage=3 \ No newline at end of file