From 851c8de2af1ee28ef148d0acf132ed4b03071a54 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期三, 12 六月 2024 14:54:27 +0800
Subject: [PATCH] 添加

---
 src/main/java/com/ruoyi/project/tool/gen/util/VelocityUtils.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/ruoyi/project/tool/gen/util/VelocityUtils.java b/src/main/java/com/ruoyi/project/tool/gen/util/VelocityUtils.java
index 50cd713..f3462ad 100644
--- a/src/main/java/com/ruoyi/project/tool/gen/util/VelocityUtils.java
+++ b/src/main/java/com/ruoyi/project/tool/gen/util/VelocityUtils.java
@@ -166,13 +166,13 @@
         {
             fileName = StringUtils.format("{}/tree.html", htmlPath);
         }
-        else if (template.contains("add.html.vm"))
+        else if (template.contains("taskAdd.html.vm"))
         {
-            fileName = StringUtils.format("{}/add.html", htmlPath);
+            fileName = StringUtils.format("{}/taskAdd.html", htmlPath);
         }
-        else if (template.contains("edit.html.vm"))
+        else if (template.contains("taskEdit.html.vm"))
         {
-            fileName = StringUtils.format("{}/edit.html", htmlPath);
+            fileName = StringUtils.format("{}/taskEdit.html", htmlPath);
         }
         else if (template.contains("sql.vm"))
         {

--
Gitblit v1.9.2