From 6f6900cfbb38dbe967c71b4cdc886f5896d7269f Mon Sep 17 00:00:00 2001
From: EricsHu <hrr145632>
Date: 星期五, 04 八月 2023 15:46:20 +0800
Subject: [PATCH] 回掉直播状态

---
 src/main/java/com/qxueyou/scc/base/util/ParamsUtils.java |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/main/java/com/qxueyou/scc/base/util/ParamsUtils.java b/src/main/java/com/qxueyou/scc/base/util/ParamsUtils.java
index f6f2f37..bf4b560 100644
--- a/src/main/java/com/qxueyou/scc/base/util/ParamsUtils.java
+++ b/src/main/java/com/qxueyou/scc/base/util/ParamsUtils.java
@@ -14,11 +14,11 @@
 public class ParamsUtils {
 	
 	/**
-     * 获取查询条件的公用方法
+     * 鑾峰彇鏌ヨ鏉′欢鐨勫叕鐢ㄦ柟娉�
      * 
      * @param request HttpServletRequest
-     * @param strSupportQueryArray 定义自己功能模块支持查询的条件数组集合
-     * @param lstQueryCondition 查询条件
+     * @param strSupportQueryArray 瀹氫箟鑷繁鍔熻兘妯″潡鏀寔鏌ヨ鐨勬潯浠舵暟缁勯泦鍚�
+     * @param lstQueryCondition 鏌ヨ鏉′欢
      */
     public static void getAllQueryCondition(HttpServletRequest request, String[] strSupportQueryArray,
         List<Param> lstParams) {
@@ -28,28 +28,28 @@
         String strValue = "";
         List<String> lstSupportQuery = Arrays.asList(strSupportQueryArray);
         /**
-         * 条件分为以下几种情况: 1、关键字查询  2、单选按钮的数据字典值  3、复选数组,比如类型
-         * 4、时间范围,比如开始时间和结束时间 5、数字范围, 6、其它类型
+         * 鏉′欢鍒嗕负浠ヤ笅鍑犵鎯呭喌: 1銆佸叧閿瓧鏌ヨ  2銆佸崟閫夋寜閽殑鏁版嵁瀛楀吀鍊�  3銆佸閫夋暟缁勶紝姣斿绫诲瀷
+         * 4銆佹椂闂磋寖鍥达紝姣斿寮�濮嬫椂闂村拰缁撴潫鏃堕棿 5銆佹暟瀛楄寖鍥达紝 6銆佸叾瀹冪被鍨�
          */
         for (Map.Entry<String, String[]> entry : entryseSet) {
-            /** 获取参数中的键值对 */
+            /** 鑾峰彇鍙傛暟涓殑閿�煎 */
             strKey = entry.getKey().toString();
             strValue = entry.getValue()[0];
-            /** 不支持的条件将会被过滤 */
+            /** 涓嶆敮鎸佺殑鏉′欢灏嗕細琚繃婊� */
             if (lstSupportQuery.contains(strKey) && StringUtils.isNotBlank(strValue)) {
-                // 去空格
+                // 鍘荤┖鏍�
                 strValue = strValue.trim();
-                if (strValue.matches("^[0-9]*[0-9][0-9]*$")) {// 单选 数字
+                if (strValue.matches("^[0-9]*[0-9][0-9]*$")) {// 鍗曢�� 鏁板瓧
                 	lstParams.add(new Param(strKey, " = ", strValue));
-                } else if (strValue.contains(",")) {// 复选 数字
+                } else if (strValue.contains(",")) {// 澶嶉�� 鏁板瓧
                     if (strValue.replace(",", "").matches("^-?[0-9]*$")){
                     	lstParams.add(new Param(strKey, " in ",  strValue ));
                     }
-                } else if (strValue.contains("~")) {// 时间范围
+                } else if (strValue.contains("~")) {// 鏃堕棿鑼冨洿
                     
-                }else if (strValue.contains("-")) {// 数字范围
+                }else if (strValue.contains("-")) {// 鏁板瓧鑼冨洿
                 	
-                }  else {// 其它
+                }  else {// 鍏跺畠
                 	lstParams.add(new Param(strKey, " LIKE ", "%"+strValue+"%"));
                 }
             }

--
Gitblit v1.8.0