This commit is contained in:
alexmorenograu 2021-03-15 11:45:08 +01:00
commit 15bc407801
3 changed files with 2 additions and 5 deletions

View File

@ -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!")

View File

@ -6,9 +6,7 @@ var barcode = "A0A3B820690F";
var shelving = "BCD";///introducida por el usuario O en leida de la bbdd?
var collectionFk = '254';
function ticketCollection(collectionFk, shelving){//parametro collectionFk
function ticketCollection(collectionFk){//parametro collectionFk
select.select(collectionFk, function(err,data){
if(filter.filterShelving(shelving)){
insert.insertTicket(data, shelving)

View File

@ -8,7 +8,6 @@ function insertTicket(consultaSql, shelving){
(async() => {
for(var i=0;i<consultaSql.length;i++){
for(var j=0;j<consultaSql[i].Level.toString().length;j++){
const { body } = await got.post('http://app.etiquetaselectronicas.com:9999/item/batchImportItem', {
json: {