alsmanager_lib 3.0.132 → 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.
Files changed (2) hide show
  1. package/lib/modules.js +2 -2
  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.id_device = " + id_device;
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.id_device = :id_device";
7282
+ query += "where dc.id_bene = :id_device";
7283
7283
  return query;
7284
7284
  }
7285
7285
 
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.132",
7
+ "version": "3.0.133",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",