alsmanager_lib 3.0.170 → 3.0.172
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 +8 -8
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -6624,11 +6624,11 @@ function queryDeviceTypes() {
|
|
|
6624
6624
|
function getDevicesNotAllocatedComboSQLite(id_site, id_place, sel_type, sel_maker, ordered_by) {
|
|
6625
6625
|
var sel_type_str = "";
|
|
6626
6626
|
if (sel_type) {
|
|
6627
|
-
sel_type_str = sel_type;
|
|
6627
|
+
sel_type_str = sel_type.toString();
|
|
6628
6628
|
}
|
|
6629
6629
|
var sel_maker_str = "";
|
|
6630
6630
|
if (sel_maker) {
|
|
6631
|
-
sel_maker_str = sel_maker;
|
|
6631
|
+
sel_maker_str = sel_maker.toString();
|
|
6632
6632
|
}
|
|
6633
6633
|
var query = "SELECT d.id, d.type as Tipo, d.manifacturer as Marca, d.model as Modello, ";
|
|
6634
6634
|
query += "case ";
|
|
@@ -6666,11 +6666,11 @@ function getDevicesNotAllocatedComboSQLite(id_site, id_place, sel_type, sel_make
|
|
|
6666
6666
|
function getDevicesNotAllocatedComboMySQL(id_site, id_place, sel_type, sel_maker,ordered_by) {
|
|
6667
6667
|
var sel_type_str = "";
|
|
6668
6668
|
if (sel_type) {
|
|
6669
|
-
sel_type_str = sel_type;
|
|
6669
|
+
sel_type_str = sel_type.toString();
|
|
6670
6670
|
}
|
|
6671
6671
|
var sel_maker_str = "";
|
|
6672
6672
|
if (sel_maker) {
|
|
6673
|
-
sel_maker_str = sel_maker;
|
|
6673
|
+
sel_maker_str = sel_maker.toString();
|
|
6674
6674
|
}
|
|
6675
6675
|
var query = "SELECT d.id, d.type as Tipo, d.manifacturer as Marca, d.model as Modello, ";
|
|
6676
6676
|
query += "case ";
|
|
@@ -6769,11 +6769,11 @@ function getDevicesNotAllocatedCombo(db_used, id_site, id_place, sel_type, sel_m
|
|
|
6769
6769
|
function getDevicesAllocatedComboSQLite(id_site, id_place, sel_type, sel_maker, ordered_by) {
|
|
6770
6770
|
var sel_type_str = "";
|
|
6771
6771
|
if (sel_type) {
|
|
6772
|
-
sel_type_str = sel_type;
|
|
6772
|
+
sel_type_str = sel_type.toString();
|
|
6773
6773
|
}
|
|
6774
6774
|
var sel_maker_str = "";
|
|
6775
6775
|
if (sel_maker) {
|
|
6776
|
-
sel_maker_str = sel_maker;
|
|
6776
|
+
sel_maker_str = sel_maker.toString();
|
|
6777
6777
|
}
|
|
6778
6778
|
|
|
6779
6779
|
var query = "SELECT d.id, d.type as Tipo, d.manifacturer as Marca, d.model as Modello, ";
|
|
@@ -6808,11 +6808,11 @@ function getDevicesAllocatedComboSQLite(id_site, id_place, sel_type, sel_maker,
|
|
|
6808
6808
|
function getDevicesAllocatedComboMySQL(id_site, id_place, sel_type, sel_maker, ordered_by) {
|
|
6809
6809
|
var sel_type_str = "";
|
|
6810
6810
|
if (sel_type) {
|
|
6811
|
-
sel_type_str = sel_type;
|
|
6811
|
+
sel_type_str = sel_type.toString();
|
|
6812
6812
|
}
|
|
6813
6813
|
var sel_maker_str = "";
|
|
6814
6814
|
if (sel_maker) {
|
|
6815
|
-
sel_maker_str = sel_maker;
|
|
6815
|
+
sel_maker_str = sel_maker.toString();
|
|
6816
6816
|
}
|
|
6817
6817
|
var query = "SELECT d.id, d.type as Tipo, d.manifacturer as Marca, d.model as Modello, ";
|
|
6818
6818
|
query += "case ";
|