summaryrefslogtreecommitdiff
path: root/lib/pq
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pq')
-rw-r--r--lib/pq/helper.ts2
-rw-r--r--lib/pq/service.ts3
2 files changed, 0 insertions, 5 deletions
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,