From 10760e77f245d3bdc421197cdf2383b92ae09f9b Mon Sep 17 00:00:00 2001 From: jusax23 Date: Wed, 5 Apr 2023 19:28:41 +0200 Subject: [PATCH] fix data error --- src/api/acts/roomContent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/acts/roomContent.ts b/src/api/acts/roomContent.ts index 5e8fbff..9984b3c 100644 --- a/src/api/acts/roomContent.ts +++ b/src/api/acts/roomContent.ts @@ -634,7 +634,7 @@ export const addItem: Act = { data.listCatID != null ? data.listCatID : null, data.unit, data.value, - data.listProdID != null ? data.parent : null, + data.listProdID != null ? data.listProdID : null, ).query(db); if (req.affectedRows > 0) aws("ok", { listItemID: Number(req.insertId)