|
@@ -44,9 +44,12 @@ public class JySceneUserAuthServiceImpl extends ServiceImpl<IJySceneUserAuthMapp
|
|
|
throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
|
}
|
|
|
JySceneAuth jySceneAuth = jySceneAuthService.getByNum(param.getNum());
|
|
|
- if(jySceneAuth == null || jySceneAuth.getAuthType() == 0){
|
|
|
+ if(jySceneAuth == null ){
|
|
|
return new JySceneAuth(0);
|
|
|
}
|
|
|
+ if(jySceneAuth.getAuthType() ==1 ){
|
|
|
+ return jySceneAuth;
|
|
|
+ }
|
|
|
|
|
|
LambdaQueryWrapper<JySceneUserAuth> wrapper = new LambdaQueryWrapper<>();
|
|
|
wrapper.eq(JySceneUserAuth::getNum,param.getNum());
|