|
@@ -67,6 +67,7 @@ public class CheckCurrenUserAspect {
|
|
|
|
|
|
ScenePro entity = sceneProService.findBySceneNum(sceneNum);
|
|
|
if(user == null){
|
|
|
+ log.info("user:{}", user);
|
|
|
log.info(getCheckUserMthodDescription(joinPoint));
|
|
|
log.info("不是当前用户的方法:"
|
|
|
+ (joinPoint.getTarget().getClass().getName() + "." + joinPoint.getSignature().getName() + "()"));
|
|
@@ -89,7 +90,7 @@ public class CheckCurrenUserAspect {
|
|
|
}
|
|
|
else if((user != null && entity != null) && entity.getUserId() != null && (user.getId().longValue() != entity.getUserId().longValue())){
|
|
|
SceneCooperation sceneCooperation = sceneCooperationService.getByNumAndUserId(sceneNum, user.getId());
|
|
|
- if(Objects.nonNull(sceneCooperation)){
|
|
|
+ if(Objects.isNull(sceneCooperation)){
|
|
|
log.info(getCheckUserMthodDescription(joinPoint));
|
|
|
log.info("不是当前用户的方法:"
|
|
|
+ (joinPoint.getTarget().getClass().getName() + "." + joinPoint.getSignature().getName() + "()"));
|