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.
- package/lib/modules.js +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;
|