From ffbad1cea2ff12087f78145f2c968a2dbf7741e4 Mon Sep 17 00:00:00 2001 From: 王彬 Date: Thu, 5 Sep 2019 10:23:53 +0800 Subject: [PATCH] optimize code remove unuseful generate code --- build.gradle | 2 +- src/main/java/com/taover/codegenerate/bazhuayun/GenerateCode.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 22ec69c..1a82cd1 100644 --- a/build.gradle +++ b/build.gradle @@ -51,7 +51,7 @@ uploadArchives { authentication(userName: NEXUS_USERNAME, password: NEXUS_PASSWORD) } pom.project { - version '1.2.9' + version '1.2.10' artifactId ARTIFACT_Id groupId GROUP_ID packaging TYPE diff --git a/src/main/java/com/taover/codegenerate/bazhuayun/GenerateCode.java b/src/main/java/com/taover/codegenerate/bazhuayun/GenerateCode.java index 7ead5c0..571df25 100644 --- a/src/main/java/com/taover/codegenerate/bazhuayun/GenerateCode.java +++ b/src/main/java/com/taover/codegenerate/bazhuayun/GenerateCode.java @@ -64,13 +64,13 @@ public class GenerateCode { } ApiModel apiModel = new ApiModel(dbName, tableNameCurr, columnsInTable, "1.0.0", basePackage); - generateDto(srcPath, apiModel); + //generateDto(srcPath, apiModel); generateEntity(srcPath, apiModel); generateManageController(srcPath, apiModel); generateV1Controller(srcPath, apiModel); generateRepository(srcPath, apiModel); generateService(srcPath, apiModel); - generateVo(srcPath, apiModel); + //generateVo(srcPath, apiModel); } System.out.println("处理完成"); } -- libgit2 0.21.2