This commit is contained in:
parent
4927ea4ca7
commit
1063db3a2f
|
@ -51,7 +51,7 @@ module.exports = Self => {
|
||||||
const [placements] = await Self.rawSql(query, [collectionFk]);
|
const [placements] = await Self.rawSql(query, [collectionFk]);
|
||||||
|
|
||||||
query = `CALL vn.collectionSticker_print(?,?)`;
|
query = `CALL vn.collectionSticker_print(?,?)`;
|
||||||
// await Self.rawSql(query, [collectionFk, sectorFk]);
|
await Self.rawSql(query, [collectionFk, sectorFk]);
|
||||||
|
|
||||||
return makeCollection(tickets, sales, placements, collectionFk);
|
return makeCollection(tickets, sales, placements, collectionFk);
|
||||||
};
|
};
|
||||||
|
@ -61,6 +61,7 @@ module.exports = Self => {
|
||||||
* @param {*} tickets - Request tickets
|
* @param {*} tickets - Request tickets
|
||||||
* @param {*} sales - Request sales
|
* @param {*} sales - Request sales
|
||||||
* @param {*} placements - Request placements
|
* @param {*} placements - Request placements
|
||||||
|
* @param {*} collectionFk - Request placements
|
||||||
* @return {Object} Collection JSON
|
* @return {Object} Collection JSON
|
||||||
*/
|
*/
|
||||||
async function makeCollection(tickets, sales, placements, collectionFk) {
|
async function makeCollection(tickets, sales, placements, collectionFk) {
|
||||||
|
|
Loading…
Reference in New Issue