alsmanager_lib 3.0.131 → 3.0.133
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 +3 -2
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -7262,7 +7262,7 @@ function queryConsegneByIdDeviceSQLite(id_device) {
|
|
|
7262
7262
|
//query += "c.note as Note from device_consegne dc ";
|
|
7263
7263
|
query += "c.note as Note from consegna_beni dc ";
|
|
7264
7264
|
query += "inner join consegne c on c.id = dc.id_consegna ";
|
|
7265
|
-
query += "where dc.
|
|
7265
|
+
query += "where dc.id_bene = " + id_device;
|
|
7266
7266
|
return query;
|
|
7267
7267
|
}
|
|
7268
7268
|
|
|
@@ -7279,7 +7279,7 @@ function queryConsegneByIdDeviceMySQL(id_device) {
|
|
|
7279
7279
|
//query += "c.note as Note from device_consegne dc ";
|
|
7280
7280
|
query += "c.note as Note from consegna_beni dc ";
|
|
7281
7281
|
query += "inner join consegne c on c.id = dc.id_consegna ";
|
|
7282
|
-
query += "where dc.
|
|
7282
|
+
query += "where dc.id_bene = :id_device";
|
|
7283
7283
|
return query;
|
|
7284
7284
|
}
|
|
7285
7285
|
|
|
@@ -8751,6 +8751,7 @@ function selectSoftwareConsegnaMySQL(id_consegna, id_software) {
|
|
|
8751
8751
|
return query;
|
|
8752
8752
|
}
|
|
8753
8753
|
|
|
8754
|
+
|
|
8754
8755
|
// NOT YET USED
|
|
8755
8756
|
function selectSoftwareConsegna(db_used, id_consegna, id_software) {
|
|
8756
8757
|
var query = "";
|