From 1a1a315efb1b5dc294013126f35819e36565040c Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 30 九月 2021 18:06:48 +0800
Subject: [PATCH] 后台管理自动化代码生成

---
 src/main/java/org/yeshi/utils/generater/util/FormAnotationValidUtil.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/main/java/org/yeshi/utils/generater/util/FormAnotationValidUtil.java b/src/main/java/org/yeshi/utils/generater/util/FormAnotationValidUtil.java
index 0aff7a2..704e1aa 100644
--- a/src/main/java/org/yeshi/utils/generater/util/FormAnotationValidUtil.java
+++ b/src/main/java/org/yeshi/utils/generater/util/FormAnotationValidUtil.java
@@ -67,8 +67,8 @@
         }
 
         for (String st : checkBox.values()) {
-            if (!st.contains(",")) {
-                throw new AnotationException("澶嶉�夋鐨勫唴瀹规牸寮忛敊璇紝閿�煎瑕佺敤閫楀彿鍒嗛殧");
+            if (!st.contains(":")) {
+                throw new AnotationException("澶嶉�夋鐨勫唴瀹规牸寮忛敊璇紝閿�煎瑕佺敤:鍒嗛殧");
             }
         }
     }
@@ -94,8 +94,8 @@
         }
 
         for (String st : radioGroup.values()) {
-            if (!st.contains(",")) {
-                throw new AnotationException("鍗曢�夋鐨勫唴瀹规牸寮忛敊璇紝閿�煎瑕佺敤閫楀彿鍒嗛殧");
+            if (!st.contains(":")) {
+                throw new AnotationException("鍗曢�夋鐨勫唴瀹规牸寮忛敊璇紝閿�煎瑕佺敤:鍒嗛殧");
             }
         }
 
@@ -111,8 +111,8 @@
             }
         } else {
             for (String st : select.values()) {
-                if (!st.contains(",")) {
-                    throw new AnotationException("涓嬫媺妗嗙殑鍐呭鏍煎紡閿欒锛岄敭鍊煎瑕佺敤閫楀彿鍒嗛殧");
+                if (!st.contains(":")) {
+                    throw new AnotationException("涓嬫媺妗嗙殑鍐呭鏍煎紡閿欒锛岄敭鍊煎瑕佺敤:鍒嗛殧");
                 }
             }
         }

--
Gitblit v1.8.0