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)