|
@@ -50,7 +50,9 @@ public class SysProfileController extends BaseController {
|
|
|
.eq(SysUserPerson::getUserId, user.getUserId())
|
|
.eq(SysUserPerson::getUserId, user.getUserId())
|
|
|
.select(SysUserPerson::getIsLoginNotify)
|
|
.select(SysUserPerson::getIsLoginNotify)
|
|
|
.one();
|
|
.one();
|
|
|
- user.setIsLoginNotify(one.getIsLoginNotify());
|
|
|
|
|
|
|
+ if(one != null) {
|
|
|
|
|
+ user.setIsLoginNotify(one.getIsLoginNotify());
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
map.put("user", user);
|
|
map.put("user", user);
|