From 8fc24089896c464800eb86ea9c9bee5584812d94 Mon Sep 17 00:00:00 2001 From: apan Date: Tue, 2 Aug 2022 15:10:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=8E=AF=E5=A2=83=E8=B0=83?= =?UTF-8?q?=E6=8E=A7=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db_logic/humiture_record.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()