alsmanager_lib 1.0.54 → 1.0.55
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 +2 -2
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -7126,7 +7126,7 @@ function getBenchmarkById(db_used, id_device) {
|
|
|
7126
7126
|
}
|
|
7127
7127
|
|
|
7128
7128
|
function getBenchmarkPercentageByIdSQLite(id_device) {
|
|
7129
|
-
var query = "select ";
|
|
7129
|
+
var query = "select id_device, total_ref, evaluation_perfs, ";
|
|
7130
7130
|
query += "case ";
|
|
7131
7131
|
query += "when total_ref is not null and total_ref > 0 then (evaluation_perfs/total_ref) * 100 ";
|
|
7132
7132
|
query += "else 0 ";
|
|
@@ -7136,7 +7136,7 @@ function getBenchmarkPercentageByIdSQLite(id_device) {
|
|
|
7136
7136
|
}
|
|
7137
7137
|
|
|
7138
7138
|
function getBenchmarkPercentageByIdMySQL(id_device) {
|
|
7139
|
-
var query = "select ";
|
|
7139
|
+
var query = "select id_device, total_ref, evaluation_perfs, ";
|
|
7140
7140
|
query += "case ";
|
|
7141
7141
|
query += "when total_ref is not null and total_ref > 0 then (evaluation_perfs/total_ref) * 100 ";
|
|
7142
7142
|
query += "else 0 ";
|