alsmanager_lib 3.0.93 → 3.0.95

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 +1 -3
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -14486,8 +14486,6 @@ function writeMapPoint(id_place, floor, id_site, x_coor, y_coor, map_scale, rang
14486
14486
 
14487
14487
  function updateMapPoint(id_point, id_site, x_coor, y_coor, map_scale, range_x, range_y) {
14488
14488
  var query = "update map_points set ";
14489
- query += "id_place = '" + id_place + "', ";
14490
- query += "floor = " + floor + ", ";
14491
14489
  query += "id_site = " + id_site + ", ";
14492
14490
  query += "point_x = " + x_coor + ", ";
14493
14491
  query += "point_y = " + y_coor + ", ";
@@ -14517,7 +14515,7 @@ function removeMapPointByPlace(id_place, floor) {
14517
14515
  function queryMapPointsByPlaceAndFloor(id_place, floor, map_scale) {
14518
14516
  var query = "select m.id, sd.name, sd.type, m.point_x, m.point_y, m.range_x, m.range_y from map_points m ";
14519
14517
  query += "join site_destinations sd on sd.id_site = m.id_site ";
14520
- query += "where m.id_place = " + id_place + " ";
14518
+ query += "where m.id_place = '" + id_place + "' ";
14521
14519
  query += "and m.floor = " + floor + " ";
14522
14520
  query += "and m.map_scale = " + map_scale + " ";
14523
14521
  query += "order by sd.name";
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.93",
7
+ "version": "3.0.95",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",