something improve
Signed-off-by: Chenx221 <chenx221@yandex.com>
This commit is contained in:
parent
285e5fa17b
commit
18d941aa8c
@ -8,21 +8,39 @@
|
||||
<element id="module-output" name="project2" />
|
||||
</element>
|
||||
<element id="directory" name="lib">
|
||||
<element id="library" level="project" name="Maven: com.alibaba:druid:1.1.20" />
|
||||
<element id="library" level="project" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.12.7" />
|
||||
<element id="library" level="project" name="Maven: com.fasterxml.jackson.core:jackson-core:2.12.7" />
|
||||
<element id="library" level="project" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.12.7.1" />
|
||||
<element id="library" level="project" name="Maven: com.github.jsqlparser:jsqlparser:4.5" />
|
||||
<element id="library" level="project" name="Maven: com.github.pagehelper:pagehelper:5.3.3" />
|
||||
<element id="library" level="project" name="Maven: com.carrotsearch.thirdparty:simple-xml-safe:2.7.1" />
|
||||
<element id="library" level="project" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.13.4" />
|
||||
<element id="library" level="project" name="Maven: com.fasterxml.jackson.core:jackson-core:2.13.4" />
|
||||
<element id="library" level="project" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.13.4.2" />
|
||||
<element id="library" level="project" name="Maven: com.google.code.findbugs:jsr305:3.0.2" />
|
||||
<element id="library" level="project" name="Maven: com.google.errorprone:error_prone_annotations:2.5.1" />
|
||||
<element id="library" level="project" name="Maven: com.google.guava:failureaccess:1.0.1" />
|
||||
<element id="library" level="project" name="Maven: com.google.guava:guava:30.1.1-jre" />
|
||||
<element id="library" level="project" name="Maven: com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava" />
|
||||
<element id="library" level="project" name="Maven: com.google.j2objc:j2objc-annotations:1.3" />
|
||||
<element id="library" level="project" name="Maven: com.google.protobuf:protobuf-java:3.11.4" />
|
||||
<element id="library" level="project" name="Maven: com.squareup.okhttp3:okhttp:4.10.0" />
|
||||
<element id="library" level="project" name="Maven: com.squareup.okio:okio-jvm:3.1.0" />
|
||||
<element id="library" level="project" name="Maven: commons-io:commons-io:2.12.0" />
|
||||
<element id="library" level="project" name="Maven: io.minio:minio:8.5.3" />
|
||||
<element id="library" level="project" name="Maven: javax.servlet.jsp:javax.servlet.jsp-api:2.3.3" />
|
||||
<element id="library" level="project" name="Maven: javax.servlet:javax.servlet-api:4.0.1" />
|
||||
<element id="library" level="project" name="Maven: jstl:jstl:1.2" />
|
||||
<element id="library" level="project" name="Maven: junit:junit:4.13.1" />
|
||||
<element id="library" level="project" name="Maven: log4j:log4j:1.2.17" />
|
||||
<element id="library" level="project" name="Maven: mysql:mysql-connector-java:8.0.28" />
|
||||
<element id="library" level="project" name="Maven: org.apache.commons:commons-compress:1.21" />
|
||||
<element id="library" level="project" name="Maven: org.apache.commons:commons-csv:1.10.0" />
|
||||
<element id="library" level="project" name="Maven: org.apache.tomcat.embed:tomcat-embed-core:9.0.73" />
|
||||
<element id="library" level="project" name="Maven: org.apache.tomcat:tomcat-annotations-api:9.0.73" />
|
||||
<element id="library" level="project" name="Maven: org.bouncycastle:bcprov-jdk15on:1.69" />
|
||||
<element id="library" level="project" name="Maven: org.checkerframework:checker-qual:3.8.0" />
|
||||
<element id="library" level="project" name="Maven: org.hamcrest:hamcrest-core:1.3" />
|
||||
<element id="library" level="project" name="Maven: org.jetbrains.kotlin:kotlin-stdlib-common:1.6.20" />
|
||||
<element id="library" level="project" name="Maven: org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.20" />
|
||||
<element id="library" level="project" name="Maven: org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.20" />
|
||||
<element id="library" level="project" name="Maven: org.jetbrains.kotlin:kotlin-stdlib:1.6.20" />
|
||||
<element id="library" level="project" name="Maven: org.jetbrains:annotations:13.0" />
|
||||
<element id="library" level="project" name="Maven: org.mybatis:mybatis-spring:2.0.7" />
|
||||
<element id="library" level="project" name="Maven: org.mybatis:mybatis:3.5.7" />
|
||||
<element id="library" level="project" name="Maven: org.springframework.security:spring-security-config:5.7.8" />
|
||||
@ -40,10 +58,8 @@
|
||||
<element id="library" level="project" name="Maven: org.springframework:spring-tx:5.3.27" />
|
||||
<element id="library" level="project" name="Maven: org.springframework:spring-web:5.3.27" />
|
||||
<element id="library" level="project" name="Maven: org.springframework:spring-webmvc:5.3.27" />
|
||||
<element id="library" level="project" name="Maven: org.xerial.snappy:snappy-java:1.1.8.4" />
|
||||
<element id="library" level="project" name="Maven: taglibs:standard:1.1.2" />
|
||||
<element id="library" level="project" name="Maven: org.apache.commons:commons-csv:1.10.0" />
|
||||
<element id="library" level="project" name="Maven: commons-io:commons-io:2.12.0" />
|
||||
<element id="library" level="project" name="Maven: log4j:log4j:1.2.17" />
|
||||
</element>
|
||||
</element>
|
||||
</root>
|
||||
|
5
project2/Minio Console.url
Normal file
5
project2/Minio Console.url
Normal file
@ -0,0 +1,5 @@
|
||||
[{000214A0-0000-0000-C000-000000000046}]
|
||||
Prop3=19,2
|
||||
[InternetShortcut]
|
||||
IDList=
|
||||
URL=http://192.168.8.149:9001/
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -97,22 +97,22 @@
|
||||
<version>8.0.28</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>druid</artifactId>
|
||||
<version>1.1.20</version>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>com.alibaba</groupId>-->
|
||||
<!-- <artifactId>druid</artifactId>-->
|
||||
<!-- <version>1.1.20</version>-->
|
||||
<!-- </dependency>-->
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.13.1</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.pagehelper</groupId>
|
||||
<artifactId>pagehelper</artifactId>
|
||||
<version>5.3.3</version>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>com.github.pagehelper</groupId>-->
|
||||
<!-- <artifactId>pagehelper</artifactId>-->
|
||||
<!-- <version>5.3.3</version>-->
|
||||
<!-- </dependency>-->
|
||||
<dependency>
|
||||
<groupId>jstl</groupId>
|
||||
<artifactId>jstl</artifactId>
|
||||
@ -127,40 +127,23 @@
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-core</artifactId>
|
||||
<version>2.12.7</version>
|
||||
<version>2.13.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
<version>2.12.7.1</version>
|
||||
<version>2.13.4.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-annotations</artifactId>
|
||||
<version>2.12.7</version>
|
||||
<version>2.13.4</version>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.slf4j</groupId>-->
|
||||
<!-- <artifactId>slf4j-log4j12</artifactId>-->
|
||||
<!-- <version>1.6.1</version>-->
|
||||
<!-- </dependency>-->
|
||||
<!-- 日志工具包 -->
|
||||
<dependency>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
<version>1.2.17</version>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.apache.logging.log4j</groupId>-->
|
||||
<!-- <artifactId>log4j-api</artifactId>-->
|
||||
<!-- <version>2.12.4</version>-->
|
||||
<!-- </dependency>-->
|
||||
<!-- <!–日志核心包–>-->
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.apache.logging.log4j</groupId>-->
|
||||
<!-- <artifactId>log4j-core</artifactId>-->
|
||||
<!-- <version>2.12.4</version>-->
|
||||
<!-- </dependency>-->
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-csv</artifactId>
|
||||
@ -171,5 +154,31 @@
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>2.12.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.minio</groupId>
|
||||
<artifactId>minio</artifactId>
|
||||
<version>8.5.3</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.squareup.okio</groupId>
|
||||
<artifactId>okio-jvm</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.squareup.okio</groupId>
|
||||
<artifactId>okio-jvm</artifactId>
|
||||
<version>3.1.0</version>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.jetbrains.kotlin</groupId>-->
|
||||
<!-- <artifactId>kotlin-stdlib-common</artifactId>-->
|
||||
<!-- <version>1.6.20</version>-->
|
||||
<!-- </dependency>-->
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.jetbrains.kotlin</groupId>-->
|
||||
<!-- <artifactId>kotlin-stdlib-common</artifactId>-->
|
||||
<!-- <version>1.5.31</version>-->
|
||||
<!-- </dependency>-->
|
||||
</dependencies>
|
||||
</project>
|
@ -11,7 +11,7 @@
|
||||
Target Server Version : 80033 (8.0.33)
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 17/06/2023 10:27:53
|
||||
Date: 19/06/2023 10:39:55
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
@ -220,21 +220,21 @@ CREATE TABLE `student` (
|
||||
`classes` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '班级',
|
||||
`removed` int NULL DEFAULT 0 COMMENT '移除的记录(default: 0 false)',
|
||||
`photo` blob NULL COMMENT '照片(可选)(暂未实现)',
|
||||
`user_id` int NOT NULL COMMENT '对应的user表id',
|
||||
`user_id` int NULL DEFAULT NULL COMMENT '对应的user表id',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
INDEX `fk_student_classes`(`classes` ASC) USING BTREE,
|
||||
CONSTRAINT `fk_student_classes` FOREIGN KEY (`classes`) REFERENCES `class` (`class_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1004 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1005 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of student
|
||||
-- ----------------------------
|
||||
INSERT INTO `student` VALUES (1, '123', '男', '2023-08-05', '123', '1班', 1, NULL, 0);
|
||||
INSERT INTO `student` VALUES (2, '任睿', '男', '2023-06-08', '755-932-5038', '4班', 1, NULL, 0);
|
||||
INSERT INTO `student` VALUES (1, '666', '男', '2023-08-05', '123', '1班', 1, NULL, 0);
|
||||
INSERT INTO `student` VALUES (2, '任睿', '男', '2023-06-08', '755-932-5038', '4班', 0, NULL, 0);
|
||||
INSERT INTO `student` VALUES (3, '123', '男', '2022-04-02', '755-903-5159', '2班', 0, NULL, 0);
|
||||
INSERT INTO `student` VALUES (4, '于晓明', '男', '2012-06-14', '184-5561-7225', '4班', 0, NULL, 0);
|
||||
INSERT INTO `student` VALUES (5, '朱詩涵', '女', '2017-12-15', '769-7113-1277', '4班', 0, NULL, 0);
|
||||
INSERT INTO `student` VALUES (6, '蒋嘉伦', '男', '2013-12-08', '10-6915-9301', '1班', 0, NULL, 0);
|
||||
INSERT INTO `student` VALUES (6, '无名氏', '男', '2013-12-08', '10-6915-9301', '1班', 0, NULL, 0);
|
||||
INSERT INTO `student` VALUES (7, '萧杰宏', '男', '2015-11-20', '163-1608-7816', '5班', 0, NULL, 0);
|
||||
INSERT INTO `student` VALUES (8, '魏震南', '男', '2008-05-08', '188-4895-8847', '5班', 0, NULL, 0);
|
||||
INSERT INTO `student` VALUES (9, '马睿', '男', '2019-01-08', '194-2348-7153', '1班', 0, NULL, 0);
|
||||
@ -1232,6 +1232,7 @@ INSERT INTO `student` VALUES (1000, '吕嘉伦', '男', '2002-02-03', '755-304-2
|
||||
INSERT INTO `student` VALUES (1001, '测试数据1', '男', '2023-08-05', '4086769184', '2班', 0, NULL, 0);
|
||||
INSERT INTO `student` VALUES (1002, '测试2', '男', '2023-09-05', '123', '1班', 0, NULL, 0);
|
||||
INSERT INTO `student` VALUES (1003, '陈', '男', '2023-06-09', '221', '5班', 0, NULL, 0);
|
||||
INSERT INTO `student` VALUES (1004, '测试21', '男', '2023-06-18', '123', '1班', 0, NULL, NULL);
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for teacher
|
||||
@ -1248,9 +1249,9 @@ CREATE TABLE `teacher` (
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
INDEX `fk_teacher_course`(`course_id` ASC) USING BTREE,
|
||||
INDEX `fk_teacher_classes`(`classes` ASC) USING BTREE,
|
||||
CONSTRAINT `fk_teacher_course` FOREIGN KEY (`course_id`) REFERENCES `course` (`CourseID`) ON DELETE RESTRICT ON UPDATE RESTRICT,
|
||||
CONSTRAINT `fk_teacher_classes` FOREIGN KEY (`classes`) REFERENCES `class` (`class_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
|
||||
CONSTRAINT `fk_teacher_classes` FOREIGN KEY (`classes`) REFERENCES `class` (`class_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
|
||||
CONSTRAINT `fk_teacher_course` FOREIGN KEY (`course_id`) REFERENCES `course` (`CourseID`) ON DELETE RESTRICT ON UPDATE RESTRICT
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 23 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of teacher
|
||||
@ -1275,6 +1276,8 @@ INSERT INTO `teacher` VALUES (17, '刘秀英', '女', '1999-02-18', 9, '2班', 0
|
||||
INSERT INTO `teacher` VALUES (18, '孟宇宁', '男', '1984-12-24', 10, '1班', 0);
|
||||
INSERT INTO `teacher` VALUES (19, '吕睿', '男', '1989-02-22', 1, '1班', 0);
|
||||
INSERT INTO `teacher` VALUES (20, '段嘉伦', '男', '1995-02-08', 10, '1班', 0);
|
||||
INSERT INTO `teacher` VALUES (21, '无名氏3', '男', '2023-06-17', 1, '1班', 0);
|
||||
INSERT INTO `teacher` VALUES (22, '无名氏4', '男', '2023-06-17', 1, '2班', 0);
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for user
|
||||
@ -1288,7 +1291,7 @@ CREATE TABLE `user` (
|
||||
`disabled` int NULL DEFAULT 0 COMMENT '禁用(default: 0 false)',
|
||||
`detail` int NULL DEFAULT NULL COMMENT 'link to roles id',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of user
|
||||
@ -1301,5 +1304,6 @@ INSERT INTO `user` VALUES (5, 'newuser1', '7dcf407fa84a0e0519c7991154c4148de0244
|
||||
INSERT INTO `user` VALUES (6, 'guest2', '6b93ccba414ac1d0ae1e77f3fac560c748a6701ed6946735a49d463351518e16', 'admin', 0, NULL);
|
||||
INSERT INTO `user` VALUES (7, 'student1', '49fe07d0f041bced9ba827a10c2cd31b2089229d4b4e3a63b074ed7a4370e88f', 'student', 0, 0);
|
||||
INSERT INTO `user` VALUES (8, 'student2', '2d850eb5460ffb6bb9ae11186a2d78cc22d9df387f9cdbd3a297e0d1ea08a54b', 'student', 0, 4);
|
||||
INSERT INTO `user` VALUES (9, 'teacher1', '0829db2785c8de0ad7d0231c903be3083f6729679bc69b092bf4cfd3dc629006', 'teacher', 0, 1);
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
|
Reference in New Issue
Block a user