fix data error
This commit is contained in:
parent
c46f9c8752
commit
10760e77f2
1 changed files with 1 additions and 1 deletions
|
@ -634,7 +634,7 @@ export const addItem: Act = {
|
||||||
data.listCatID != null ? data.listCatID : null,
|
data.listCatID != null ? data.listCatID : null,
|
||||||
data.unit,
|
data.unit,
|
||||||
data.value,
|
data.value,
|
||||||
data.listProdID != null ? data.parent : null,
|
data.listProdID != null ? data.listProdID : null,
|
||||||
).query(db);
|
).query(db);
|
||||||
if (req.affectedRows > 0) aws("ok", {
|
if (req.affectedRows > 0) aws("ok", {
|
||||||
listItemID: Number(req.insertId)
|
listItemID: Number(req.insertId)
|
||||||
|
|
Loading…
Reference in a new issue