From 75ffb97146a0a15d76ae4603ccf328eb9716d798 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Mon, 22 Dec 2025 16:29:51 +0800
Subject: [PATCH] refactor(utils): 更新异常类导入路径并添加JSON依赖

---
 src/main/java/com/xcong/excoin/configurations/interceptor/MybatisInterceptor.java |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/configurations/interceptor/MybatisInterceptor.java b/src/main/java/com/xcong/excoin/configurations/interceptor/MybatisInterceptor.java
index f7b0c87..5e69b7a 100644
--- a/src/main/java/com/xcong/excoin/configurations/interceptor/MybatisInterceptor.java
+++ b/src/main/java/com/xcong/excoin/configurations/interceptor/MybatisInterceptor.java
@@ -27,10 +27,7 @@
     @Override
     public Object intercept(Invocation invocation) throws Throwable {
         MappedStatement mappedStatement = (MappedStatement) invocation.getArgs()[0];
-        String sqlId = mappedStatement.getId();
-        log.info("----sqlId----" + sqlId);
         SqlCommandType sqlCommandType = mappedStatement.getSqlCommandType();
-        log.info("-------------->{}", sqlCommandType);
 
         Object parameter = invocation.getArgs()[1];
         if (parameter == null) {
@@ -75,7 +72,7 @@
     }
 
     public void injectForInsert(Object o) {
-        MemberEntity member = LoginUserUtils.getAppLoginUser();
+        MemberEntity member = LoginUserUtils.getUser();
         if (o instanceof BaseEntity) {
             BaseEntity baseEntity = (BaseEntity) o;
             if (member != null) {
@@ -92,7 +89,7 @@
     }
 
     public void injectForUpdate(Object o) {
-        MemberEntity member = LoginUserUtils.getAppLoginUser();
+        MemberEntity member = LoginUserUtils.getUser();
         if (o instanceof BaseEntity) {
             BaseEntity baseEntity = (BaseEntity) o;
             if (member != null) {

--
Gitblit v1.9.1