From 34e78bde84bcb12f12114de2f327c26997fbf897 Mon Sep 17 00:00:00 2001 From: llopis15 Date: Mon, 15 Mar 2021 11:43:31 +0100 Subject: [PATCH 1/2] refactoring --- bindTicketShelving.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/bindTicketShelving.js b/bindTicketShelving.js index 0c3b42d..81ef818 100644 --- a/bindTicketShelving.js +++ b/bindTicketShelving.js @@ -6,8 +6,6 @@ var barcode = "A0A3B820690F"; var shelving = "BCD";///introducida por el usuario var collectionFk = '254'; - - function ticketCollection(collectionFk){//parametro collectionFk select.select(collectionFk, function(err,data){ if(filter.filterShelving(shelving)){ From 28feb493ccd6bffae9837d80dbb8eb96e945e330 Mon Sep 17 00:00:00 2001 From: llopis15 Date: Mon, 15 Mar 2021 11:43:42 +0100 Subject: [PATCH 2/2] refactoring --- bindShelvingTag.js | 2 +- insertTicket.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bindShelvingTag.js b/bindShelvingTag.js index 45d16eb..b6db2fe 100644 --- a/bindShelvingTag.js +++ b/bindShelvingTag.js @@ -10,7 +10,7 @@ function bindShelvingTag(barcode, shelving, level){ insertShelving.insertShelving(shelving, level); insertDB.insertDB(barcode, shelving, level); }else{ - console.log("¡MATRICULA INCORRECTA!") + console.log("¡MATRICULA INCORRECTA!") } }else{ console.log("¡CODIGO DE ETIQUETA INCORRECTO!") diff --git a/insertTicket.js b/insertTicket.js index 34824fc..423dcde 100644 --- a/insertTicket.js +++ b/insertTicket.js @@ -8,7 +8,6 @@ function insertTicket(consultaSql, shelving){ (async() => { for(var i=0;i