From cbb4c7fe0b94459162ad5e998bc05cd293e0ff96 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Mon, 11 Aug 2025 09:02:00 +0000 Subject: (대표님) 입찰, EDP 변경사항 대응, spreadJS 오류 수정, 벤더실사 수정 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pq/helper.ts | 2 -- lib/pq/service.ts | 3 --- 2 files changed, 5 deletions(-) (limited to 'lib/pq') diff --git a/lib/pq/helper.ts b/lib/pq/helper.ts index efd50714..81ee5db2 100644 --- a/lib/pq/helper.ts +++ b/lib/pq/helper.ts @@ -38,7 +38,6 @@ export function createPQFilterMapping(): CustomColumnMapping { // 실사 관련 evaluationResult: { table: vendorInvestigations, column: "evaluationResult" }, - evaluationType: { table: vendorInvestigations, column: "evaluationType" }, investigationStatus: { table: vendorInvestigations, column: "investigationStatus" }, investigationAddress: { table: vendorInvestigations, column: "investigationAddress" }, qmManagerId: { table: vendorInvestigations, column: "qmManagerId" }, @@ -88,7 +87,6 @@ export function createPQDirectColumnMapping(): CustomColumnMapping { // 실사 관련 evaluationResult: vendorInvestigations.evaluationResult, - evaluationType: vendorInvestigations.evaluationType, investigationStatus: vendorInvestigations.investigationStatus, investigationAddress: vendorInvestigations.investigationAddress, qmManagerId: vendorInvestigations.qmManagerId, diff --git a/lib/pq/service.ts b/lib/pq/service.ts index ac1b9e87..ba0ce3c5 100644 --- a/lib/pq/service.ts +++ b/lib/pq/service.ts @@ -1869,7 +1869,6 @@ export async function getPQSubmissions(input: GetPQSubmissionsSchema) { .select({ id: vendorInvestigations.id, investigationStatus: vendorInvestigations.investigationStatus, - evaluationType: vendorInvestigations.evaluationType, investigationAddress: vendorInvestigations.investigationAddress, investigationMethod: vendorInvestigations.investigationMethod, scheduledStartAt: vendorInvestigations.scheduledStartAt, @@ -2398,7 +2397,6 @@ export async function rejectPQAction({ export async function requestInvestigationAction( pqSubmissionIds: number[], data: { - evaluationType: "PURCHASE_SELF_EVAL" | "DOCUMENT_EVAL" | "PRODUCT_INSPECTION" | "SITE_VISIT_EVAL", qmManagerId: number, forecastedAt: Date, investigationAddress: string, @@ -2441,7 +2439,6 @@ export async function requestInvestigationAction( vendorId: pq.vendorId, pqSubmissionId: pq.id, investigationStatus: "PLANNED" as const, // enum 타입으로 명시적 지정 - evaluationType: data.evaluationType, qmManagerId: data.qmManagerId, forecastedAt: data.forecastedAt, investigationAddress: data.investigationAddress, -- cgit v1.2.3