alsmanager_lib 1.0.17 → 1.0.18

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
@@ -2530,7 +2530,7 @@ function getBeniConsumoByIdDeviceMySQL(id_device) {
2530
2530
  function selectDismissioniByYearSQLite(sel_year) {
2531
2531
  var query = "select id, data, descrizione from dismissioni ";
2532
2532
  if (sel_year && sel_year > 0) {
2533
- query += "where data >= concat(" + sel_year + ", '-01-01') && data <= concat(" + sel_year + ", '-12-31')";
2533
+ query += "where data >= concat(" + sel_year + ", '-01-01') and data <= concat(" + sel_year + ", '-12-31')";
2534
2534
  }
2535
2535
  return query;
2536
2536
  }
@@ -2538,7 +2538,7 @@ function selectDismissioniByYearSQLite(sel_year) {
2538
2538
  function selectDismissioniByYearMySQL(sel_year) {
2539
2539
  var query = "select id, data, descrizione from dismissioni ";
2540
2540
  if (sel_year && sel_year > 0) {
2541
- query += "where data >= concat(:sel_year, '-01-01') && data <= concat(:sel_year, '-12-31')";
2541
+ query += "where data >= concat(:sel_year, '-01-01') and data <= concat(:sel_year, '-12-31')";
2542
2542
  }
2543
2543
  return query;
2544
2544
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alsmanager_lib",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "Funzioni per ALSManager",
5
5
  "license": "ISC",
6
6
  "author": "Luca Cattani",