Commit 26eda777 by naan1993

修改模板一处错误

parent 5a4d825a
...@@ -29,7 +29,7 @@ public class ControllerConfig { ...@@ -29,7 +29,7 @@ public class ControllerConfig {
imports.add("com.stylefeng.guns.core.log.LogObjectHolder"); imports.add("com.stylefeng.guns.core.log.LogObjectHolder");
imports.add("org.springframework.web.bind.annotation.RequestParam"); imports.add("org.springframework.web.bind.annotation.RequestParam");
imports.add(contextConfig.getModelPackageName() + "." + contextConfig.getEntityName()); imports.add(contextConfig.getModelPackageName() + "." + contextConfig.getEntityName());
imports.add("com.stylefeng.guns.modular." + contextConfig.getModuleName() + ".service" + ".I" + contextConfig.getBizEnBigName() + "Service"); imports.add("com.stylefeng.guns.modular." + contextConfig.getModuleName() + ".service" + ".I" + contextConfig.getEntityName() + "Service");
this.imports = imports; this.imports = imports;
this.packageName = "com.stylefeng.guns.modular." + contextConfig.getModuleName() + ".controller"; this.packageName = "com.stylefeng.guns.modular." + contextConfig.getModuleName() + ".controller";
this.controllerPathTemplate = "\\src\\main\\java\\com\\stylefeng\\guns\\modular\\" + contextConfig.getModuleName() + "\\controller\\{}Controller.java"; this.controllerPathTemplate = "\\src\\main\\java\\com\\stylefeng\\guns\\modular\\" + contextConfig.getModuleName() + "\\controller\\{}Controller.java";
......
...@@ -17,7 +17,7 @@ public class ${context.bizEnBigName}Controller extends BaseController { ...@@ -17,7 +17,7 @@ public class ${context.bizEnBigName}Controller extends BaseController {
private String PREFIX = "/${context.moduleName}/${context.bizEnName}/"; private String PREFIX = "/${context.moduleName}/${context.bizEnName}/";
@Autowired @Autowired
private I${context.bizEnBigName}Service ${context.bizEnName}Service; private I${context.entityName}Service ${context.bizEnName}Service;
/** /**
* 跳转到${context.bizChName}首页 * 跳转到${context.bizChName}首页
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment