From aabf5f98ad26e467645033c2cc80f5ff7e678aa2 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期四, 03 八月 2023 10:15:47 +0800
Subject: [PATCH] redis封装

---
 code_attribute/first_target_code_data_processor.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/code_attribute/first_target_code_data_processor.py b/code_attribute/first_target_code_data_processor.py
index eec5b75..ee3ba55 100644
--- a/code_attribute/first_target_code_data_processor.py
+++ b/code_attribute/first_target_code_data_processor.py
@@ -105,7 +105,7 @@
         need_get_volumn = False
         if code not in global_util.max60_volumn or global_util.max60_volumn.get(code) is None:
             need_get_volumn = True
-        if not need_get_volumn and code_nature_analyse.CodeNatureRecordManager.get_nature(
+        if not need_get_volumn and code_nature_analyse.CodeNatureRecordManager.get_nature_cache(
                 code) is None:
             need_get_volumn = True
         if need_get_volumn:
@@ -191,7 +191,7 @@
         if is_limit_up:
             # 鍔犲叆棣栨澘娑ㄥ仠
             gpcode_manager.FirstCodeManager.add_limited_up_record([code])
-        pricePre = gpcode_manager.get_price_pre(code)
+        pricePre = gpcode_manager.get_price_pre_cache(code)
         if pricePre is None:
             inited_data.re_set_price_pres([code])
 

--
Gitblit v1.8.0