|
@@ -175,9 +175,15 @@ public class JySceneUserAuthServiceImpl extends ServiceImpl<IJySceneUserAuthMapp
|
|
JyUser jyUser = null;
|
|
JyUser jyUser = null;
|
|
if(StringUtils.isNotBlank(param.getRyId()) ){
|
|
if(StringUtils.isNotBlank(param.getRyId()) ){
|
|
jyUser = jyUserService.getByRyId(param.getRyId());
|
|
jyUser = jyUserService.getByRyId(param.getRyId());
|
|
|
|
+ if(jyUser == null){
|
|
|
|
+ throw new BusinessException(ResultCode.JY_ID_NO_EXIST);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
if(StringUtils.isNotBlank(param.getRyNo()) ){
|
|
if(StringUtils.isNotBlank(param.getRyNo()) ){
|
|
jyUser = jyUserService.getByRyNo(param.getRyNo());
|
|
jyUser = jyUserService.getByRyNo(param.getRyNo());
|
|
|
|
+ if(jyUser == null){
|
|
|
|
+ throw new BusinessException(ResultCode.JY_ID_NO_EXIST);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
if(jyUser == null){
|
|
if(jyUser == null){
|
|
throw new BusinessException(ResultCode.JY_ID_NO_EXIST);
|
|
throw new BusinessException(ResultCode.JY_ID_NO_EXIST);
|