diff options
Diffstat (limited to 'lib/procurement-rfqs/services.ts')
| -rw-r--r-- | lib/procurement-rfqs/services.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/procurement-rfqs/services.ts b/lib/procurement-rfqs/services.ts index 7179b213..facdc9c9 100644 --- a/lib/procurement-rfqs/services.ts +++ b/lib/procurement-rfqs/services.ts @@ -1654,11 +1654,14 @@ export async function getVendorQuotations(input: GetQuotationsSchema, vendorId: offset, limit: perPage, with: { - rfq: true, + rfq: { + with: { + item: true, // 여기서 item 정보도 가져옴 + } + }, vendor: true, } }); - // 전체 개수 조회 const { totalCount } = await db .select({ totalCount: count() }) |
