From 781bb25678a196f5ca257c5778b94edbfe170ba9 Mon Sep 17 00:00:00 2001 From: llopis15 Date: Wed, 30 Jun 2021 18:16:04 +0200 Subject: [PATCH 1/2] comentado getNumShelving --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 8a2a363..8d19eb1 100644 --- a/server.js +++ b/server.js @@ -9,7 +9,7 @@ exports.dataLogIn = dataLogIn; con.con.connect(function(err) {}); -app.use('/getNumShelving', require('./methods/setCollection__')); +// app.use('/getNumShelving', require('./methods/setCollection__')); app.use('/insertTicket', require('./methods/bindTicketShelving')); // collectionFk app.use('/bindShelving', require('./methods/bindShelvingTag')); // smartTagFk, shelving, level app.use('/flashOn', require('./methods/flashOn')); From f9c23f4d0f720a80c9eb0de0313e17c13f094f3c Mon Sep 17 00:00:00 2001 From: llopis15 Date: Wed, 30 Jun 2021 19:15:19 +0200 Subject: [PATCH 2/2] =?UTF-8?q?A=C3=B1adidos=20comentarios?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- methods/bindShelvingTag.js | 6 +++--- server.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/methods/bindShelvingTag.js b/methods/bindShelvingTag.js index 07c1871..a27a768 100644 --- a/methods/bindShelvingTag.js +++ b/methods/bindShelvingTag.js @@ -53,9 +53,9 @@ async function insertShelving(shelvingId, smartTagFk) { unitName: currentUser.unitName, itemList: [ { - attrCategory: 'verdnatura', - attrName: 'sinTicket', - barCode: shelvingId, // Matricula + nivel + attrCategory: 'verdnatura', // Plantilla + attrName: 'sinTicket', // Tipo de Plantilla + barCode: shelvingId, // Matricula + nivel --> Cod.Barras artículo itemTitle: 'Etiqueta Sin ticket', qrCode: shelvingId } diff --git a/server.js b/server.js index 8d19eb1..e3107fb 100644 --- a/server.js +++ b/server.js @@ -10,8 +10,8 @@ exports.dataLogIn = dataLogIn; con.con.connect(function(err) {}); // app.use('/getNumShelving', require('./methods/setCollection__')); -app.use('/insertTicket', require('./methods/bindTicketShelving')); // collectionFk app.use('/bindShelving', require('./methods/bindShelvingTag')); // smartTagFk, shelving, level +app.use('/insertTicket', require('./methods/bindTicketShelving')); // collectionFk app.use('/flashOn', require('./methods/flashOn')); app.listen(port, () => {