alsmanager_lib 3.0.136 → 3.0.137
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
|
@@ -6370,8 +6370,8 @@ function selectBeneDaInventarioSQLite(table_name, inv_code, is_pnrr, is_dismissi
|
|
|
6370
6370
|
query += "Costo, ";
|
|
6371
6371
|
query += "Note as 'Note bene' ";
|
|
6372
6372
|
query += "from " + table_name + " imp ";
|
|
6373
|
-
query += " where trim(
|
|
6374
|
-
query += " group by
|
|
6373
|
+
query += " where trim(inv_ict3) = '" + inv_code + "'"
|
|
6374
|
+
query += " group by inv_ict3";
|
|
6375
6375
|
}
|
|
6376
6376
|
else {
|
|
6377
6377
|
query = "Select ";
|
|
@@ -6388,7 +6388,7 @@ function selectBeneDaInventarioSQLite(table_name, inv_code, is_pnrr, is_dismissi
|
|
|
6388
6388
|
query += "data_scarico as 'Data scarico', ";
|
|
6389
6389
|
query += "concat(imp.note, ' ', note_2, ' ', note_3) as note_complete ";
|
|
6390
6390
|
query += " from " + table_name + " imp ";
|
|
6391
|
-
query += " where
|
|
6391
|
+
query += " where inv_ict3 = '" + inv_code + "'";
|
|
6392
6392
|
}
|
|
6393
6393
|
}
|
|
6394
6394
|
return query;
|
|
@@ -6439,7 +6439,7 @@ function selectBeneDaInventarioMySQL(table_name, inv_code, is_pnrr, is_dismissio
|
|
|
6439
6439
|
query += "Note as 'Note bene' ";
|
|
6440
6440
|
query += "from TAB_NAME imp ";
|
|
6441
6441
|
query += " where trim(inv_ict3) = :inv_code "
|
|
6442
|
-
query += " group by
|
|
6442
|
+
query += " group by inv_ict3";
|
|
6443
6443
|
}
|
|
6444
6444
|
else {
|
|
6445
6445
|
query = "Select ";
|