* #01 解决包问题
This commit is contained in:
parent
56df0d7bb4
commit
98b1b9d7ca
36
pom.xml
36
pom.xml
|
@ -3,14 +3,38 @@
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<parent>
|
|
||||||
<groupId>com.msph.cls</groupId>
|
|
||||||
<artifactId>cls-common</artifactId>
|
|
||||||
<version>1.0</version>
|
|
||||||
</parent>
|
|
||||||
|
|
||||||
<groupId>com.msph.cls.generate.code</groupId>
|
<groupId>com.afe</groupId>
|
||||||
<artifactId>generate-code</artifactId>
|
<artifactId>generate-code</artifactId>
|
||||||
|
<version>1.0</version>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<jdk.version>1.8</jdk.version>
|
||||||
|
<maven.compiler.version>3.1</maven.compiler.version>
|
||||||
|
<spring-boot.version>2.3.0.RELEASE</spring-boot.version>
|
||||||
|
<spring-cloud.version>Hoxton.SR4</spring-cloud.version>
|
||||||
|
<lombok.version>1.18.12</lombok.version>
|
||||||
|
<java-jwt.version>3.4.0</java-jwt.version>
|
||||||
|
<collection4.version>4.4</collection4.version>
|
||||||
|
<okhttp.version>3.9.1</okhttp.version>
|
||||||
|
<fast.json.version>1.2.60</fast.json.version>
|
||||||
|
<javax.servlet.version>2.4</javax.servlet.version>
|
||||||
|
<slf4j.version>1.7.21</slf4j.version>
|
||||||
|
<asm.version>3.3.1</asm.version>
|
||||||
|
<cglib.version>2.2.2</cglib.version>
|
||||||
|
<java.version>1.8</java.version>
|
||||||
|
<hutool.version>5.7.1</hutool.version>
|
||||||
|
<poi.version>4.1.2</poi.version>
|
||||||
|
<mybatis-plus.version>3.4.3.4</mybatis-plus.version>
|
||||||
|
<mybatis-plus-generator.version>3.2.0</mybatis-plus-generator.version>
|
||||||
|
<jdbc.version>5.1.45</jdbc.version>
|
||||||
|
<freemarker.version>2.3.31</freemarker.version>
|
||||||
|
<rocketmq.version>4.9.0</rocketmq.version>
|
||||||
|
<fastjson.version>1.2.75</fastjson.version>
|
||||||
|
<commons-pool2.version>2.8.0</commons-pool2.version>
|
||||||
|
<swagger2.version>3.0.0</swagger2.version>
|
||||||
|
<lang3.version>3.10</lang3.version>
|
||||||
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -375,7 +375,9 @@ public class MBPGeneratorHelper {
|
||||||
while (true) {
|
while (true) {
|
||||||
String tables = scanner(" 1. 您要生成的表(多个逗号分隔): ");
|
String tables = scanner(" 1. 您要生成的表(多个逗号分隔): ");
|
||||||
List<String> tableList = Arrays.stream(tables.split(",")).map(String::trim).filter(s -> !s.isEmpty()).collect(Collectors.toList());
|
List<String> tableList = Arrays.stream(tables.split(",")).map(String::trim).filter(s -> !s.isEmpty()).collect(Collectors.toList());
|
||||||
if (tableList.isEmpty()) continue;
|
if (tableList.isEmpty()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
String[] tableArrays = new String[tableList.size()];
|
String[] tableArrays = new String[tableList.size()];
|
||||||
tableList.toArray(tableArrays);
|
tableList.toArray(tableArrays);
|
||||||
|
@ -390,7 +392,9 @@ public class MBPGeneratorHelper {
|
||||||
private static String inputModuleName() {
|
private static String inputModuleName() {
|
||||||
while (true) {
|
while (true) {
|
||||||
String module = scanner(" 2. 模块名: ").trim();
|
String module = scanner(" 2. 模块名: ").trim();
|
||||||
if (module.isEmpty()) continue;
|
if (module.isEmpty()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
return module;
|
return module;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue