diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml index 2186d33..9813b9f 100644 --- a/ruoyi-admin/pom.xml +++ b/ruoyi-admin/pom.xml @@ -37,7 +37,7 @@ 1.6.2 - + mysql mysql-connector-java @@ -54,7 +54,12 @@ com.ruoyi ruoyi-quartz - + + + tk.mybatis + mapper-spring-boot-starter + 2.1.5 + com.ruoyi @@ -84,15 +89,55 @@ - - org.apache.maven.plugins - maven-war-plugin - 3.1.0 + + org.apache.maven.plugins + maven-war-plugin + 3.1.0 false ${project.artifactId} - - + + + + + org.mybatis.generator + mybatis-generator-maven-plugin + 1.3.6 + + + ${basedir}/src/main/resources/generator/generatorConfig.xml + + true + true + + + + mysql + mysql-connector-java + 8.0.26 + + + tk.mybatis + mapper + 4.1.5 + + + org.projectlombok + lombok + 1.18.20 + compile + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.22.2 + + true + + ${project.artifactId} diff --git a/ruoyi-admin/src/main/resources/generator/config.properties b/ruoyi-admin/src/main/resources/generator/config.properties new file mode 100644 index 0000000..63f0610 --- /dev/null +++ b/ruoyi-admin/src/main/resources/generator/config.properties @@ -0,0 +1,12 @@ +jdbc.driverClass=com.mysql.cj.jdbc.Driver +jdbc.url=jdbc:mysql://158.58.50.21:3306/knslm?serverTimezone=Asia/Shanghai&useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL&nullCatalogMeansCurrent=true +jdbc.user=knslm +jdbc.password=knslm2022 +#模块名称 + +moduleName=diagnosis +#表名 +tableName=subhealth_model_upgrade + +#主键 +premaryId=id diff --git a/ruoyi-admin/src/main/resources/generator/generatorConfig.xml b/ruoyi-admin/src/main/resources/generator/generatorConfig.xml new file mode 100644 index 0000000..2743fc9 --- /dev/null +++ b/ruoyi-admin/src/main/resources/generator/generatorConfig.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
\ No newline at end of file