|
|
@@ -4279,10 +4279,12 @@ int DealGetResistReport(const httplib::Request& req, const string token, char**
|
|
|
else if (it.second.f_suobi_lock_avg_color == UINT8_WARN)
|
|
|
yyjson_mut_obj_add_str(doc, obj, "f_suobi_lock_avg_color", "orange");
|
|
|
|
|
|
+ /*
|
|
|
if (it.second.d_baochi_lock != INT_MAX)
|
|
|
yyjson_mut_obj_add_int(doc, obj, "d_retention_fore", it.second.d_baochi_lock);
|
|
|
else
|
|
|
yyjson_mut_obj_add_str(doc, obj, "d_retention_fore", "-");
|
|
|
+ */
|
|
|
if (it.second.d_baochi_lock_max != INT_MAX)
|
|
|
yyjson_mut_obj_add_int(doc, obj, "d_retention_fore_max", it.second.d_baochi_lock_max);
|
|
|
else
|
|
|
@@ -4291,6 +4293,7 @@ int DealGetResistReport(const httplib::Request& req, const string token, char**
|
|
|
yyjson_mut_obj_add_int(doc, obj, "d_retention_fore_min", it.second.d_baochi_lock_min);
|
|
|
else
|
|
|
yyjson_mut_obj_add_str(doc, obj, "d_retention_fore_min", "-");
|
|
|
+ /*
|
|
|
if (it.second.d_baochi_lock_avg != INT_MAX)
|
|
|
yyjson_mut_obj_add_int(doc, obj, "d_retention_fore_avg", it.second.d_baochi_lock_avg);
|
|
|
else
|
|
|
@@ -4308,11 +4311,14 @@ int DealGetResistReport(const httplib::Request& req, const string token, char**
|
|
|
yyjson_mut_obj_add_str(doc, obj, "d_retention_fore_avg_color", "red");
|
|
|
else if (it.second.d_baochi_lock_avg_color == UINT8_WARN)
|
|
|
yyjson_mut_obj_add_str(doc, obj, "d_retention_fore_avg_color", "orange");
|
|
|
+ */
|
|
|
|
|
|
+ /*
|
|
|
if (it.second.f_baochi_lock != INT_MAX)
|
|
|
yyjson_mut_obj_add_int(doc, obj, "f_retention_fore", it.second.f_baochi_lock);
|
|
|
else
|
|
|
yyjson_mut_obj_add_str(doc, obj, "f_retention_fore", "-");
|
|
|
+ */
|
|
|
if (it.second.f_baochi_lock_max != INT_MAX)
|
|
|
yyjson_mut_obj_add_int(doc, obj, "f_retention_fore_max", it.second.f_baochi_lock_max);
|
|
|
else
|
|
|
@@ -4321,6 +4327,7 @@ int DealGetResistReport(const httplib::Request& req, const string token, char**
|
|
|
yyjson_mut_obj_add_int(doc, obj, "f_retention_fore_min", it.second.f_baochi_lock_min);
|
|
|
else
|
|
|
yyjson_mut_obj_add_str(doc, obj, "f_retention_fore_min", "-");
|
|
|
+ /*
|
|
|
if (it.second.f_baochi_lock_avg != INT_MAX)
|
|
|
yyjson_mut_obj_add_int(doc, obj, "f_retention_fore_avg", it.second.f_baochi_lock_avg);
|
|
|
else
|
|
|
@@ -4338,6 +4345,7 @@ int DealGetResistReport(const httplib::Request& req, const string token, char**
|
|
|
yyjson_mut_obj_add_str(doc, obj, "f_retention_fore_avg_color", "red");
|
|
|
else if (it.second.f_baochi_lock_avg_color == UINT8_WARN)
|
|
|
yyjson_mut_obj_add_str(doc, obj, "f_retention_fore_avg_color", "orange");
|
|
|
+ */
|
|
|
}
|
|
|
}
|
|
|
|