From d6201c37c34681b11d6eeb5d3fa2008991d9f370 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 12 四月 2024 15:26:21 +0800
Subject: [PATCH] #

---
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/common/aspect/OperationLogAspect.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/common/aspect/OperationLogAspect.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/common/aspect/OperationLogAspect.java
index 7454ef6..2097f99 100644
--- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/common/aspect/OperationLogAspect.java
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/common/aspect/OperationLogAspect.java
@@ -7,7 +7,7 @@
 import com.zy.asrs.wcs.system.entity.OperationRecord;
 import com.zy.asrs.wcs.system.entity.User;
 import com.zy.asrs.wcs.system.service.OperationRecordService;
-import com.zy.asrs.wcs.utils.Utils;
+import com.zy.asrs.wcs.utils.CommonUtils;
 import org.aspectj.lang.JoinPoint;
 import org.aspectj.lang.annotation.*;
 import org.aspectj.lang.reflect.MethodSignature;
@@ -105,7 +105,7 @@
         // 璁板綍寮傚父淇℃伅
         if (e != null) {
             record.setResult(0);
-            record.setErr(Utils.sub(e.toString(), MAX_LENGTH));
+            record.setErr(CommonUtils.sub(e.toString(), MAX_LENGTH));
         } else {
             record.setResult(1);
         }
@@ -117,11 +117,11 @@
         }
         // 璁板綍璇锋眰鍙傛暟
         if (ol.param() && request != null) {
-            record.setRequest(Utils.sub(getParams(joinPoint, request), MAX_LENGTH));
+            record.setRequest(CommonUtils.sub(getParams(joinPoint, request), MAX_LENGTH));
         }
         // 璁板綍璇锋眰缁撴灉
         if (ol.result() && result != null) {
-            record.setResponse(Utils.sub(JSON.toJSONString(result), MAX_LENGTH));
+            record.setResponse(CommonUtils.sub(JSON.toJSONString(result), MAX_LENGTH));
         }
         operationRecordService.saveAsync(record);
     }
@@ -154,7 +154,7 @@
 
         Map<String, String[]> map = Collections.unmodifiableMap(request.getParameterMap());
         for (Map.Entry<String, String[]> entry : map.entrySet()) {
-            paramsMap.put(entry.getKey(), Utils.join(entry.getValue(), ","));
+            paramsMap.put(entry.getKey(), CommonUtils.join(entry.getValue(), ","));
         }
 
         if (paramsMap.keySet().size() > 0) {

--
Gitblit v1.9.1