From 44158caae106e03ef2a99951048d7933fc4baf50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A9=E7=A7=8B=E5=AE=9E?= <1543653661@qq.com> Date: Sun, 18 Dec 2022 22:18:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=B8=89=E6=AC=A1=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../\344\275\234\344\270\232.sql" | 22 ++++ .../.idea/$PROJECT_FILE$" | 8 ++ .../.idea/.gitignore" | 8 ++ .../.idea/compiler.xml" | 13 ++ .../.idea/jarRepositories.xml" | 20 +++ .../.idea/jpa-buddy.xml" | 6 + .../.idea/junitgenerator-prj-settings.xml" | 6 + .../.idea/misc.xml" | 17 +++ .../.idea/uiDesigner.xml" | 124 ++++++++++++++++++ .../pom.xml" | 23 ++++ .../src/main/java/xju/hqs/Lisi.java" | 35 +++++ .../src/main/java/xju/hqs/NewTest.java" | 36 +++++ .../src/main/java/xju/hqs/Zhangsan.java" | 36 +++++ .../main/resources/applicationContext.xml" | 19 +++ .../.idea/$PROJECT_FILE$" | 8 ++ .../.idea/.gitignore" | 8 ++ .../.idea/compiler.xml" | 13 ++ .../.idea/jarRepositories.xml" | 20 +++ .../.idea/jpa-buddy.xml" | 6 + .../.idea/junitgenerator-prj-settings.xml" | 6 + .../.idea/misc.xml" | 17 +++ .../pom.xml" | 24 ++++ .../src/main/java/xju/hqs/NewTest.java" | 43 ++++++ .../main/resources/applicationContext.xml" | 10 ++ .../src/main/resources/demo.properties" | 3 + 25 files changed, 531 insertions(+) create mode 100644 "1\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/\344\275\234\344\270\232.sql" create mode 100644 "2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/$PROJECT_FILE$" create mode 100644 "2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/.gitignore" create mode 100644 "2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/compiler.xml" create mode 100644 "2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/jarRepositories.xml" create mode 100644 "2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/jpa-buddy.xml" create mode 100644 "2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/junitgenerator-prj-settings.xml" create mode 100644 "2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/misc.xml" create mode 100644 "2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/uiDesigner.xml" create mode 100644 "2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/pom.xml" create mode 100644 "2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/java/xju/hqs/Lisi.java" create mode 100644 "2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/java/xju/hqs/NewTest.java" create mode 100644 "2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/java/xju/hqs/Zhangsan.java" create mode 100644 "2\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/resources/applicationContext.xml" create mode 100644 "3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/$PROJECT_FILE$" create mode 100644 "3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/.gitignore" create mode 100644 "3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/compiler.xml" create mode 100644 "3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/jarRepositories.xml" create mode 100644 "3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/jpa-buddy.xml" create mode 100644 "3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/junitgenerator-prj-settings.xml" create mode 100644 "3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/.idea/misc.xml" create mode 100644 "3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/pom.xml" create mode 100644 "3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/java/xju/hqs/NewTest.java" create mode 100644 "3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/resources/applicationContext.xml" create mode 100644 "3\344\275\234\344\270\232-20202501405-\351\237\251\347\247\213\345\256\236/src/main/resources/demo.properties" 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 0000000..6ebe88c --- /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 0000000..2da3b94 --- /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 0000000..35410ca --- /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 0000000..d9e3477 --- /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 0000000..0912217 --- /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 0000000..966d5f5 --- /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 0000000..1fde9c1 --- /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 0000000..010c400 --- /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 0000000..2b63946 --- /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 0000000..fbd591e --- /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 0000000..e79dd61 --- /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 0000000..2397a8b --- /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 0000000..ceda041 --- /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 0000000..4e019b2 --- /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 0000000..2da3b94 --- /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 0000000..35410ca --- /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 0000000..443c136 --- /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 0000000..0912217 --- /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 0000000..966d5f5 --- /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 0000000..1fde9c1 --- /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 0000000..010c400 --- /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 0000000..a946944 --- /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 0000000..7aaafd7 --- /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 0000000..0f1e6b6 --- /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 0000000..ecb8876 --- /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 -- Gitee