null체크

This commit is contained in:
2025-03-27 13:54:58 +09:00
parent c5b0cd9b9d
commit 0fbfdd906b

View File

@@ -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())