ownertypcode 확인

This commit is contained in:
2026-01-16 15:46:51 +09:00
parent f154f494a6
commit c3b588c03d

View File

@@ -205,6 +205,8 @@ class NaverService
} }
} }
$ownerTypeRaw = ownerTypeRaw ?? null;
$vrfc_params = [ $vrfc_params = [
'reqSeq' => '', 'reqSeq' => '',
'atcl_no' => $articleInfo['articleNumber'], 'atcl_no' => $articleInfo['articleNumber'],
@@ -307,20 +309,20 @@ class NaverService
'reference_file_url_yn' => empty($referenceFileUrl) ? 'N' : 'Y', 'reference_file_url_yn' => empty($referenceFileUrl) ? 'N' : 'Y',
'registerBookUniqueNo' => null, // 검증 참고란 'registerBookUniqueNo' => null, // 검증 참고란
'relationSellerAndOwner' => null, // 의뢰인과 소유주 관계 'relationSellerAndOwner' => null, // 의뢰인과 소유주 관계
'ownerTypeCode' => getOwnerTypeCodeNo($articleInfo['seller']['ownerTypeCode']) ?? null, // 소유자구분코드 'ownerTypeCode' => getOwnerTypeCodeNo($ownerTypeRaw) ?? null, // 소유자구분코드
'registerBookUniqueNumber' => null, // 등기부 고유번호 'registerBookUniqueNumber' => null, // 등기부 고유번호
]; ];
$article_info_etc_param = [ $article_info_etc_param = [
'corp_own' => $articleInfo['seller']['ownerTypeCode'] == 'CORP' ? 'Y' : 'N', 'corp_own' => $ownerTypeRaw == 'CORP' ? 'Y' : 'N',
'bild_no' => null, // 건물번호 'bild_no' => null, // 건물번호
'address2a' => $articleInfo['address']['liAddress'] ?? null, // 지번주소 'address2a' => $articleInfo['address']['liAddress'] ?? null, // 지번주소
'address2b' => $articleInfo['address']['jibunAddress'] ?? null, // 도로명주소 'address2b' => $articleInfo['address']['jibunAddress'] ?? null, // 도로명주소
'expsStartYmdt' => $articleInfo['exposureStartDateTime'] ?? null, 'expsStartYmdt' => $articleInfo['exposureStartDateTime'] ?? null,
'vrfcAutoPassYn' => $articleInfo['isAutoVerificationRequested'] === true ? 'Y' : 'N', 'vrfcAutoPassYn' => $articleInfo['isAutoVerificationRequested'] === true ? 'Y' : 'N',
'registerBookUniqueNo' => null, 'registerBookUniqueNo' => null,
'ownerTypeCode' => getOwnerTypeCodeNo($articleInfo['seller']['ownerTypeCode']) ?? null, 'ownerTypeCode' => getOwnerTypeCodeNo($ownerTypeRaw) ?? null,
'orgRepCphNo' => null, 'orgRepCphNo' => null,
'orgRepTelNo' => null,// 원중개사 대표자명 'orgRepTelNo' => null,// 원중개사 대표자명
'orgRltrNm' => null, // 원중개사 대표자명 'orgRltrNm' => null, // 원중개사 대표자명