alsmanager_lib 2.0.72 → 2.0.74
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 -6
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -2182,7 +2182,8 @@ function updateDisplayPartPropertiesSQLite(id_device, dev_prop) {
|
|
|
2182
2182
|
query += "touch = " + dev_prop.touch + ", ";
|
|
2183
2183
|
query += "size_inch = " + dev_prop.size + ", ";
|
|
2184
2184
|
query += "format = '" + dev_prop.format + "', ";
|
|
2185
|
-
query += "technology = '" + dev_prop.
|
|
2185
|
+
query += "technology = '" + dev_prop.technology + "', ";
|
|
2186
|
+
query += "is_removable = " + dev_prop.is_removable + " ";
|
|
2186
2187
|
query += "where id_device = " + id_device;
|
|
2187
2188
|
return query;
|
|
2188
2189
|
}
|
|
@@ -2193,7 +2194,8 @@ function updateDisplayPartPropertiesMySQL() {
|
|
|
2193
2194
|
query += "touch = :touch, ";
|
|
2194
2195
|
query += "size_inch = :size, ";
|
|
2195
2196
|
query += "format = :format, ";
|
|
2196
|
-
query += "technology = :
|
|
2197
|
+
query += "technology = :technology, ";
|
|
2198
|
+
query += "is_removable = :is_removable ";
|
|
2197
2199
|
query += "where id_device = :id_device";
|
|
2198
2200
|
return query;
|
|
2199
2201
|
}
|
|
@@ -2291,12 +2293,12 @@ function createDisplayPropertiesMySQLObj(id_device, dev_prop) {
|
|
|
2291
2293
|
}
|
|
2292
2294
|
|
|
2293
2295
|
function insertDisplayPropertiesSQLite(id_device, dev_prop) {
|
|
2294
|
-
var query = "insert into device_monitor (id_device, touch, size_inch, format,
|
|
2296
|
+
var query = "insert into device_monitor (id_device, touch, size_inch, format, technology) values ";
|
|
2295
2297
|
query += "(" + id_device + ", " + dev_prop.touch + ", " + dev_prop.size + ", '" + dev_prop.format + "', '" + dev_prop.technology + "')";
|
|
2296
2298
|
return query;
|
|
2297
2299
|
}
|
|
2298
2300
|
function insertDisplayPropertiesMySQL() {
|
|
2299
|
-
var query = "insert into device_monitor (id_device, touch, size_inch, format,
|
|
2301
|
+
var query = "insert into device_monitor (id_device, touch, size_inch, format, technology) values ";
|
|
2300
2302
|
query += "(:id_device, :touch, :size, :format, :technology)";
|
|
2301
2303
|
return query;
|
|
2302
2304
|
}
|
|
@@ -2324,7 +2326,7 @@ function updateDisplayPropertiesSQLite(id_device, dev_prop) {
|
|
|
2324
2326
|
query += "touch = " + dev_prop.touch + ", ";
|
|
2325
2327
|
query += "size_inch = " + dev_prop.size + ", ";
|
|
2326
2328
|
query += "format = '" + dev_prop.format + "', ";
|
|
2327
|
-
query += "technology = '" + dev_prop.
|
|
2329
|
+
query += "technology = '" + dev_prop.technology + "' ";
|
|
2328
2330
|
query += "where id_device = " + id_device;
|
|
2329
2331
|
return query;
|
|
2330
2332
|
}
|
|
@@ -2335,7 +2337,7 @@ function updateDisplayPropertiesMySQL() {
|
|
|
2335
2337
|
query += "touch = :touch, ";
|
|
2336
2338
|
query += "size_inch = :size, ";
|
|
2337
2339
|
query += "format = :format, ";
|
|
2338
|
-
query += "technology = :
|
|
2340
|
+
query += "technology = :technology ";
|
|
2339
2341
|
query += "where id_device = :id_device";
|
|
2340
2342
|
return query;
|
|
2341
2343
|
}
|