hotfix 3rd parameter to null
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
659d76f022
commit
dfac44a87b
|
@ -26,8 +26,8 @@ module.exports = Self => {
|
|||
Object.assign(myOptions, options);
|
||||
|
||||
const where = filter.where;
|
||||
const query = 'CALL vn.item_getBalance(?, ?)';
|
||||
const [diary] = await Self.rawSql(query, [where.itemFk, where.warehouseFk], myOptions);
|
||||
const query = 'CALL vn.item_getBalance(?, ?, ?)';
|
||||
const [diary] = await Self.rawSql(query, [where.itemFk, where.warehouseFk, null], myOptions);
|
||||
|
||||
for (const entry of diary)
|
||||
if (entry.clientType === 'loses') entry.highlighted = true;
|
||||
|
|
Loading…
Reference in New Issue