From 98b1b9d7cad6df7c477a0a76fe91ec9ff7bacd28 Mon Sep 17 00:00:00 2001 From: yanghanbin Date: Wed, 5 Jul 2023 12:00:59 +0800 Subject: [PATCH] =?UTF-8?q?*=20#01=20=E8=A7=A3=E5=86=B3=E5=8C=85=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 36 +++++++++++++++---- .../msph/cls/generate/MBPGeneratorHelper.java | 8 +++-- 2 files changed, 36 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index fe5862d..f45f282 100644 --- a/pom.xml +++ b/pom.xml @@ -3,14 +3,38 @@ 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"> 4.0.0 - - com.msph.cls - cls-common - 1.0 - - com.msph.cls.generate.code + com.afe generate-code + 1.0 + + + 1.8 + 3.1 + 2.3.0.RELEASE + Hoxton.SR4 + 1.18.12 + 3.4.0 + 4.4 + 3.9.1 + 1.2.60 + 2.4 + 1.7.21 + 3.3.1 + 2.2.2 + 1.8 + 5.7.1 + 4.1.2 + 3.4.3.4 + 3.2.0 + 5.1.45 + 2.3.31 + 4.9.0 + 1.2.75 + 2.8.0 + 3.0.0 + 3.10 + diff --git a/src/main/java/com/msph/cls/generate/MBPGeneratorHelper.java b/src/main/java/com/msph/cls/generate/MBPGeneratorHelper.java index 682e5b9..ef90342 100644 --- a/src/main/java/com/msph/cls/generate/MBPGeneratorHelper.java +++ b/src/main/java/com/msph/cls/generate/MBPGeneratorHelper.java @@ -375,7 +375,9 @@ public class MBPGeneratorHelper { while (true) { String tables = scanner(" 1. 您要生成的表(多个逗号分隔): "); List 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()]; tableList.toArray(tableArrays); @@ -390,7 +392,9 @@ public class MBPGeneratorHelper { private static String inputModuleName() { while (true) { String module = scanner(" 2. 模块名: ").trim(); - if (module.isEmpty()) continue; + if (module.isEmpty()) { + continue; + } return module; } }