diff options
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 |
