alsmanager_lib 1.0.93 → 1.0.94
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 +5 -3
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -1196,9 +1196,10 @@ function removeDeviceConfiguration(db_used, id_conf) {
|
|
|
1196
1196
|
return query;
|
|
1197
1197
|
}
|
|
1198
1198
|
//
|
|
1199
|
-
function insertPartChangedSQLite(id_conf, id_part, part_type, operation, id_part_replaced) {
|
|
1200
|
-
var query = "insert into change_config (id_conf, part_type, id_part, operation, id_part_replaced) values (";
|
|
1199
|
+
function insertPartChangedSQLite(id_conf, id_device, id_part, part_type, operation, id_part_replaced) {
|
|
1200
|
+
var query = "insert into change_config (id_conf, id_device, part_type, id_part, operation, id_part_replaced) values (";
|
|
1201
1201
|
query += id_conf + ", ";
|
|
1202
|
+
query += id_device + ", ";
|
|
1202
1203
|
query += "'" + part_type + "', ";
|
|
1203
1204
|
query += id_part + ", ";
|
|
1204
1205
|
query += "'" + operation + "', ";
|
|
@@ -1207,8 +1208,9 @@ function insertPartChangedSQLite(id_conf, id_part, part_type, operation, id_part
|
|
|
1207
1208
|
return query;
|
|
1208
1209
|
}
|
|
1209
1210
|
function insertPartChangedMySQL() {
|
|
1210
|
-
var query = "insert into change_config (id_conf, part_type, id_part, operation, id_part_replaced) values (";
|
|
1211
|
+
var query = "insert into change_config (id_conf, id_device, part_type, id_part, operation, id_part_replaced) values (";
|
|
1211
1212
|
query += ":id_conf, ";
|
|
1213
|
+
query += ":id_device, ";
|
|
1212
1214
|
query += ":part_type, ";
|
|
1213
1215
|
query += ":id_part, ";
|
|
1214
1216
|
query += ":operation, ";
|