修改房间字段

duizhaopin
13507605001 2 years ago
parent 2e7d691e24
commit c010b9c085

@ -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,

@ -407,7 +407,7 @@ class BllMedicament(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 DISTINCT
@ -549,7 +549,7 @@ class BllMedicament(Repository):
#TODO 添加房间筛选
filter_base = ""
if client_place:
filter_base += f"where client_speci='{client_place}'"
filter_base += f"where place='{client_place}'"
sql_all = f"""
select
`name`, english_name, bar_code, purity,

Loading…
Cancel
Save