调整顺序

pull/214/head
dqjdda 2019-11-26 16:12:47 +08:00
parent cf25647acf
commit 2ad07c8f02
1 changed files with 4 additions and 4 deletions

View File

@ -39,11 +39,11 @@ public class GenUtil {
templateNames.add("Entity"); templateNames.add("Entity");
templateNames.add("Dto"); templateNames.add("Dto");
templateNames.add("Mapper"); templateNames.add("Mapper");
templateNames.add("Repository"); templateNames.add("Controller");
templateNames.add("QueryCriteria");
templateNames.add("Service"); templateNames.add("Service");
templateNames.add("ServiceImpl"); templateNames.add("ServiceImpl");
templateNames.add("QueryCriteria"); templateNames.add("Repository");
templateNames.add("Controller");
return templateNames; return templateNames;
} }
@ -53,8 +53,8 @@ public class GenUtil {
*/ */
private static List<String> getFrontTemplateNames() { private static List<String> getFrontTemplateNames() {
List<String> templateNames = new ArrayList<>(); List<String> templateNames = new ArrayList<>();
templateNames.add("api");
templateNames.add("index"); templateNames.add("index");
templateNames.add("api");
return templateNames; return templateNames;
} }