alsmanager_lib 2.0.91 → 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.
Files changed (2) hide show
  1. package/lib/modules.js +10 -10
  2. 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 = dc.CPU ";
11393
- query += "and CPU_Arch = dc.CPU_Arch ";
11394
- query += "and RAM_GB = dc.RAM_GB) = 0";
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 = dc.CPU ";
11407
- query += "and CPU_Arch = dc.CPU_Arch ";
11408
- query += "and RAM_GB = dc.RAM_GB) = 0";
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) {
@@ -11509,8 +11509,8 @@ function insertStorageToTemplateFromIdDeviceSQLite(id_device) {
11509
11509
  query += "and device_manifacturer = d.manifacturer ";
11510
11510
  query += "and device_model = d.model ";
11511
11511
  query += "and dm_storage_type = ds.storage_type ";
11512
- query += "and dm_storage_totsize = ds.CPU_Arch ";
11513
- query += "and dm_storage_size_unit = ds.RAM_GB ";
11512
+ query += "and dm_storage_totsize = ds.storage_totsize ";
11513
+ query += "and dm_storage_size_unit = ds.storage_size_unit ";
11514
11514
  query += "and dm_storage_manifacturer = ds.storage_manifacturer ";
11515
11515
  query += "and dm_storage_model = ds.storage_model) = 0";
11516
11516
  return query;
@@ -11525,8 +11525,8 @@ function insertStorageToTemplateFromIdDeviceMySQL(id_device) {
11525
11525
  query += "and device_manifacturer = d.manifacturer ";
11526
11526
  query += "and device_model = d.model ";
11527
11527
  query += "and dm_storage_type = ds.storage_type ";
11528
- query += "and dm_storage_totsize = ds.CPU_Arch ";
11529
- query += "and dm_storage_size_unit = ds.RAM_GB ";
11528
+ query += "and dm_storage_totsize = ds.storage_totsize ";
11529
+ query += "and dm_storage_size_unit = ds.storage_size_unit ";
11530
11530
  query += "and dm_storage_manifacturer = ds.storage_manifacturer ";
11531
11531
  query += "and dm_storage_model = ds.storage_model) = 0";
11532
11532
  return query;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  ".": "./lib/modules.js",
5
5
  "./dbconn": "./lib/dbconn.js"
6
6
  },
7
- "version": "2.0.91",
7
+ "version": "2.0.93",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",