From 5dbde33455497c27a0767d6ea8c81b0bf076f607 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 29 十一月 2024 10:29:37 +0800 Subject: [PATCH] 隔夜单修改 --- third_data/custom_block_in_money_manager.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/third_data/custom_block_in_money_manager.py b/third_data/custom_block_in_money_manager.py index 261897a..ef37049 100644 --- a/third_data/custom_block_in_money_manager.py +++ b/third_data/custom_block_in_money_manager.py @@ -33,6 +33,10 @@ code = item[0] if code not in self.__code_money_dict: self.__code_money_dict[code] = 0 + if not tool.is_ge_code(code) and item[2][2] < 299e4: + return + if tool.is_ge_code(code) and item[2][2] < 299e4 and item[2][1] < 290000: + return if item[1] == 0: self.__code_money_dict[code] += item[2][2] else: -- Gitblit v1.8.0