From 19733df2da09135be26fe0dc2ea47ff151017cd3 Mon Sep 17 00:00:00 2001 From: SeongHyun Kim Date: Thu, 2 Apr 2026 10:08:47 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20outbound=5Fmng=20id=20NOT=20NULL=20?= =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95=20(gen=5Frandom=5Fuuid)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend-node/src/controllers/outboundController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend-node/src/controllers/outboundController.ts b/backend-node/src/controllers/outboundController.ts index 08506f66..268b8274 100644 --- a/backend-node/src/controllers/outboundController.ts +++ b/backend-node/src/controllers/outboundController.ts @@ -118,7 +118,7 @@ export async function create(req: AuthenticatedRequest, res: Response) { for (const item of items) { const result = await client.query( `INSERT INTO outbound_mng ( - company_code, outbound_number, outbound_type, outbound_date, + id, company_code, outbound_number, outbound_type, outbound_date, reference_number, customer_code, customer_name, item_code, item_name, specification, material, unit, outbound_qty, unit_price, total_amount, @@ -128,7 +128,7 @@ export async function create(req: AuthenticatedRequest, res: Response) { destination_code, delivery_destination, delivery_address, created_date, created_by, writer, status ) VALUES ( - $1, $2, $3, $4, + gen_random_uuid()::text, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15,