diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-03 12:44:32 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-03 12:44:32 +0000 |
| commit | 688d9884ca98b50d04ac78fc1f6e28e034a519c0 (patch) | |
| tree | 95cf4572882a4d771db9443140d8cf2735d840d7 /lib/vendor-document-list/import-service.ts | |
| parent | 522176a23ad9db47f85ceed13b2e54d369aa6e0a (diff) | |
(대표님) rfq-last 작업, vendorDocu 스키마 변경, 벤더 문서 관련 변경
Diffstat (limited to 'lib/vendor-document-list/import-service.ts')
| -rw-r--r-- | lib/vendor-document-list/import-service.ts | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/vendor-document-list/import-service.ts b/lib/vendor-document-list/import-service.ts index 61670c79..135dfb3a 100644 --- a/lib/vendor-document-list/import-service.ts +++ b/lib/vendor-document-list/import-service.ts @@ -657,7 +657,8 @@ class ImportService { .from(documents) .where(and( eq(documents.projectId, projectId), - eq(documents.docNumber, dolceDoc.DrawingNo) + eq(documents.docNumber, dolceDoc.DrawingNo), + eq(documents.discipline, dolceDoc.Discipline) )) .limit(1) @@ -765,7 +766,8 @@ class ImportService { .from(documents) .where(and( eq(documents.projectId, projectId), - eq(documents.docNumber, dolceDoc.DrawingNo) + eq(documents.docNumber, dolceDoc.DrawingNo), + eq(documents.discipline, dolceDoc.Discipline), )) .limit(1) @@ -1275,7 +1277,8 @@ class ImportService { .from(documents) .where(and( eq(documents.projectId, projectId), - eq(documents.docNumber, drawingNo) + eq(documents.docNumber, drawingNo), + eq(documents.discipline, dolceDoc.Discipline) )) .limit(1) @@ -1340,7 +1343,8 @@ class ImportService { .from(documents) .where(and( eq(documents.projectId, projectId), - eq(documents.docNumber, drawingNo) + eq(documents.docNumber, drawingNo), + eq(documents.discipline, dolceDoc.Discipline) )) .limit(1) @@ -1403,7 +1407,8 @@ class ImportService { .from(documents) .where(and( eq(documents.projectId, projectId), - eq(documents.docNumber, drawingNo) + eq(documents.docNumber, drawingNo), + eq(documents.discipline, dolceDoc.Discipline) )) .limit(1) |
