Pre Merge pull request !1091 from kknd97/N/A

pull/1091/MERGE
kknd97 2025-12-02 11:30:24 +00:00 committed by Gitee
commit d005ac41e7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 1 deletions

View File

@ -267,7 +267,8 @@ public class GenTableServiceImpl implements IGenTableService
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"))
//此处的过滤判断导致【自定义路径】无法生成vue和sql的内容建议删除。或者注释说明进行过滤的原因。
if (true || !StringUtils.containsAny(template, "sql.vm", "api.js.vm", "index.vue.vm", "index-tree.vue.vm"))
{
// 渲染模板
StringWriter sw = new StringWriter();