修复路口配时方案异常详情bug
This commit is contained in:
parent
504b07cf39
commit
466e47fffd
|
|
@ -393,7 +393,8 @@ def query_cross_examine_records_detail(params):
|
|||
else:
|
||||
phase_type_dir_dict[int(item_type)].append(item_detail)
|
||||
days_records[date] = phase_type_dir_dict
|
||||
days_records = days_records[-14:]
|
||||
last_14_keys = list(days_records.keys())[-14:]
|
||||
days_records = {k: days_records[k] for k in last_14_keys}
|
||||
res = make_common_res(0, 'ok')
|
||||
res['data'] = {
|
||||
'days_records': days_records,
|
||||
|
|
|
|||
Loading…
Reference in New Issue