alsmanager_lib 3.0.6 → 3.0.7

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
@@ -7289,7 +7289,7 @@ function selectDeviceInDepositoSQLite(inv_code) {
7289
7289
  query += " join site_destinations sd on sd.id_site = s.id"
7290
7290
  query += " where (inv_ict3_number = '" + inv_code + "' or ";
7291
7291
  query += "inv_tn_number = '" + inv_code + "' or ";
7292
- query += "serial_no like '" + inv_code + "%' or ";
7292
+ //query += "serial_no like '" + inv_code + "%' or ";
7293
7293
  query += "inv_pnrr_number = '" + inv_code + "') and ";
7294
7294
  query += "sd.type = 'MAGAZZINO'";
7295
7295
  return query;
@@ -7309,7 +7309,7 @@ function selectDeviceInDepositoMySQL(inv_code) {
7309
7309
  query += " join site_destinations sd on sd.id_site = s.id"
7310
7310
  query += " where (inv_ict3_number = :inv_code or ";
7311
7311
  query += "inv_tn_number = :inv_code or ";
7312
- query += "serial_no like ':inv_code%' or ";
7312
+ //query += "serial_no like ':inv_code%' or ";
7313
7313
  query += "inv_pnrr_number = :inv_code) and ";
7314
7314
  query += "sd.type = 'MAGAZZINO'";
7315
7315
  return query;
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.6",
7
+ "version": "3.0.7",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",