mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-06-02 07:01:47 +08:00
修改代码生成器
This commit is contained in:
@@ -373,7 +373,7 @@ public class GenerateServiceImpl implements IGenerateService {
|
||||
StringWriter sw = new StringWriter();
|
||||
Template tpl = Velocity.getTemplate(template, GenConstants.UTF8);
|
||||
tpl.merge(context, sw);
|
||||
map.put(template, sw.toString());
|
||||
map.put(template.replace(".vm", ""), sw.toString());
|
||||
System.out.println(sw);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user