|
@@ -101,6 +101,10 @@ public class JySceneUserAuthServiceImpl extends ServiceImpl<IJySceneUserAuthMapp
|
|
|
if(StringUtils.isNotBlank(param.getRyNo())){
|
|
|
loginUser = jyUserService.getByRyNo(param.getRyNo());
|
|
|
}
|
|
|
+ if(loginUser != null){
|
|
|
+ SysUser byId = sysUserService.getById(loginUser.getSysUserId());
|
|
|
+ sysRoleId = byId.getRoleId();
|
|
|
+ }
|
|
|
}
|
|
|
if(loginUser == null){
|
|
|
throw new BusinessException(ResultCode.USER_NOT_EXIST);
|