alsmanager_lib 2.0.53 → 2.0.54
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.
- package/lib/modules.js +4 -4
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -2508,7 +2508,7 @@ function queryDeviceByIdSQLite(id_device) {
|
|
|
2508
2508
|
query += "d.manifacturer as Marca, d.model as Modello, ";
|
|
2509
2509
|
query += "d.inv_ict3_number as Inventario, d.serial_no, ";
|
|
2510
2510
|
query += "d.inv_tn_number, d.inv_pnrr_number, d.inv_tndigit_number, ";
|
|
2511
|
-
query += "d.note from devices d ";
|
|
2511
|
+
query += "d.note, d.num_objects from devices d ";
|
|
2512
2512
|
query += "where d.id = " + id_device;
|
|
2513
2513
|
return query;
|
|
2514
2514
|
}
|
|
@@ -2517,7 +2517,7 @@ function queryDeviceByIdMySQL(id_device) {
|
|
|
2517
2517
|
query += "d.manifacturer as Marca, d.model as Modello, ";
|
|
2518
2518
|
query += "d.inv_ict3_number as Inventario, d.serial_no, ";
|
|
2519
2519
|
query += "d.inv_tn_number, d.inv_pnrr_number, d.inv_tndigit_number, ";
|
|
2520
|
-
query += "d.note from devices d ";
|
|
2520
|
+
query += "d.note, d.num_objects from devices d ";
|
|
2521
2521
|
query += "where d.id = :id_device";
|
|
2522
2522
|
return query;
|
|
2523
2523
|
}
|
|
@@ -2542,7 +2542,7 @@ function queryDeviceByIdentificativoSQLite(identificativo) {
|
|
|
2542
2542
|
query += "d.manifacturer as Marca, d.model as Modello, ";
|
|
2543
2543
|
query += "d.inv_ict3_number as Inventario, d.serial_no, ";
|
|
2544
2544
|
query += "d.inv_tn_number, d.inv_pnrr_number, d.inv_tndigit_number, ";
|
|
2545
|
-
query += "d.note from devices d ";
|
|
2545
|
+
query += "d.note, d.num_objects from devices d ";
|
|
2546
2546
|
query += "where (d.inv_ict3_number = '" + identificativo + "' or ";
|
|
2547
2547
|
query += "d.serial_no = '" + identificativo + "' or ";
|
|
2548
2548
|
query += "d.inv_tndigit_number = '" + identificativo + "' or ";
|
|
@@ -2555,7 +2555,7 @@ function queryDeviceByIdentificativoMySQL(identificativo) {
|
|
|
2555
2555
|
query += "d.manifacturer as Marca, d.model as Modello, ";
|
|
2556
2556
|
query += "d.inv_ict3_number as Inventario, d.serial_no, ";
|
|
2557
2557
|
query += "d.inv_tn_number, d.inv_pnrr_number, d.inv_tndigit_number, ";
|
|
2558
|
-
query += "d.note from devices d ";
|
|
2558
|
+
query += "d.note, d.num_objects from devices d ";
|
|
2559
2559
|
query += "where (d.inv_ict3_number = :identificativo or ";
|
|
2560
2560
|
query += "d.serial_no = :identificativo or ";
|
|
2561
2561
|
query += "d.inv_tndigit_number = :identificativo or ";
|