Modified the SQL query, error now on the procedure
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
586af16392
commit
a7e874ed0d
|
@ -44,7 +44,7 @@ module.exports = Self => {
|
||||||
|
|
||||||
Self.collectionMissingTrash = async(saleId, quantity, isTrash, warehouseId, newQuantity) => {
|
Self.collectionMissingTrash = async(saleId, quantity, isTrash, warehouseId, newQuantity) => {
|
||||||
let params = [saleId, quantity, isTrash, warehouseId, newQuantity];
|
let params = [saleId, quantity, isTrash, warehouseId, newQuantity];
|
||||||
const query = `CALL vn.collection_missingTrash(?,?,?,?,?)`;
|
const query = `CALL vn.collection_missingTrash(?)`;
|
||||||
const [result] = await Self.rawSql(query, [params]);
|
const [result] = await Self.rawSql(query, [params]);
|
||||||
return result;
|
return result;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue