mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 16:48:24 +08:00
optimize EnjoyTemplate.java
This commit is contained in:
parent
d82536b5cd
commit
48bef7eeb9
@ -45,6 +45,7 @@ public class EnjoyTemplate implements ITemplate {
|
||||
|
||||
FileOutputStream fileOutputStream = new FileOutputStream(entityJavaFile);
|
||||
engine.getTemplate("/templates/enjoy/entity.tpl").render(params, fileOutputStream);
|
||||
System.out.println("Entity has been generated: " + entityJavaFile.getAbsolutePath());
|
||||
}
|
||||
|
||||
|
||||
@ -57,5 +58,6 @@ public class EnjoyTemplate implements ITemplate {
|
||||
|
||||
FileOutputStream fileOutputStream = new FileOutputStream(mapperJavaFile);
|
||||
engine.getTemplate("/templates/enjoy/mapper.tpl").render(params, fileOutputStream);
|
||||
System.out.println("Mapper has been generated: " + mapperJavaFile.getAbsolutePath());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user