From 1f2b9020ffb33a70f77747a6712c54a86ba1e6af Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期四, 11 七月 2024 15:46:23 +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 f3462ad..50cd713 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("taskAdd.html.vm"))
+        else if (template.contains("add.html.vm"))
         {
-            fileName = StringUtils.format("{}/taskAdd.html", htmlPath);
+            fileName = StringUtils.format("{}/add.html", htmlPath);
         }
-        else if (template.contains("taskEdit.html.vm"))
+        else if (template.contains("edit.html.vm"))
         {
-            fileName = StringUtils.format("{}/taskEdit.html", htmlPath);
+            fileName = StringUtils.format("{}/edit.html", htmlPath);
         }
         else if (template.contains("sql.vm"))
         {

--
Gitblit v1.9.2