diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-11 09:00:38 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-11 09:00:38 +0000 |
| commit | eb654f88214095f71be142b989e620fd28db3f69 (patch) | |
| tree | aaad3074de4a6422a880b35f9e577d489b0a6c91 /lib/vendor-investigation/service.ts | |
| parent | a383fd2a30f60360ebc0c1b897b3d43cbae178fa (diff) | |
(최겸) 기술영업 변경사항 반영, PQ/실사 변경사항 반영
Diffstat (limited to 'lib/vendor-investigation/service.ts')
| -rw-r--r-- | lib/vendor-investigation/service.ts | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/vendor-investigation/service.ts b/lib/vendor-investigation/service.ts index 7c486fc9..81eabc37 100644 --- a/lib/vendor-investigation/service.ts +++ b/lib/vendor-investigation/service.ts @@ -45,7 +45,6 @@ export async function getVendorsInvestigation(input: GetVendorsInvestigationSche // 실사 정보 ilike(vendorInvestigationsView.investigationNotes, s), ilike(vendorInvestigationsView.investigationStatus, s), - ilike(vendorInvestigationsView.evaluationType, s), ilike(vendorInvestigationsView.investigationAddress, s), ilike(vendorInvestigationsView.investigationMethod, s), @@ -215,8 +214,8 @@ export async function updateVendorInvestigationAction(formData: FormData) { } // 선택적 enum 필드 - if (textEntries.evaluationType) { - processedEntries.evaluationType = textEntries.evaluationType + if (textEntries.investigationMethod) { + processedEntries.investigationMethod = textEntries.investigationMethod } // 선택적 문자열 필드 @@ -264,8 +263,8 @@ export async function updateVendorInvestigationAction(formData: FormData) { } // 선택적 필드들은 존재할 때만 추가 - if (parsed.evaluationType !== undefined) { - updateData.evaluationType = parsed.evaluationType + if (parsed.investigationMethod !== undefined) { + updateData.investigationMethod = parsed.investigationMethod } if (parsed.investigationAddress !== undefined) { updateData.investigationAddress = parsed.investigationAddress |
