From 1e64a42737bb6cc7192c68633d3c168ca150da97 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期三, 22 十一月 2023 19:08:09 +0800 Subject: [PATCH] L下动态更新一次/加载订单是否成交 --- third_data/code_plate_key_manager.py | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/third_data/code_plate_key_manager.py b/third_data/code_plate_key_manager.py index 774ff1a..5eea3db 100644 --- a/third_data/code_plate_key_manager.py +++ b/third_data/code_plate_key_manager.py @@ -521,11 +521,12 @@ before_blocks_dict): # 鍔犺浇娑ㄥ仠浠g爜鐨勭洰鏍囨澘鍧� def load_code_block(): - for d in limit_up_record_datas: - if d[2] in constant.KPL_INVALID_BLOCKS and d[3] in before_blocks_dict: - code_limit_up_reason_dict[d[3]] = list(before_blocks_dict.get(d[3]))[0] - else: - code_limit_up_reason_dict[d[3]] = d[2] + if limit_up_record_datas: + for d in limit_up_record_datas: + if d[2] in constant.KPL_INVALID_BLOCKS and d[3] in before_blocks_dict: + code_limit_up_reason_dict[d[3]] = list(before_blocks_dict.get(d[3]))[0] + else: + code_limit_up_reason_dict[d[3]] = d[2] return code_limit_up_reason_dict if current_limit_up_datas is None: -- Gitblit v1.8.0