更新导出列表参数获取逻辑
This commit is contained in:
parent
36d0223f7e
commit
aca72f00f7
|
|
@ -159,7 +159,11 @@ def query_cross_delay_info_controller(params):
|
|||
'ledger_info': cross_ledger_info,
|
||||
'next_cross_info': next_cross_info
|
||||
}
|
||||
if params.get('excel') == 1:
|
||||
excel = check_param(params, 'excel')
|
||||
if not excel:
|
||||
excel = 0
|
||||
excel = int(excel)
|
||||
if excel == 1:
|
||||
return query_cross_delay_info_controller_export_excel(road_flow_delay_infos, road_flow_turn_rate)
|
||||
|
||||
return json.dumps(res, ensure_ascii=False)
|
||||
|
|
|
|||
Loading…
Reference in New Issue