Commit df4073fa authored by lcn's avatar lcn

bug修复

parent 1c7a8f73
......@@ -278,7 +278,7 @@ async def ess_evaluate_service(cid, start, end, work_day):
else:
kwh_slots[flag].append(num)
num = data["kwh"]
flag = data["create_time"][11:13]
flag = create_time[11:13]
elif work_day == 3:
for data in p_datas:
create_time = data["create_time"].strftime("%Y-%m-%d %H:%M:%S")
......
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