mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 01:28:24 +08:00
add "@Override"
This commit is contained in:
parent
45e370e855
commit
d0a245869c
@ -73,10 +73,12 @@ public class ControllerGenerator implements IGenerator {
|
|||||||
globalConfig.getTemplateConfig().getTemplate().generate(params, templatePath, controllerJavaFile);
|
globalConfig.getTemplateConfig().getTemplate().generate(params, templatePath, controllerJavaFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getTemplatePath() {
|
public String getTemplatePath() {
|
||||||
return templatePath;
|
return templatePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setTemplatePath(String templatePath) {
|
public void setTemplatePath(String templatePath) {
|
||||||
this.templatePath = templatePath;
|
this.templatePath = templatePath;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -73,10 +73,12 @@ public class EntityGenerator implements IGenerator {
|
|||||||
globalConfig.getTemplateConfig().getTemplate().generate(params, templatePath, entityJavaFile);
|
globalConfig.getTemplateConfig().getTemplate().generate(params, templatePath, entityJavaFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getTemplatePath() {
|
public String getTemplatePath() {
|
||||||
return templatePath;
|
return templatePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setTemplatePath(String templatePath) {
|
public void setTemplatePath(String templatePath) {
|
||||||
this.templatePath = templatePath;
|
this.templatePath = templatePath;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -73,10 +73,12 @@ public class MapperGenerator implements IGenerator {
|
|||||||
globalConfig.getTemplateConfig().getTemplate().generate(params, templatePath, mapperJavaFile);
|
globalConfig.getTemplateConfig().getTemplate().generate(params, templatePath, mapperJavaFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getTemplatePath() {
|
public String getTemplatePath() {
|
||||||
return templatePath;
|
return templatePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setTemplatePath(String templatePath) {
|
public void setTemplatePath(String templatePath) {
|
||||||
this.templatePath = templatePath;
|
this.templatePath = templatePath;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -70,10 +70,12 @@ public class MapperXmlGenerator implements IGenerator {
|
|||||||
globalConfig.getTemplateConfig().getTemplate().generate(params, templatePath, mapperXmlFile);
|
globalConfig.getTemplateConfig().getTemplate().generate(params, templatePath, mapperXmlFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getTemplatePath() {
|
public String getTemplatePath() {
|
||||||
return templatePath;
|
return templatePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setTemplatePath(String templatePath) {
|
public void setTemplatePath(String templatePath) {
|
||||||
this.templatePath = templatePath;
|
this.templatePath = templatePath;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -88,10 +88,12 @@ public class PackageInfoGenerator implements IGenerator {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getTemplatePath() {
|
public String getTemplatePath() {
|
||||||
return templatePath;
|
return templatePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setTemplatePath(String templatePath) {
|
public void setTemplatePath(String templatePath) {
|
||||||
this.templatePath = templatePath;
|
this.templatePath = templatePath;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -73,10 +73,12 @@ public class ServiceGenerator implements IGenerator {
|
|||||||
globalConfig.getTemplateConfig().getTemplate().generate(params, templatePath, serviceJavaFile);
|
globalConfig.getTemplateConfig().getTemplate().generate(params, templatePath, serviceJavaFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getTemplatePath() {
|
public String getTemplatePath() {
|
||||||
return templatePath;
|
return templatePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setTemplatePath(String templatePath) {
|
public void setTemplatePath(String templatePath) {
|
||||||
this.templatePath = templatePath;
|
this.templatePath = templatePath;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -73,10 +73,12 @@ public class ServiceImplGenerator implements IGenerator {
|
|||||||
globalConfig.getTemplateConfig().getTemplate().generate(params, templatePath, serviceImplJavaFile);
|
globalConfig.getTemplateConfig().getTemplate().generate(params, templatePath, serviceImplJavaFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getTemplatePath() {
|
public String getTemplatePath() {
|
||||||
return templatePath;
|
return templatePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setTemplatePath(String templatePath) {
|
public void setTemplatePath(String templatePath) {
|
||||||
this.templatePath = templatePath;
|
this.templatePath = templatePath;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -73,10 +73,12 @@ public class TableDefGenerator implements IGenerator {
|
|||||||
globalConfig.getTemplateConfig().getTemplate().generate(params, templatePath, tableDefJavaFile);
|
globalConfig.getTemplateConfig().getTemplate().generate(params, templatePath, tableDefJavaFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getTemplatePath() {
|
public String getTemplatePath() {
|
||||||
return templatePath;
|
return templatePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setTemplatePath(String templatePath) {
|
public void setTemplatePath(String templatePath) {
|
||||||
this.templatePath = templatePath;
|
this.templatePath = templatePath;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user