From f1c7702e9fd1aa235523de9767bc96d1838e104f Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期三, 27 三月 2024 11:23:28 +0800
Subject: [PATCH] 打包后刷新界面获取不到本地地址问题,工艺审核界面商标打印展示

---
 north-glass-erp/src/main/java/com/example/erp/service/userInfo/UserService.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/service/userInfo/UserService.java b/north-glass-erp/src/main/java/com/example/erp/service/userInfo/UserService.java
index 6bcfea4..7bc8f6b 100644
--- a/north-glass-erp/src/main/java/com/example/erp/service/userInfo/UserService.java
+++ b/north-glass-erp/src/main/java/com/example/erp/service/userInfo/UserService.java
@@ -13,6 +13,7 @@
 import org.springframework.cache.annotation.CacheEvict;
 import org.springframework.cache.annotation.Cacheable;
 import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
 
 import java.util.List;
 
@@ -54,7 +55,7 @@
         return userMapper.getUserByID(userId);
     }
 
-
+    @Transactional
     public User register(User user) {
         User returnUser = new User();
         if(userMapper.register(user)){

--
Gitblit v1.8.0