From 9590de2c1971b596c047deddd926c2b80ade2c67 Mon Sep 17 00:00:00 2001
From: kdyzm <zhengrongjun@haier.com>
Date: 星期三, 02 六月 2021 17:08:00 +0800
Subject: [PATCH] 优化树生成的代码生成:增加loading、修改删除按钮的回调函数为箭头函数

---
 ruoyi-common/src/main/java/com/ruoyi/common/utils/sql/SqlUtil.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/sql/SqlUtil.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/sql/SqlUtil.java
index 0b06dd9..a37268a 100644
--- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/sql/SqlUtil.java
+++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/sql/SqlUtil.java
@@ -1,7 +1,7 @@
 package com.ruoyi.common.utils.sql;
 
+import cn.hutool.core.lang.Validator;
 import com.ruoyi.common.exception.BaseException;
-import com.ruoyi.common.utils.StringUtils;
 
 /**
  * sql鎿嶄綔宸ュ叿绫�
@@ -20,7 +20,7 @@
      */
     public static String escapeOrderBySql(String value)
     {
-        if (StringUtils.isNotEmpty(value) && !isValidOrderBySql(value))
+        if (Validator.isNotEmpty(value) && !isValidOrderBySql(value))
         {
             throw new BaseException("鍙傛暟涓嶇鍚堣鑼冿紝涓嶈兘杩涜鏌ヨ");
         }

--
Gitblit v1.9.3