alsmanager_lib 2.0.92 → 2.0.93
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
|
@@ -11389,9 +11389,9 @@ function insertPCToTemplateFromIdDeviceSQLite(id_device) {
|
|
|
11389
11389
|
query += "and (select count(*) from tpl_model_pc where device_type = d.type ";
|
|
11390
11390
|
query += "and device_manifacturer = d.manifacturer ";
|
|
11391
11391
|
query += "and device_model = d.model ";
|
|
11392
|
-
query += "and CPU =
|
|
11393
|
-
query += "and CPU_Arch =
|
|
11394
|
-
query += "and RAM_GB =
|
|
11392
|
+
query += "and CPU = dp.CPU ";
|
|
11393
|
+
query += "and CPU_Arch = dp.CPU_Arch ";
|
|
11394
|
+
query += "and RAM_GB = dp.RAM_GB) = 0";
|
|
11395
11395
|
return query;
|
|
11396
11396
|
}
|
|
11397
11397
|
|
|
@@ -11403,9 +11403,9 @@ function insertPCToTemplateFromIdDeviceMySQL(id_device) {
|
|
|
11403
11403
|
query += "and (select count(*) from tpl_model_pc where device_type = d.type ";
|
|
11404
11404
|
query += "and device_manifacturer = d.manifacturer ";
|
|
11405
11405
|
query += "and device_model = d.model ";
|
|
11406
|
-
query += "and CPU =
|
|
11407
|
-
query += "and CPU_Arch =
|
|
11408
|
-
query += "and RAM_GB =
|
|
11406
|
+
query += "and CPU = dp.CPU ";
|
|
11407
|
+
query += "and CPU_Arch = dp.CPU_Arch ";
|
|
11408
|
+
query += "and RAM_GB = dp.RAM_GB) = 0";
|
|
11409
11409
|
return query;
|
|
11410
11410
|
}
|
|
11411
11411
|
function insertPCToTemplateFromIdDevice(db_used, id_device) {
|