|
|
|
@ -65,7 +65,7 @@ class BllHumitureRecord(Repository):
|
|
|
|
|
#TODO 添加房间筛选
|
|
|
|
|
filter_base1 = ""
|
|
|
|
|
if client_place:
|
|
|
|
|
filter_base1 += f"where client_speci='{client_place}'"
|
|
|
|
|
filter_base1 += f"where place='{client_place}'"
|
|
|
|
|
sql_all = f"""
|
|
|
|
|
select a.client_id, a.client_name, a.day_date, a.avg_wd, a.avg_sd, a.avg_voc, b.place
|
|
|
|
|
from (
|
|
|
|
@ -102,7 +102,7 @@ class BllHumitureRecord(Repository):
|
|
|
|
|
#TODO 添加房间筛选
|
|
|
|
|
filter_base1 = ""
|
|
|
|
|
if client_place:
|
|
|
|
|
filter_base1 += f"where client_speci='{client_place}'"
|
|
|
|
|
filter_base1 += f"where place='{client_place}'"
|
|
|
|
|
# sql_all = f"""
|
|
|
|
|
# select
|
|
|
|
|
# DATE_FORMAT(record_date,'%H:%i:%s') day_date,
|
|
|
|
|