refactoring
This commit is contained in:
parent
34e78bde84
commit
28feb493cc
|
@ -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!")
|
||||
|
|
|
@ -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: {
|
||||
|
|
Reference in New Issue