null체크
This commit is contained in:
@@ -458,7 +458,7 @@ public class LandService {
|
||||
}
|
||||
|
||||
LandAttrib landInfo = dynamodbLandService.getLandInfo(landId);
|
||||
if(!landInfo.getOwnerUserGuid().isEmpty()){
|
||||
if(landInfo != null && !landInfo.getOwnerUserGuid().isEmpty()){
|
||||
return LandResponse.builder()
|
||||
.status(CommonCode.ERROR.getHttpStatus())
|
||||
.result(ErrorCode.ERROR_LAND_OWNER_DUPLICATION.toString())
|
||||
|
||||
Reference in New Issue
Block a user