|
@@ -215,10 +215,14 @@ public class JySceneUserAuthServiceImpl extends ServiceImpl<IJySceneUserAuthMapp
|
|
}else {
|
|
}else {
|
|
JySceneUserAuth auth = jySceneUserAuthService.getByNumAndJyUserId(jyUser.getId(), param.getNum());
|
|
JySceneUserAuth auth = jySceneUserAuthService.getByNumAndJyUserId(jyUser.getId(), param.getNum());
|
|
if(auth !=null){
|
|
if(auth !=null){
|
|
- vo.setLookAuth(auth.getCanAuthLook());
|
|
|
|
- vo.setLookEndTime(auth.getLookEndTime());
|
|
|
|
- vo.setEditAuth(auth.getCanEditLook());
|
|
|
|
- vo.setEditEndTime(auth.getEditEndTime());
|
|
|
|
|
|
+ if(auth.getCanAuthLook() == 1 ){
|
|
|
|
+ vo.setLookAuth(auth.getLookAuth());
|
|
|
|
+ vo.setLookEndTime(auth.getLookEndTime());
|
|
|
|
+ }
|
|
|
|
+ if(auth.getCanEditLook() == 1){
|
|
|
|
+ vo.setEditAuth(auth.getEditAuth());
|
|
|
|
+ vo.setEditEndTime(auth.getEditEndTime());
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return vo;
|
|
return vo;
|