| | |
| | | VelocityContext context = VelocityUtils.prepareContext(table);
|
| | |
|
| | | // 获取模板列表
|
| | | List<String> templates = VelocityUtils.getTemplateList(table.getTplCategory());
|
| | | List<String> templates = VelocityUtils.getTemplateList(table.getTplCategory(), table.getTplWebType());
|
| | | for (String template : templates)
|
| | | {
|
| | | // 渲染模板
|
| | |
| | | VelocityContext context = VelocityUtils.prepareContext(table);
|
| | |
|
| | | // 获取模板列表
|
| | | List<String> templates = VelocityUtils.getTemplateList(table.getTplCategory());
|
| | | List<String> templates = VelocityUtils.getTemplateList(table.getTplCategory(), table.getTplWebType());
|
| | | for (String template : templates)
|
| | | {
|
| | | if (!StringUtils.containsAny(template, "sql.vm", "api.js.vm", "index.vue.vm", "index-tree.vue.vm"))
|
| | |
| | | VelocityContext context = VelocityUtils.prepareContext(table);
|
| | |
|
| | | // 获取模板列表
|
| | | List<String> templates = VelocityUtils.getTemplateList(table.getTplCategory());
|
| | | List<String> templates = VelocityUtils.getTemplateList(table.getTplCategory(), table.getTplWebType());
|
| | | for (String template : templates)
|
| | | {
|
| | | // 渲染模板
|