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