diff --git a/db_logic/humiture_record.py b/db_logic/humiture_record.py index 83ed447..76c4ce9 100644 --- a/db_logic/humiture_record.py +++ b/db_logic/humiture_record.py @@ -44,7 +44,7 @@ class BllHumitureRecord(Repository): filter_base += f" and client_id='{client_id}'" sql_all = f""" - select {obj_type_str}, record_date from rms_humiture_record where {time_str} {filter_base} order by record_date + select {obj_type_str} data_value, record_date from rms_humiture_record where {time_str} {filter_base} order by record_date """ return self.execute(sql_all).fetchall()