main
parent
6c0653c633
commit
e855ee708b
@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<annotationProcessing>
|
||||
<profile name="Maven default annotation processors profile" enabled="true">
|
||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<module name="dormitory" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
<bytecodeTargetLevel>
|
||||
<module name="dormitory" target="1.8" />
|
||||
</bytecodeTargetLevel>
|
||||
</component>
|
||||
<component name="JavacSettings">
|
||||
<option name="ADDITIONAL_OPTIONS_OVERRIDE">
|
||||
<module name="dormitory" options="-parameters" />
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,8 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<profile version="1.0">
|
||||
<option name="myName" value="Project Default" />
|
||||
<inspection_tool class="DuplicatedCode" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
|
||||
<inspection_tool class="SpringJavaAutowiredFieldsWarningInspection" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
|
||||
<inspection_tool class="SpringJavaInjectionPointsAutowiringInspection" enabled="false" level="ERROR" enabled_by_default="false" />
|
||||
</profile>
|
||||
</component>
|
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="http://maven.aliyun.com/nexus/content/groups/public" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: ch.qos.logback:logback-classic:1.2.3">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: ch.qos.logback:logback-core:1.2.3">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.fasterxml:classmate:1.5.1">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/classmate/1.5.1/classmate-1.5.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/classmate/1.5.1/classmate-1.5.1-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/classmate/1.5.1/classmate-1.5.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.11.3">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.3/jackson-annotations-2.11.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.3/jackson-annotations-2.11.3-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.3/jackson-annotations-2.11.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.fasterxml.jackson.core:jackson-core:2.11.3">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.3/jackson-core-2.11.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.3/jackson-core-2.11.3-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.3/jackson-core-2.11.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.fasterxml.jackson.core:jackson-databind:2.11.3">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.3/jackson-databind-2.11.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.3/jackson-databind-2.11.3-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.3/jackson-databind-2.11.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.11.3">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.11.3/jackson-datatype-jdk8-2.11.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.11.3/jackson-datatype-jdk8-2.11.3-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.11.3/jackson-datatype-jdk8-2.11.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.3">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.3/jackson-datatype-jsr310-2.11.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.3/jackson-datatype-jsr310-2.11.3-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.3/jackson-datatype-jsr310-2.11.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.fasterxml.jackson.module:jackson-module-parameter-names:2.11.3">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.11.3/jackson-module-parameter-names-2.11.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.11.3/jackson-module-parameter-names-2.11.3-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.11.3/jackson-module-parameter-names-2.11.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.github.jsqlparser:jsqlparser:3.2">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/com/github/jsqlparser/jsqlparser/3.2/jsqlparser-3.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/com/github/jsqlparser/jsqlparser/3.2/jsqlparser-3.2-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/com/github/jsqlparser/jsqlparser/3.2/jsqlparser-3.2-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.github.pagehelper:pagehelper:5.2.0">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/com/github/pagehelper/pagehelper/5.2.0/pagehelper-5.2.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/com/github/pagehelper/pagehelper/5.2.0/pagehelper-5.2.0-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/com/github/pagehelper/pagehelper/5.2.0/pagehelper-5.2.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.github.pagehelper:pagehelper-spring-boot-autoconfigure:1.3.0">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/com/github/pagehelper/pagehelper-spring-boot-autoconfigure/1.3.0/pagehelper-spring-boot-autoconfigure-1.3.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/com/github/pagehelper/pagehelper-spring-boot-autoconfigure/1.3.0/pagehelper-spring-boot-autoconfigure-1.3.0-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/com/github/pagehelper/pagehelper-spring-boot-autoconfigure/1.3.0/pagehelper-spring-boot-autoconfigure-1.3.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.github.pagehelper:pagehelper-spring-boot-starter:1.3.0">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/com/github/pagehelper/pagehelper-spring-boot-starter/1.3.0/pagehelper-spring-boot-starter-1.3.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/com/github/pagehelper/pagehelper-spring-boot-starter/1.3.0/pagehelper-spring-boot-starter-1.3.0-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/com/github/pagehelper/pagehelper-spring-boot-starter/1.3.0/pagehelper-spring-boot-starter-1.3.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.zaxxer:HikariCP:3.4.5">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/com/zaxxer/HikariCP/3.4.5/HikariCP-3.4.5.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/com/zaxxer/HikariCP/3.4.5/HikariCP-3.4.5-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/com/zaxxer/HikariCP/3.4.5/HikariCP-3.4.5-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: io.jsonwebtoken:jjwt:0.9.1">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/io/jsonwebtoken/jjwt/0.9.1/jjwt-0.9.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/io/jsonwebtoken/jjwt/0.9.1/jjwt-0.9.1-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/io/jsonwebtoken/jjwt/0.9.1/jjwt-0.9.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: jakarta.annotation:jakarta.annotation-api:1.3.5">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: javax.validation:validation-api:2.0.1.Final">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: mysql:mysql-connector-java:8.0.19">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/mysql/mysql-connector-java/8.0.19/mysql-connector-java-8.0.19.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/mysql/mysql-connector-java/8.0.19/mysql-connector-java-8.0.19-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/mysql/mysql-connector-java/8.0.19/mysql-connector-java-8.0.19-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.apache.logging.log4j:log4j-api:2.13.3">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/apache/logging/log4j/log4j-api/2.13.3/log4j-api-2.13.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/apache/logging/log4j/log4j-api/2.13.3/log4j-api-2.13.3-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/apache/logging/log4j/log4j-api/2.13.3/log4j-api-2.13.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.apache.logging.log4j:log4j-to-slf4j:2.13.3">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.13.3/log4j-to-slf4j-2.13.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.13.3/log4j-to-slf4j-2.13.3-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.13.3/log4j-to-slf4j-2.13.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.apache.tomcat.embed:tomcat-embed-core:9.0.39">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.39/tomcat-embed-core-9.0.39.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.39/tomcat-embed-core-9.0.39-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.39/tomcat-embed-core-9.0.39-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:9.0.39">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.39/tomcat-embed-websocket-9.0.39.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.39/tomcat-embed-websocket-9.0.39-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.39/tomcat-embed-websocket-9.0.39-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.glassfish:jakarta.el:3.0.3">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/glassfish/jakarta.el/3.0.3/jakarta.el-3.0.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/glassfish/jakarta.el/3.0.3/jakarta.el-3.0.3-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/glassfish/jakarta.el/3.0.3/jakarta.el-3.0.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.hibernate:hibernate-validator:5.4.1.Final">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/hibernate/hibernate-validator/5.4.1.Final/hibernate-validator-5.4.1.Final.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/hibernate/hibernate-validator/5.4.1.Final/hibernate-validator-5.4.1.Final-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/hibernate/hibernate-validator/5.4.1.Final/hibernate-validator-5.4.1.Final-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.jboss.logging:jboss-logging:3.4.1.Final">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/jboss/logging/jboss-logging/3.4.1.Final/jboss-logging-3.4.1.Final.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/jboss/logging/jboss-logging/3.4.1.Final/jboss-logging-3.4.1.Final-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/jboss/logging/jboss-logging/3.4.1.Final/jboss-logging-3.4.1.Final-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.mybatis:mybatis:3.5.6">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/mybatis/mybatis/3.5.6/mybatis-3.5.6.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/mybatis/mybatis/3.5.6/mybatis-3.5.6-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/mybatis/mybatis/3.5.6/mybatis-3.5.6-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.mybatis:mybatis-spring:2.0.6">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/mybatis/mybatis-spring/2.0.6/mybatis-spring-2.0.6.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/mybatis/mybatis-spring/2.0.6/mybatis-spring-2.0.6-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/mybatis/mybatis-spring/2.0.6/mybatis-spring-2.0.6-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:2.1.4">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/mybatis/spring/boot/mybatis-spring-boot-autoconfigure/2.1.4/mybatis-spring-boot-autoconfigure-2.1.4.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/mybatis/spring/boot/mybatis-spring-boot-autoconfigure/2.1.4/mybatis-spring-boot-autoconfigure-2.1.4-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/mybatis/spring/boot/mybatis-spring-boot-autoconfigure/2.1.4/mybatis-spring-boot-autoconfigure-2.1.4-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:2.1.4">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/mybatis/spring/boot/mybatis-spring-boot-starter/2.1.4/mybatis-spring-boot-starter-2.1.4.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/mybatis/spring/boot/mybatis-spring-boot-starter/2.1.4/mybatis-spring-boot-starter-2.1.4-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/mybatis/spring/boot/mybatis-spring-boot-starter/2.1.4/mybatis-spring-boot-starter-2.1.4-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.slf4j:jul-to-slf4j:1.7.30">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/slf4j/jul-to-slf4j/1.7.30/jul-to-slf4j-1.7.30.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/slf4j/jul-to-slf4j/1.7.30/jul-to-slf4j-1.7.30-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/slf4j/jul-to-slf4j/1.7.30/jul-to-slf4j-1.7.30-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.slf4j:slf4j-api:1.7.30">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework.boot:spring-boot:2.3.6.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot/2.3.6.RELEASE/spring-boot-2.3.6.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot/2.3.6.RELEASE/spring-boot-2.3.6.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot/2.3.6.RELEASE/spring-boot-2.3.6.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework.boot:spring-boot-autoconfigure:2.3.6.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.3.6.RELEASE/spring-boot-autoconfigure-2.3.6.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.3.6.RELEASE/spring-boot-autoconfigure-2.3.6.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.3.6.RELEASE/spring-boot-autoconfigure-2.3.6.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework.boot:spring-boot-devtools:2.3.6.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-devtools/2.3.6.RELEASE/spring-boot-devtools-2.3.6.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-devtools/2.3.6.RELEASE/spring-boot-devtools-2.3.6.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-devtools/2.3.6.RELEASE/spring-boot-devtools-2.3.6.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework.boot:spring-boot-starter:2.3.6.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter/2.3.6.RELEASE/spring-boot-starter-2.3.6.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter/2.3.6.RELEASE/spring-boot-starter-2.3.6.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter/2.3.6.RELEASE/spring-boot-starter-2.3.6.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework.boot:spring-boot-starter-jdbc:2.3.6.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter-jdbc/2.3.6.RELEASE/spring-boot-starter-jdbc-2.3.6.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter-jdbc/2.3.6.RELEASE/spring-boot-starter-jdbc-2.3.6.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter-jdbc/2.3.6.RELEASE/spring-boot-starter-jdbc-2.3.6.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework.boot:spring-boot-starter-json:2.3.6.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.3.6.RELEASE/spring-boot-starter-json-2.3.6.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.3.6.RELEASE/spring-boot-starter-json-2.3.6.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.3.6.RELEASE/spring-boot-starter-json-2.3.6.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework.boot:spring-boot-starter-logging:2.3.6.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.3.6.RELEASE/spring-boot-starter-logging-2.3.6.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.3.6.RELEASE/spring-boot-starter-logging-2.3.6.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.3.6.RELEASE/spring-boot-starter-logging-2.3.6.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework.boot:spring-boot-starter-tomcat:2.3.6.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/2.3.6.RELEASE/spring-boot-starter-tomcat-2.3.6.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/2.3.6.RELEASE/spring-boot-starter-tomcat-2.3.6.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/2.3.6.RELEASE/spring-boot-starter-tomcat-2.3.6.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework.boot:spring-boot-starter-web:2.3.6.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.3.6.RELEASE/spring-boot-starter-web-2.3.6.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.3.6.RELEASE/spring-boot-starter-web-2.3.6.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.3.6.RELEASE/spring-boot-starter-web-2.3.6.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework:spring-aop:5.2.11.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-aop/5.2.11.RELEASE/spring-aop-5.2.11.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-aop/5.2.11.RELEASE/spring-aop-5.2.11.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-aop/5.2.11.RELEASE/spring-aop-5.2.11.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework:spring-beans:5.2.11.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-beans/5.2.11.RELEASE/spring-beans-5.2.11.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-beans/5.2.11.RELEASE/spring-beans-5.2.11.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-beans/5.2.11.RELEASE/spring-beans-5.2.11.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework:spring-context:5.2.11.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-context/5.2.11.RELEASE/spring-context-5.2.11.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-context/5.2.11.RELEASE/spring-context-5.2.11.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-context/5.2.11.RELEASE/spring-context-5.2.11.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework:spring-core:5.2.11.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-core/5.2.11.RELEASE/spring-core-5.2.11.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-core/5.2.11.RELEASE/spring-core-5.2.11.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-core/5.2.11.RELEASE/spring-core-5.2.11.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework:spring-expression:5.2.11.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-expression/5.2.11.RELEASE/spring-expression-5.2.11.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-expression/5.2.11.RELEASE/spring-expression-5.2.11.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-expression/5.2.11.RELEASE/spring-expression-5.2.11.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework:spring-jcl:5.2.11.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-jcl/5.2.11.RELEASE/spring-jcl-5.2.11.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-jcl/5.2.11.RELEASE/spring-jcl-5.2.11.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-jcl/5.2.11.RELEASE/spring-jcl-5.2.11.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework:spring-jdbc:5.2.11.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-jdbc/5.2.11.RELEASE/spring-jdbc-5.2.11.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-jdbc/5.2.11.RELEASE/spring-jdbc-5.2.11.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-jdbc/5.2.11.RELEASE/spring-jdbc-5.2.11.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework:spring-tx:5.2.11.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-tx/5.2.11.RELEASE/spring-tx-5.2.11.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-tx/5.2.11.RELEASE/spring-tx-5.2.11.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-tx/5.2.11.RELEASE/spring-tx-5.2.11.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework:spring-web:5.2.11.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-web/5.2.11.RELEASE/spring-web-5.2.11.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-web/5.2.11.RELEASE/spring-web-5.2.11.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-web/5.2.11.RELEASE/spring-web-5.2.11.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework:spring-webmvc:5.2.11.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-webmvc/5.2.11.RELEASE/spring-webmvc-5.2.11.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-webmvc/5.2.11.RELEASE/spring-webmvc-5.2.11.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/springframework/spring-webmvc/5.2.11.RELEASE/spring-webmvc-5.2.11.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.yaml:snakeyaml:1.26">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/.m2/repository/org/yaml/snakeyaml/1.26/snakeyaml-1.26.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://D:/.m2/repository/org/yaml/snakeyaml/1.26/snakeyaml-1.26-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://D:/.m2/repository/org/yaml/snakeyaml/1.26/snakeyaml-1.26-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="MavenProjectsManager">
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/dormitory.iml" filepath="$PROJECT_DIR$/dormitory.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,124 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Palette2">
|
||||
<group name="Swing">
|
||||
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
|
||||
</item>
|
||||
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
|
||||
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
|
||||
<initial-values>
|
||||
<property name="text" value="Button" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="RadioButton" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="CheckBox" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="Label" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
|
||||
<preferred-size width="-1" height="20" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
|
||||
</item>
|
||||
</group>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="web" name="Web2">
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/web/WEB-INF/web.xml" />
|
||||
</descriptors>
|
||||
<webroots>
|
||||
<root url="file://$MODULE_DIR$/web" relative="/" />
|
||||
</webroots>
|
||||
<sourceRoots>
|
||||
<root url="file://$MODULE_DIR$/src/main/java" />
|
||||
<root url="file://$MODULE_DIR$/src/main/resources" />
|
||||
<root url="file://$MODULE_DIR$/target/generated-sources/annotations" />
|
||||
</sourceRoots>
|
||||
</configuration>
|
||||
</facet>
|
||||
<facet type="Spring" name="Spring">
|
||||
<configuration />
|
||||
</facet>
|
||||
</component>
|
||||
</module>
|
@ -0,0 +1,162 @@
|
||||
<div class="layuimini-container layuimini-page-anim">
|
||||
<div class="layuimini-main">
|
||||
|
||||
<!--搜索框-->
|
||||
<div style="margin: 10px 10px 10px 10px">
|
||||
<form class="layui-form layui-form-pane" action="">
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label">姓名</label>
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" name="name" autocomplete="off" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
<!--搜索按钮-->
|
||||
<div class="layui-inline">
|
||||
<button type="submit" class="layui-btn layui-btn-primary" lay-submit lay-filter="data-search-btn"><i class="layui-icon"></i> 搜 索</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/html" id="toolbarDemo">
|
||||
<div class="layui-btn-container">
|
||||
<button class="layui-btn layui-btn-normal layui-btn-sm data-add-btn" lay-event="add">
|
||||
<i class="layui-icon layui-icon-add-circle"></i>
|
||||
新增
|
||||
</button>
|
||||
<button class="layui-btn layui-btn-sm layui-btn-normal data-delete-btn" lay-event="update">
|
||||
<i class="layui-icon layui-icon-edit"></i>
|
||||
修改
|
||||
</button>
|
||||
<button class="layui-btn layui-btn-sm layui-btn-danger data-delete-btn" lay-event="delete">
|
||||
<i class="layui-icon layui-icon-delete"></i>
|
||||
删除
|
||||
</button>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<table class="layui-hide" id="currentTableId" lay-filter="currentTableFilter"></table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
layui.use(['form', 'table','miniPage','miniAdmin','form','element','axios'], function () {
|
||||
var $ = layui.jquery,
|
||||
form = layui.form,
|
||||
table = layui.table,
|
||||
axios = layui.axios,
|
||||
form = layui.form,
|
||||
miniAdmin = layui.miniAdmin,
|
||||
miniPage = layui.miniPage;
|
||||
|
||||
table.render({
|
||||
elem: '#currentTableId',
|
||||
method:'post',
|
||||
url: 'absence/query',
|
||||
toolbar: '#toolbarDemo',
|
||||
defaultToolbar: ['filter', 'exports', 'print'],
|
||||
cols: [[
|
||||
{type: "checkbox", width: 50},
|
||||
{field: 'id', width: 80, title: 'ID'},
|
||||
{field: 'studentId',title: '姓名',templet:'<div>{{d.student.name}}</div>'},
|
||||
{field: 'dormitoryId',title: '宿舍',templet:'<div>{{d.dormitory.no}}</div>'},
|
||||
{field: 'startTime',title: '开始时间'},
|
||||
{field: 'endTime',title: '结束时间'},
|
||||
{field: 'remark',title: '备注'}
|
||||
]],
|
||||
page: true,
|
||||
skin: 'line'
|
||||
});
|
||||
|
||||
window.reload = function(){
|
||||
table.reload('currentTableId');
|
||||
}
|
||||
|
||||
// 监听搜索操作
|
||||
form.on('submit(data-search-btn)', function (data) {
|
||||
var result = JSON.stringify(data.field);
|
||||
//执行搜索重载
|
||||
table.reload('currentTableId', {
|
||||
where: data.field
|
||||
}, 'data');
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
/**
|
||||
* toolbar事件监听
|
||||
*/
|
||||
table.on('toolbar(currentTableFilter)', function (obj) {
|
||||
if (obj.event === 'add') { // 监听添加操作
|
||||
let content = miniPage.getHrefContent('absence/add.html');
|
||||
let openWH = miniPage.getOpenWidthHeight();
|
||||
let index = layer.open({
|
||||
title: '添加',
|
||||
type: 1,
|
||||
shade: 0.2,
|
||||
maxmin:true,
|
||||
shadeClose: true,
|
||||
area: [openWH[0] + 'px', openWH[1] + 'px'],
|
||||
offset: [openWH[2] + 'px', openWH[3] + 'px'],
|
||||
content: content
|
||||
});
|
||||
$(window).on("resize", function () {
|
||||
layer.full(index);
|
||||
});
|
||||
} else if (obj.event === 'update') { //修改操作
|
||||
let data = table.checkStatus('currentTableId').data;
|
||||
if(data.length!=1){
|
||||
layer.msg("请选择一条记录修改");
|
||||
}else{
|
||||
let content = miniPage.getHrefContent('absence/update.html');
|
||||
let openWH = miniPage.getOpenWidthHeight();
|
||||
let index = layer.open({
|
||||
title: '添加',
|
||||
type: 1,
|
||||
shade: 0.2,
|
||||
maxmin:true,
|
||||
shadeClose: true,
|
||||
area: [openWH[0] + 'px', openWH[1] + 'px'],
|
||||
offset: [openWH[2] + 'px', openWH[3] + 'px'],
|
||||
content: content
|
||||
});
|
||||
setFormValue(data[0]);
|
||||
$(window).on("resize", function () {
|
||||
layer.full(index);
|
||||
});
|
||||
}
|
||||
}else if (obj.event === 'delete') { //删除操作
|
||||
let data = table.checkStatus('currentTableId').data;
|
||||
if(data.length==0){
|
||||
layer.msg("请选择要删除的数据");
|
||||
}else{
|
||||
layer.confirm('真的删除行吗', function (index) {
|
||||
//异步删除 map\filter\some\every
|
||||
let arr = data.map(item=>item.id);
|
||||
axios.get('absence/delete?ids='+arr.join(",")).then(function (response) {
|
||||
table.reload('currentTableId');
|
||||
layer.msg(response.msg);
|
||||
}).catch(function (error) {
|
||||
layer.msg(error);
|
||||
});
|
||||
layer.close(index);
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
function setFormValue(data){
|
||||
form.val("updateForm",{
|
||||
id:data.id,
|
||||
dormitoryId:data.dormitoryId,
|
||||
startTime:data.startTime,
|
||||
endTime:data.endTime,
|
||||
remark:data.remark,
|
||||
})
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
@ -0,0 +1,173 @@
|
||||
<div class="layuimini-container layuimini-page-anim">
|
||||
<div class="layuimini-main">
|
||||
|
||||
<div style="margin: 10px 10px 10px 10px">
|
||||
<form class="layui-form layui-form-pane" action="">
|
||||
<div class="layui-form-item">
|
||||
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label">名称</label>
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" name="name" autocomplete="off" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline">
|
||||
<button type="submit" class="layui-btn layui-btn-primary" lay-submit lay-filter="data-search-btn"><i class="layui-icon"></i> 搜 索</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script type="text/html" id="toolbarDemo">
|
||||
<div class="layui-btn-container">
|
||||
<button class="layui-btn layui-btn-normal layui-btn-sm data-add-btn" lay-event="add">
|
||||
<i class="layui-icon layui-icon-add-circle"></i>
|
||||
新增
|
||||
</button>
|
||||
<button class="layui-btn layui-btn-sm layui-btn-normal data-delete-btn" lay-event="update">
|
||||
<i class="layui-icon layui-icon-edit"></i>
|
||||
修改
|
||||
</button>
|
||||
<button class="layui-btn layui-btn-sm layui-btn-danger data-delete-btn" lay-event="delete">
|
||||
<i class="layui-icon layui-icon-delete"></i>
|
||||
删除
|
||||
</button>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<table class="layui-hide" id="currentTableId" lay-filter="currentTableFilter"></table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
layui.use(['form', 'table','miniPage','miniAdmin','form','element','axios'], function () {
|
||||
var $ = layui.jquery,
|
||||
form = layui.form,
|
||||
table = layui.table,
|
||||
axios = layui.axios,
|
||||
form = layui.form,
|
||||
miniAdmin = layui.miniAdmin,
|
||||
miniPage = layui.miniPage;
|
||||
|
||||
table.render({
|
||||
elem: '#currentTableId',
|
||||
method:'post',
|
||||
url: 'building/query',
|
||||
toolbar: '#toolbarDemo',
|
||||
defaultToolbar: ['filter', 'exports', 'print'],
|
||||
cols: [[
|
||||
{type: "checkbox", width: 50},
|
||||
{field: 'id', width: 80, title: 'ID'},
|
||||
{field: 'name',title: '名称'},
|
||||
{field: 'type', title: '类型',templet:function (row) {
|
||||
return row.type+'人间';
|
||||
}
|
||||
},
|
||||
{field: 'storeyNum', title: '总层数'},
|
||||
{field: 'sex', title: '性别',templet:function (row) {
|
||||
if(row.sex == 0){
|
||||
return '女';
|
||||
}else{
|
||||
return '男';
|
||||
}}
|
||||
},
|
||||
{field: 'userId', title: '宿管员',templet:'<div>{{d.user.name}}</div>'},
|
||||
{field: 'remark',title: '备注'}
|
||||
]],
|
||||
page: true,
|
||||
skin: 'line'
|
||||
});
|
||||
|
||||
window.reload = function(){
|
||||
table.reload('currentTableId');
|
||||
}
|
||||
|
||||
// 监听搜索操作
|
||||
form.on('submit(data-search-btn)', function (data) {
|
||||
var result = JSON.stringify(data.field);
|
||||
//执行搜索重载
|
||||
table.reload('currentTableId', {
|
||||
where: data.field
|
||||
}, 'data');
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
/**
|
||||
* toolbar事件监听
|
||||
*/
|
||||
table.on('toolbar(currentTableFilter)', function (obj) {
|
||||
if (obj.event === 'add') { // 监听添加操作
|
||||
let content = miniPage.getHrefContent('building/add.html');
|
||||
let openWH = miniPage.getOpenWidthHeight();
|
||||
let index = layer.open({
|
||||
title: '添加',
|
||||
type: 1,
|
||||
shade: 0.2,
|
||||
maxmin:true,
|
||||
shadeClose: true,
|
||||
area: [openWH[0] + 'px', openWH[1] + 'px'],
|
||||
offset: [openWH[2] + 'px', openWH[3] + 'px'],
|
||||
content: content
|
||||
});
|
||||
$(window).on("resize", function () {
|
||||
layer.full(index);
|
||||
});
|
||||
} else if (obj.event === 'update') { //修改操作
|
||||
let data = table.checkStatus('currentTableId').data;
|
||||
if(data.length!=1){
|
||||
layer.msg("请选择一条记录修改");
|
||||
}else{
|
||||
let content = miniPage.getHrefContent('building/update.html');
|
||||
let openWH = miniPage.getOpenWidthHeight();
|
||||
let index = layer.open({
|
||||
title: '添加',
|
||||
type: 1,
|
||||
shade: 0.2,
|
||||
maxmin:true,
|
||||
shadeClose: true,
|
||||
area: [openWH[0] + 'px', openWH[1] + 'px'],
|
||||
offset: [openWH[2] + 'px', openWH[3] + 'px'],
|
||||
content: content
|
||||
});
|
||||
setFormValue(data[0]);
|
||||
$('#userId2').val(data[0].userId)
|
||||
$(window).on("resize", function () {
|
||||
layer.full(index);
|
||||
});
|
||||
}
|
||||
}else if (obj.event === 'delete') { //删除操作
|
||||
let data = table.checkStatus('currentTableId').data;
|
||||
if(data.length==0){
|
||||
layer.msg("请选择要删除的数据");
|
||||
}else{
|
||||
layer.confirm('真的删除行吗', function (index) {
|
||||
//异步删除 map\filter\some\every
|
||||
let arr = data.map(item=>item.id);
|
||||
axios.get('building/delete?ids='+arr.join(",")).then(function (response) {
|
||||
table.reload('currentTableId');
|
||||
layer.msg(response.msg);
|
||||
}).catch(function (error) {
|
||||
layer.msg(error);
|
||||
});
|
||||
layer.close(index);
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
function setFormValue(data){
|
||||
form.val("updateForm",{
|
||||
id:data.id,
|
||||
name:data.name,
|
||||
type:data.type,
|
||||
sex:data.sex,
|
||||
storeyNum:data.storeyNum,
|
||||
userId:data.userId,
|
||||
remark:data.remark,
|
||||
})
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
@ -0,0 +1,279 @@
|
||||
<div class="layuimini-container layuimini-page-anim">
|
||||
<div class="layuimini-main">
|
||||
<div style="margin: 10px" id="building">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layuimini-main" style="width: 250px;position: absolute;left: 0px;">
|
||||
<ul class="storey">
|
||||
</ul>
|
||||
</div>
|
||||
<div class="layuimini-main" style="left: 270px;float: right;position: absolute;right:0px">
|
||||
<ul class="dormitory"></ul>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
.storey{
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
.storey li{
|
||||
height: 40px;
|
||||
line-height:40px;
|
||||
border-bottom: 1px solid #f1f1f1;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
padding-left: 50px;
|
||||
}
|
||||
|
||||
.storey>li>span{
|
||||
float: right;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.storey>li>span>button{
|
||||
cursor: pointer;
|
||||
color: #00998b;
|
||||
background: transparent;
|
||||
border: 0px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.storey-bg{
|
||||
background-color: #f0f0f0;
|
||||
color: #000000;
|
||||
}
|
||||
.dormitory{
|
||||
}
|
||||
.dormitory>li{
|
||||
width: 100%;
|
||||
clear: both;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.dormitory>li>p{
|
||||
height: 40px;
|
||||
background-color: #f8f8f8;
|
||||
line-height: 40px;
|
||||
font-size: 15px;
|
||||
cursor: pointer;
|
||||
padding-left: 10px;
|
||||
border: 1px solid #dddddd;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.dormitory>li>p>span{
|
||||
float: right;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.dormitory>li>p>span>button{
|
||||
cursor: pointer;
|
||||
color: #00998b;
|
||||
background: transparent;
|
||||
border: 0px;
|
||||
font-size: 20px;
|
||||
}
|
||||
.bed{
|
||||
display: none;
|
||||
}
|
||||
.bed li{
|
||||
float: left;
|
||||
width: 130px;
|
||||
height: 130px;
|
||||
border:1px solid #f0f0f0;
|
||||
margin: 10px;
|
||||
text-align: center;
|
||||
color: #999999;
|
||||
}
|
||||
.bed li:hover{
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
.bed li i{
|
||||
font-size: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.bed li i:hover{
|
||||
color: #00998b;
|
||||
font-size: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
layui.use(['form', 'table','miniPage','element','axios'], function () {
|
||||
var $ = layui.jquery,
|
||||
form = layui.form,
|
||||
table = layui.table,
|
||||
axios = layui.axios,
|
||||
form = layui.form,
|
||||
miniPage = layui.miniPage;
|
||||
|
||||
function loadBuilding(){
|
||||
axios.post('building/query',{}).then(function (response) {
|
||||
response.data.forEach(item=>{
|
||||
let btn = '<button class="layui-btn layui-btn-primary layui-btn-radius building-btn" key='+item.id+'>'+item.name+'</button>';
|
||||
let btnObj = $(btn);
|
||||
btnObj.click(function () {
|
||||
$(this).siblings().addClass('layui-btn-primary');
|
||||
$(this).removeClass('layui-btn-primary');
|
||||
loadStorey($(this).attr("key"));
|
||||
});
|
||||
$('#building').append(btnObj);
|
||||
})
|
||||
$('#building button:first').trigger('click');
|
||||
}).catch(function (error) {
|
||||
layer.msg(error);
|
||||
});
|
||||
}
|
||||
loadBuilding();
|
||||
|
||||
//加载楼层
|
||||
function loadStorey(buildingId){
|
||||
axios.post('storey/query',{"buildingId":buildingId}).then(function (response) {
|
||||
$('.storey').empty();
|
||||
response.data.forEach(item=>{
|
||||
let btn = `
|
||||
<li key="${item.id}">${item.name}
|
||||
<span>
|
||||
<button class="layui-icon layui-icon-add-circle" title="添加宿舍"></button>
|
||||
</span>
|
||||
</li>`;
|
||||
let btnObj = $(btn);
|
||||
btnObj.click(function () {
|
||||
$(this).siblings().removeClass('storey-bg');
|
||||
btnObj.addClass('storey-bg');
|
||||
loadDormitory($(this).attr("key"));
|
||||
});
|
||||
btnObj.find('button').click(function (event) {
|
||||
event.stopPropagation();
|
||||
let content = miniPage.getHrefContent('dormitory/addDormitory.html');
|
||||
let openWH = miniPage.getOpenWidthHeight();
|
||||
let index = layer.open({
|
||||
title: '添加',
|
||||
type: 1,
|
||||
shade: 0.2,
|
||||
maxmin:true,
|
||||
shadeClose: true,
|
||||
area: [openWH[0] + 'px', openWH[1] + 'px'],
|
||||
offset: [openWH[2] + 'px', openWH[3] + 'px'],
|
||||
content: content,
|
||||
end:function () {
|
||||
btnObj.trigger('click');
|
||||
}
|
||||
});
|
||||
form.val('addDormitoryForm',{
|
||||
buildingId:buildingId,
|
||||
storeyId:btnObj.attr("key"),
|
||||
})
|
||||
$(window).on("resize", function () {
|
||||
layer.full(index);
|
||||
});
|
||||
});
|
||||
$('.storey').append(btnObj);
|
||||
})
|
||||
$('.storey li:first').trigger('click');
|
||||
}).catch(function (error) {
|
||||
layer.msg(error);
|
||||
});
|
||||
}
|
||||
|
||||
//加载宿舍列表
|
||||
function loadDormitory(storeyId){
|
||||
axios.post('dormitory/query',{"storeyId":storeyId,limit:100}).then(function (response) {
|
||||
$('.dormitory').empty();
|
||||
response.data.forEach(item=>{
|
||||
let html = `
|
||||
<li>
|
||||
<p key="${item.id}">${item.no}
|
||||
<span>
|
||||
<button class="layui-icon layui-icon-delete dormitory-delete" title="删除宿舍"></button>
|
||||
<button class="layui-icon layui-icon-add-circle bed-add" title="添加床位"></button>
|
||||
</span>
|
||||
</p>
|
||||
<ul class="bed"><li></li><li></li><li></li></ul>
|
||||
</li>
|
||||
`;
|
||||
let htmlObj = $(html);
|
||||
htmlObj.find('p').click(function () {
|
||||
$(this).siblings().toggle(200);
|
||||
loadBed($(this).attr("key"),$(this).siblings());
|
||||
});
|
||||
htmlObj.find('.dormitory-delete').click(function (event) {
|
||||
event.stopPropagation();
|
||||
layer.confirm("确定要删除吗?",function (index) {
|
||||
let ids = htmlObj.find('p').attr("key");
|
||||
axios.get('dormitory/delete?ids='+ids).then(function (response) {
|
||||
layer.msg(response.msg)
|
||||
htmlObj.remove();
|
||||
layer.close(index);
|
||||
}).catch();
|
||||
})
|
||||
});
|
||||
htmlObj.find('.bed-add').click(function (event) {
|
||||
event.stopPropagation();
|
||||
let content = miniPage.getHrefContent('dormitory/addBed.html');
|
||||
let openWH = miniPage.getOpenWidthHeight();
|
||||
let index = layer.open({
|
||||
title: '添加',
|
||||
type: 1,
|
||||
shade: 0.2,
|
||||
maxmin:true,
|
||||
shadeClose: true,
|
||||
area: [openWH[0] + 'px', openWH[1] + 'px'],
|
||||
offset: [openWH[2] + 'px', openWH[3] + 'px'],
|
||||
content: content,
|
||||
end:function () {
|
||||
loadBed(htmlObj.find('p').attr("key"),htmlObj.find('p').siblings());
|
||||
}
|
||||
});
|
||||
form.val('addBedForm',{
|
||||
dormitoryId:htmlObj.find('p').attr("key"),
|
||||
})
|
||||
})
|
||||
$('.dormitory').append(htmlObj);
|
||||
});
|
||||
|
||||
}).catch(function (error) {
|
||||
layer.msg(error);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function loadBed(dormitoryId,objbed){
|
||||
axios.post('bed/query',{"dormitoryId":dormitoryId}).then(function (response) {
|
||||
objbed.empty();
|
||||
if(response.data.length==0){
|
||||
objbed.append('暂无床位信息');
|
||||
}
|
||||
response.data.forEach(item=>{
|
||||
let html = `
|
||||
<li key="${item.id}">
|
||||
<img ${item.student?'src="../images/bed2.png"':'src="../images/bed.png"'} >
|
||||
<p>床位:${item.bno}</p>
|
||||
<p style="${item.student?'color:#00998b':''}">${item.student?item.student.name:'暂无'}</p>
|
||||
<p>
|
||||
<i class="layui-icon layui-icon-delete bed-delete" title="删除床位"></i>
|
||||
<i class="layui-icon layui-icon-edit" title="编辑"></i>
|
||||
</p>
|
||||
</li>
|
||||
`;
|
||||
let htmlObj = $(html);
|
||||
htmlObj.find('.bed-delete').click(function (event) {
|
||||
event.stopPropagation();
|
||||
layer.confirm("确定要删除床位吗?",function (index) {
|
||||
axios.get('bed/delete?ids='+htmlObj.attr("key")).then(function (response) {
|
||||
htmlObj.remove();
|
||||
layer.msg(response.msg)
|
||||
layer.close(index);
|
||||
}).catch();
|
||||
})
|
||||
|
||||
});
|
||||
objbed.append(htmlObj);
|
||||
});
|
||||
}).catch(function (error) {
|
||||
layer.msg(error);
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
});
|
||||
</script>
|
@ -0,0 +1,251 @@
|
||||
<div class="layuimini-container layuimini-page-anim">
|
||||
<div class="layuimini-main">
|
||||
<div style="margin: 10px" id="building">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layuimini-main" style="width: 250px;position: absolute;left: 0px;">
|
||||
<ul class="storey">
|
||||
</ul>
|
||||
</div>
|
||||
<div class="layuimini-main" style="left: 270px;float: right;position: absolute;right:0px">
|
||||
<script type="text/html" id="toolbarDemo">
|
||||
<div class="layui-btn-container">
|
||||
<button class="layui-btn layui-btn-normal layui-btn-sm data-add-btn" lay-event="add">
|
||||
<i class="layui-icon layui-icon-add-circle"></i>
|
||||
新增
|
||||
</button>
|
||||
<button class="layui-btn layui-btn-sm layui-btn-normal data-delete-btn" lay-event="update">
|
||||
<i class="layui-icon layui-icon-edit"></i>
|
||||
修改
|
||||
</button>
|
||||
<button class="layui-btn layui-btn-sm layui-btn-danger data-delete-btn" lay-event="delete">
|
||||
<i class="layui-icon layui-icon-delete"></i>
|
||||
删除
|
||||
</button>
|
||||
<button class="layui-btn layui-btn-sm layui-btn-normal data-init-btn" lay-event="init">
|
||||
<i class="layui-icon layui-icon-edit"></i>
|
||||
宿舍初始化
|
||||
</button>
|
||||
</div>
|
||||
</script>
|
||||
<table class="layui-hide" id="currentTableId" lay-filter="currentTableFilter"></table>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
.storey{
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
.storey li{
|
||||
height: 40px;
|
||||
line-height:40px;
|
||||
border-bottom: 1px solid #f1f1f1;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
padding-left: 50px;
|
||||
}
|
||||
|
||||
.storey>li>span{
|
||||
float: right;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.storey>li>span>button{
|
||||
cursor: pointer;
|
||||
color: #00998b;
|
||||
background: transparent;
|
||||
border: 0px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.storey-bg{
|
||||
background-color: #f0f0f0;
|
||||
color: #000000;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
layui.use(['form', 'table','miniPage','element','axios'], function () {
|
||||
var $ = layui.jquery,
|
||||
form = layui.form,
|
||||
table = layui.table,
|
||||
axios = layui.axios,
|
||||
form = layui.form,
|
||||
miniPage = layui.miniPage;
|
||||
|
||||
let _buildingId;
|
||||
let _storeyId;
|
||||
function loadBuilding(){
|
||||
axios.post('building/query',{}).then(function (response) {
|
||||
response.data.forEach(item=>{
|
||||
let btn = '<button class="layui-btn layui-btn-primary layui-btn-radius building-btn" key='+item.id+'>'+item.name+'</button>';
|
||||
let btnObj = $(btn);
|
||||
btnObj.click(function () {
|
||||
$(this).siblings().addClass('layui-btn-primary');
|
||||
$(this).removeClass('layui-btn-primary');
|
||||
loadStorey($(this).attr("key"));
|
||||
});
|
||||
$('#building').append(btnObj);
|
||||
})
|
||||
$('#building button:first').trigger('click');
|
||||
}).catch(function (error) {
|
||||
layer.msg(error);
|
||||
});
|
||||
}
|
||||
loadBuilding();
|
||||
|
||||
//加载楼层
|
||||
function loadStorey(buildingId){
|
||||
axios.post('storey/query',{"buildingId":buildingId}).then(function (response) {
|
||||
$('.storey').empty();
|
||||
response.data.forEach(item=>{
|
||||
let btn = `<li key="${item.id}">${item.name}</li>`;
|
||||
let btnObj = $(btn);
|
||||
btnObj.click(function () {
|
||||
$(this).siblings().removeClass('storey-bg');
|
||||
btnObj.addClass('storey-bg');
|
||||
loadDormitorySet(buildingId,$(this).attr("key"));
|
||||
|
||||
});
|
||||
$('.storey').append(btnObj);
|
||||
})
|
||||
$('.storey li:first').trigger('click');
|
||||
}).catch(function (error) {
|
||||
layer.msg(error);
|
||||
});
|
||||
}
|
||||
|
||||
function loadDormitorySet(buildingId,storeyId){
|
||||
_buildingId = buildingId;
|
||||
_storeyId = storeyId;
|
||||
table.render({
|
||||
elem: '#currentTableId',
|
||||
method:'post',
|
||||
url: 'dormitorySet/query',
|
||||
data:{buildingId:buildingId,storeyId:storeyId},
|
||||
toolbar: '#toolbarDemo',
|
||||
defaultToolbar: ['filter', 'exports', 'print'],
|
||||
cols: [[
|
||||
{type: "checkbox", width: 50},
|
||||
{field: 'id', width: 80, title: 'ID'},
|
||||
{field: 'prefix',title: '前缀'},
|
||||
{field: 'start',title: '前缀'},
|
||||
{field: 'end',title: '前缀'},
|
||||
{field: 'capacity', title: '容量'},
|
||||
]],
|
||||
page: true,
|
||||
skin: 'line'
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
window.reload = function(){
|
||||
table.reload('currentTableId');
|
||||
}
|
||||
|
||||
// 监听搜索操作
|
||||
form.on('submit(data-search-btn)', function (data) {
|
||||
var result = JSON.stringify(data.field);
|
||||
//执行搜索重载
|
||||
table.reload('currentTableId', {
|
||||
where: data.field
|
||||
}, 'data');
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
/**
|
||||
* toolbar事件监听
|
||||
*/
|
||||
table.on('toolbar(currentTableFilter)', function (obj) {
|
||||
if (obj.event === 'add') { // 监听添加操作
|
||||
let content = miniPage.getHrefContent('dormitorySet/add.html');
|
||||
let openWH = miniPage.getOpenWidthHeight();
|
||||
let index = layer.open({
|
||||
title: '添加',
|
||||
type: 1,
|
||||
shade: 0.2,
|
||||
maxmin:true,
|
||||
shadeClose: true,
|
||||
area: [openWH[0] + 'px', openWH[1] + 'px'],
|
||||
offset: [openWH[2] + 'px', openWH[3] + 'px'],
|
||||
content: content
|
||||
});
|
||||
form.val('setAddForm',{
|
||||
buildingId:_buildingId,
|
||||
storeyId:_storeyId
|
||||
})
|
||||
$(window).on("resize", function () {
|
||||
layer.full(index);
|
||||
});
|
||||
} else if (obj.event === 'update') { //修改操作
|
||||
let data = table.checkStatus('currentTableId').data;
|
||||
if(data.length!=1){
|
||||
layer.msg("请选择一条记录修改");
|
||||
}else{
|
||||
let content = miniPage.getHrefContent('dormitorySet/update.html');
|
||||
let openWH = miniPage.getOpenWidthHeight();
|
||||
let index = layer.open({
|
||||
title: '添加',
|
||||
type: 1,
|
||||
shade: 0.2,
|
||||
maxmin:true,
|
||||
shadeClose: true,
|
||||
area: [openWH[0] + 'px', openWH[1] + 'px'],
|
||||
offset: [openWH[2] + 'px', openWH[3] + 'px'],
|
||||
content: content
|
||||
});
|
||||
form.val('setUpdateForm',{
|
||||
id:data[0].id,
|
||||
buildingId:data[0].buildingId,
|
||||
storeyId:data[0].storeyId,
|
||||
prefix:data[0].prefix,
|
||||
start:data[0].start,
|
||||
end:data[0].end,
|
||||
capacity:data[0].capacity,
|
||||
})
|
||||
|
||||
$(window).on("resize", function () {
|
||||
layer.full(index);
|
||||
});
|
||||
}
|
||||
}else if (obj.event === 'delete') { //删除操作
|
||||
let data = table.checkStatus('currentTableId').data;
|
||||
if(data.length==0){
|
||||
layer.msg("请选择要删除的数据");
|
||||
}else{
|
||||
layer.confirm('真的删除行吗', function (index) {
|
||||
//异步删除 map\filter\some\every
|
||||
let arr = data.map(item=>item.id);
|
||||
axios.get('dormitorySet/delete?ids='+arr.join(",")).then(function (response) {
|
||||
table.reload('currentTableId');
|
||||
layer.msg(response.msg);
|
||||
}).catch(function (error) {
|
||||
layer.msg(error);
|
||||
});
|
||||
layer.close(index);
|
||||
});
|
||||
}
|
||||
}else if(obj.event === 'init'){//初始化...
|
||||
axios.post('dormitory/query',{buildingId:_buildingId,storeyId:_storeyId}).then(function (response) {
|
||||
let exist='';
|
||||
if(response.data.length>0){
|
||||
exist="已存在宿舍信息,初始化后原数据会丢失,";
|
||||
}
|
||||
layer.confirm(exist+'确认初始化吗?', function (index) {
|
||||
axios.post('dormitory/init',{buildingId:_buildingId,storeyId:_storeyId}).then(function (response) {
|
||||
layer.msg(response.msg);
|
||||
}).catch(function (error) {
|
||||
layer.msg(error);
|
||||
});
|
||||
layer.close(index);
|
||||
});
|
||||
}).catch(function (error) {
|
||||
layer.msg(error);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
});
|
||||
</script>
|
@ -0,0 +1,98 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.3.6.RELEASE</version>
|
||||
<relativePath/> <!-- lookup parent from repository -->
|
||||
</parent>
|
||||
<groupId>com.yanzhen</groupId>
|
||||
<artifactId>dormitory</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<name>dormitory</name>
|
||||
<description>Demo project for Spring Boot</description>
|
||||
|
||||
<properties>
|
||||
<java.version>1.8</java.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-jdbc</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mybatis.spring.boot</groupId>
|
||||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||||
<version>2.1.4</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.github.pagehelper</groupId>
|
||||
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
||||
<version>1.3.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-validator</artifactId>
|
||||
<version>5.4.1.Final</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-devtools</artifactId>
|
||||
<scope>runtime</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<version>8.0.17</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt</artifactId>
|
||||
<version>0.9.1</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/java</directory>
|
||||
<includes>
|
||||
<include>**/*.xml</include>
|
||||
</includes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<includes>
|
||||
<include>**/*.yml</include>
|
||||
<include>**/*.properties</include>
|
||||
<include>**/*.xml</include>
|
||||
<include>public/**</include>
|
||||
<include>static/**</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
@ -0,0 +1,86 @@
|
||||
//定义包名
|
||||
package com.yanzhen.entity;
|
||||
//导入包
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import com.yanzhen.utils.Entity;
|
||||
|
||||
|
||||
|
||||
//定义一个公共类宿舍,继承自实体类
|
||||
public class Dormitory extends Entity{
|
||||
|
||||
//定义私有变量id
|
||||
private Integer id;
|
||||
// 使用Length限制bno的最大长度为50
|
||||
@Length(max = 50)
|
||||
//定义私有变量no
|
||||
private String no;
|
||||
//定义私有变量性别
|
||||
private Integer sex;
|
||||
//定义私有变量类型
|
||||
private Integer type;
|
||||
//定义私有变量容量
|
||||
private Integer capacity;
|
||||
//定义私有变量楼层id
|
||||
private Integer storeyId;
|
||||
//定义楼id
|
||||
private Integer buildingId;
|
||||
|
||||
|
||||
//获取id的方法
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
//定义修改id的方法
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
//定义获取no的方法
|
||||
public String getNo() {
|
||||
return no;
|
||||
}
|
||||
//定义修改no的方法
|
||||
public void setNo(String no) {
|
||||
this.no = no;
|
||||
}
|
||||
//定义获取性别的方法
|
||||
public Integer getSex() {
|
||||
return sex;
|
||||
}
|
||||
//定义修改性别的方法
|
||||
public void setSex(Integer sex) {
|
||||
this.sex = sex;
|
||||
}
|
||||
//定义获取类型的方法
|
||||
public Integer getType() {
|
||||
return type;
|
||||
}
|
||||
//定义修改类型的方法
|
||||
public void setType(Integer type) {
|
||||
this.type = type;
|
||||
}
|
||||
//定义获取容量的方法
|
||||
public Integer getCapacity() {
|
||||
return capacity;
|
||||
}
|
||||
//定义修改容量的方法
|
||||
public void setCapacity(Integer capacity) {
|
||||
this.capacity = capacity;
|
||||
}
|
||||
//定义获取楼层id的方法
|
||||
public Integer getStoreyId() {
|
||||
return storeyId;
|
||||
}
|
||||
//定义修改楼层id的方法
|
||||
public void setStoreyId(Integer storeyId) {
|
||||
this.storeyId = storeyId;
|
||||
}
|
||||
//定义获取楼id的方法
|
||||
public Integer getBuildingId() {
|
||||
return buildingId;
|
||||
}
|
||||
//定义修改楼id的方法
|
||||
public void setBuildingId(Integer buildingId) {
|
||||
this.buildingId = buildingId;
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue