mirror of https://gitee.com/xiaonuobase/snowy
【更新】修正错别字
parent
3ceae27b0c
commit
3b4860344d
|
@ -68,17 +68,17 @@ public class Config {
|
|||
/**
|
||||
* java文件夹
|
||||
*/
|
||||
public static String BASE_JAVA_PAHT = FILE_SEP + "src" + FILE_SEP + "main" + FILE_SEP + "java" + FILE_SEP;
|
||||
public static String BASE_JAVA_PATH = FILE_SEP + "src" + FILE_SEP + "main" + FILE_SEP + "java" + FILE_SEP;
|
||||
|
||||
/**
|
||||
* vue文件夹
|
||||
*/
|
||||
public static String BASE_VUE_PAHT = FILE_SEP + "_web" + FILE_SEP + "src" + FILE_SEP;
|
||||
public static String BASE_VUE_PATH = FILE_SEP + "_web" + FILE_SEP + "src" + FILE_SEP;
|
||||
|
||||
/**
|
||||
* sql文件夹
|
||||
*/
|
||||
public static String BASE_SQL_PAHT = FILE_SEP + "_sql" + FILE_SEP;
|
||||
public static String BASE_SQL_PATH = FILE_SEP + "_sql" + FILE_SEP;
|
||||
|
||||
/**
|
||||
* 代码生成路径
|
||||
|
@ -103,20 +103,20 @@ public class Config {
|
|||
*/
|
||||
public static String[] xnCodeGenFilePath (String busName, String packageName) {
|
||||
String packageNameString = packageName.replace(".",FILE_SEP) + FILE_SEP;
|
||||
controllerPath = BASE_JAVA_PAHT + packageNameString + MODULAR_NAME + FILE_SEP + busName + FILE_SEP + "controller" + FILE_SEP;
|
||||
entityPath = BASE_JAVA_PAHT + packageNameString + MODULAR_NAME + FILE_SEP + busName + FILE_SEP + "entity" + FILE_SEP;
|
||||
enumsPath = BASE_JAVA_PAHT+ packageNameString + MODULAR_NAME + FILE_SEP + busName + FILE_SEP + "enums" + FILE_SEP;
|
||||
mapperPath = BASE_JAVA_PAHT + packageNameString + MODULAR_NAME + FILE_SEP + busName + FILE_SEP + "mapper" + FILE_SEP;
|
||||
controllerPath = BASE_JAVA_PATH + packageNameString + MODULAR_NAME + FILE_SEP + busName + FILE_SEP + "controller" + FILE_SEP;
|
||||
entityPath = BASE_JAVA_PATH + packageNameString + MODULAR_NAME + FILE_SEP + busName + FILE_SEP + "entity" + FILE_SEP;
|
||||
enumsPath = BASE_JAVA_PATH+ packageNameString + MODULAR_NAME + FILE_SEP + busName + FILE_SEP + "enums" + FILE_SEP;
|
||||
mapperPath = BASE_JAVA_PATH + packageNameString + MODULAR_NAME + FILE_SEP + busName + FILE_SEP + "mapper" + FILE_SEP;
|
||||
mappingPath = mapperPath + FILE_SEP + "mapping" + FILE_SEP;
|
||||
paramPath = BASE_JAVA_PAHT+ FILE_SEP + packageNameString + MODULAR_NAME + FILE_SEP + busName + FILE_SEP + "param" + FILE_SEP;
|
||||
servicePath = BASE_JAVA_PAHT+ FILE_SEP + packageNameString + MODULAR_NAME + FILE_SEP + busName + FILE_SEP + "service" + FILE_SEP;
|
||||
paramPath = BASE_JAVA_PATH+ FILE_SEP + packageNameString + MODULAR_NAME + FILE_SEP + busName + FILE_SEP + "param" + FILE_SEP;
|
||||
servicePath = BASE_JAVA_PATH+ FILE_SEP + packageNameString + MODULAR_NAME + FILE_SEP + busName + FILE_SEP + "service" + FILE_SEP;
|
||||
serviceImplPath = servicePath + FILE_SEP + "impl" + FILE_SEP;
|
||||
manageJsPath = BASE_VUE_PAHT + FILE_SEP + "api" + FILE_SEP + MODULAR_NAME + FILE_SEP + "main" + FILE_SEP + busName + FILE_SEP;
|
||||
vueIndexPath = BASE_VUE_PAHT + FILE_SEP + "views" + FILE_SEP + "main" + FILE_SEP + busName + FILE_SEP;
|
||||
vueAddFromPath = BASE_VUE_PAHT + FILE_SEP + "views" + FILE_SEP + "main" + FILE_SEP + busName + FILE_SEP;
|
||||
vueEditFromPath = BASE_VUE_PAHT + FILE_SEP + "views" + FILE_SEP + "main" + FILE_SEP + busName + FILE_SEP;
|
||||
mysqlSqlPath = BASE_SQL_PAHT;
|
||||
oracleSqlPath = BASE_SQL_PAHT;
|
||||
manageJsPath = BASE_VUE_PATH + FILE_SEP + "api" + FILE_SEP + MODULAR_NAME + FILE_SEP + "main" + FILE_SEP + busName + FILE_SEP;
|
||||
vueIndexPath = BASE_VUE_PATH + FILE_SEP + "views" + FILE_SEP + "main" + FILE_SEP + busName + FILE_SEP;
|
||||
vueAddFromPath = BASE_VUE_PATH + FILE_SEP + "views" + FILE_SEP + "main" + FILE_SEP + busName + FILE_SEP;
|
||||
vueEditFromPath = BASE_VUE_PATH + FILE_SEP + "views" + FILE_SEP + "main" + FILE_SEP + busName + FILE_SEP;
|
||||
mysqlSqlPath = BASE_SQL_PATH;
|
||||
oracleSqlPath = BASE_SQL_PATH;
|
||||
return new String[] {
|
||||
controllerPath, entityPath, enumsPath, mapperPath, mappingPath, paramPath, servicePath, serviceImplPath, manageJsPath, vueIndexPath, vueAddFromPath, vueEditFromPath, mysqlSqlPath, oracleSqlPath
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue