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
         ResultVo resultVo = null;
247
         ResultVo resultVo = null;
248
         String loginpwd = user.getLoginpwd();
248
         String loginpwd = user.getLoginpwd();
249
         setLoginPwd(user);
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
         user.setMac(mac);
255
         user.setMac(mac);
252
         UserVo userVo = userMapper.getUserByLoginnameMac(user.getLoginname(), mac);
256
         UserVo userVo = userMapper.getUserByLoginnameMac(user.getLoginname(), mac);
253
 
257
 

Loading…
Cancel
Save