Commit ffbad1cea2ff12087f78145f2c968a2dbf7741e4
1 parent
a21bd914
Exists in
master
optimize code remove unuseful generate code
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
build.gradle
@@ -51,7 +51,7 @@ uploadArchives { | @@ -51,7 +51,7 @@ uploadArchives { | ||
51 | authentication(userName: NEXUS_USERNAME, password: NEXUS_PASSWORD) | 51 | authentication(userName: NEXUS_USERNAME, password: NEXUS_PASSWORD) |
52 | } | 52 | } |
53 | pom.project { | 53 | pom.project { |
54 | - version '1.2.9' | 54 | + version '1.2.10' |
55 | artifactId ARTIFACT_Id | 55 | artifactId ARTIFACT_Id |
56 | groupId GROUP_ID | 56 | groupId GROUP_ID |
57 | packaging TYPE | 57 | packaging TYPE |
src/main/java/com/taover/codegenerate/bazhuayun/GenerateCode.java
@@ -64,13 +64,13 @@ public class GenerateCode { | @@ -64,13 +64,13 @@ public class GenerateCode { | ||
64 | } | 64 | } |
65 | 65 | ||
66 | ApiModel apiModel = new ApiModel(dbName, tableNameCurr, columnsInTable, "1.0.0", basePackage); | 66 | ApiModel apiModel = new ApiModel(dbName, tableNameCurr, columnsInTable, "1.0.0", basePackage); |
67 | - generateDto(srcPath, apiModel); | 67 | + //generateDto(srcPath, apiModel); |
68 | generateEntity(srcPath, apiModel); | 68 | generateEntity(srcPath, apiModel); |
69 | generateManageController(srcPath, apiModel); | 69 | generateManageController(srcPath, apiModel); |
70 | generateV1Controller(srcPath, apiModel); | 70 | generateV1Controller(srcPath, apiModel); |
71 | generateRepository(srcPath, apiModel); | 71 | generateRepository(srcPath, apiModel); |
72 | generateService(srcPath, apiModel); | 72 | generateService(srcPath, apiModel); |
73 | - generateVo(srcPath, apiModel); | 73 | + //generateVo(srcPath, apiModel); |
74 | } | 74 | } |
75 | System.out.println("处理完成"); | 75 | System.out.println("处理完成"); |
76 | } | 76 | } |