Commit 0a3474bb authored by ZZH's avatar ZZH

fix count info 2024-06-04

parent 302372db
...@@ -238,7 +238,7 @@ async def power_count_info(cid): ...@@ -238,7 +238,7 @@ async def power_count_info(cid):
async def load_aiao_max(user_id, cid, s_dts, e_dts, filed): async def load_aiao_max(user_id, cid, s_dts, e_dts, filed):
value_max, location_name, occur_time = None, None, None value_max, loc_name, occur_time = None, None, None
sql = f"SELECT a.value_max,a.value_max_time,p.name,p.mtid,b.item FROM " \ sql = f"SELECT a.value_max,a.value_max_time,p.name,p.mtid,b.item FROM " \
f"`location_15min_aiao` a LEFT JOIN location b on a.lid=b.lid " \ f"`location_15min_aiao` a LEFT JOIN location b on a.lid=b.lid " \
f"LEFT JOIN point p on p.mtid=a.mtid where " \ f"LEFT JOIN point p on p.mtid=a.mtid where " \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment