alsmanager_lib 3.0.127 → 3.0.128

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/modules.js +6 -6
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -3547,7 +3547,7 @@ function queryDeviceByIdSQLite(id_device) {
3547
3547
  query += "d.manifacturer as Marca, d.model as Modello, ";
3548
3548
  query += "d.inv_ict3_number as Inventario, d.serial_no, ";
3549
3549
  query += "d.inv_tn_number, d.inv_pnrr_number, d.inv_tndigit_number, ";
3550
- query += "d.note, d.num_objects, d.no_inventario from devices d ";
3550
+ query += "d.note, d.num_objects, d.no_inventario, d.peso_g from devices d ";
3551
3551
  query += "where d.id = " + id_device;
3552
3552
  return query;
3553
3553
  }
@@ -3556,7 +3556,7 @@ function queryDeviceByIdMySQL(id_device) {
3556
3556
  query += "d.manifacturer as Marca, d.model as Modello, ";
3557
3557
  query += "d.inv_ict3_number as Inventario, d.serial_no, ";
3558
3558
  query += "d.inv_tn_number, d.inv_pnrr_number, d.inv_tndigit_number, ";
3559
- query += "d.note, d.num_objects, d.no_inventario from devices d ";
3559
+ query += "d.note, d.num_objects, d.no_inventario, d.peso_g from devices d ";
3560
3560
  query += "where d.id = :id_device";
3561
3561
  return query;
3562
3562
  }
@@ -3589,7 +3589,7 @@ function queryDeviceForConsegneByIdSQLite(id_device) {
3589
3589
  query += "when d.serial_no != '' and d.serial_no is not null then concat(d.serial_no,'(S/N)') ";
3590
3590
  query += "else concat(d.id, '(ID)') "
3591
3591
  query += "end as Codice, ";
3592
- query += "d.note, d.num_objects, d.no_inventario from devices d ";
3592
+ query += "d.note, d.num_objects, d.no_inventario, d.peso_g from devices d ";
3593
3593
  query += "where d.id = " + id_device;
3594
3594
  return query;
3595
3595
  }
@@ -3604,7 +3604,7 @@ function queryDeviceForConsegneByIdMySQL(id_device) {
3604
3604
  query += "when d.serial_no != '' and d.serial_no is not null then concat(d.serial_no,'(S/N)') ";
3605
3605
  query += "else concat(d.id, '(ID)') "
3606
3606
  query += "end as Codice, ";
3607
- query += "d.note, d.num_objects, d.no_inventario from devices d ";
3607
+ query += "d.note, d.num_objects, d.no_inventario, d.peso_g from devices d ";
3608
3608
  query += "where d.id = :id_device";
3609
3609
  return query;
3610
3610
  }
@@ -3636,7 +3636,7 @@ function queryDeviceByIdentificativoSQLite(identificativo) {
3636
3636
  query += "d.manifacturer as Marca, d.model as Modello, ";
3637
3637
  query += "d.inv_ict3_number as Inventario, d.serial_no, ";
3638
3638
  query += "d.inv_tn_number, d.inv_pnrr_number, d.inv_tndigit_number, ";
3639
- query += "d.note, d.num_objects, d.no_inventario from devices d ";
3639
+ query += "d.note, d.num_objects, d.no_inventario, d.peso_g from devices d ";
3640
3640
  query += "where (d.inv_ict3_number = '" + identificativo + "' or ";
3641
3641
  query += "d.serial_no = '" + identificativo + "' or ";
3642
3642
  query += "d.inv_tndigit_number = '" + identificativo + "' or ";
@@ -3649,7 +3649,7 @@ function queryDeviceByIdentificativoMySQL(identificativo) {
3649
3649
  query += "d.manifacturer as Marca, d.model as Modello, ";
3650
3650
  query += "d.inv_ict3_number as Inventario, d.serial_no, ";
3651
3651
  query += "d.inv_tn_number, d.inv_pnrr_number, d.inv_tndigit_number, ";
3652
- query += "d.note, d.num_objects, d.no_inventario from devices d ";
3652
+ query += "d.note, d.num_objects, d.no_inventario, d.peso_g from devices d ";
3653
3653
  query += "where (d.inv_ict3_number = :identificativo or ";
3654
3654
  query += "d.serial_no = :identificativo or ";
3655
3655
  query += "d.inv_tndigit_number = :identificativo or ";
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  ".": "./lib/modules.js",
5
5
  "./dbconn": "./lib/dbconn.js"
6
6
  },
7
- "version": "3.0.127",
7
+ "version": "3.0.128",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",