Browse Source

优化用户信息

tags/正式3.13.3
王宁 1 year ago
parent
commit
eb63753906

+ 5
- 1
suser/src/main/java/com/xhkjedu/suser/service/system/UserService.java View File

@@ -247,7 +247,11 @@ public class UserService extends JedisUtil {
247 247
         ResultVo resultVo = null;
248 248
         String loginpwd = user.getLoginpwd();
249 249
         setLoginPwd(user);
250
-        String mac = user.getMac().toUpperCase();
250
+        String mac = "";
251
+        if(N_Utils.isNotEmpty(user.getMac())){
252
+            mac = user.getMac().toUpperCase();
253
+        }
254
+
251 255
         user.setMac(mac);
252 256
         UserVo userVo = userMapper.getUserByLoginnameMac(user.getLoginname(), mac);
253 257
 

Loading…
Cancel
Save