From d262a7e803ce19e720b0efe5e6dd131f2387e3d1 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期四, 07 十二月 2023 17:59:28 +0800
Subject: [PATCH] bug修复

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

diff --git a/code_attribute/code_volumn_manager.py b/code_attribute/code_volumn_manager.py
index 6b6912e..c5a58f2 100644
--- a/code_attribute/code_volumn_manager.py
+++ b/code_attribute/code_volumn_manager.py
@@ -102,10 +102,10 @@
     max60, yesterday = get_histry_volumn(code)
     if max60 is None or yesterday is None:
         raise Exception("鑾峰彇澶辫触")
-    if max60[0] >= yesterday[0]:
+    if int(max60[0]) >= int(yesterday):
         return max60[1]
     else:
-        return yesterday[1]
+        return "涓婁釜浜ゆ槗鏃�"
 
 
 # 鑾峰彇閲忔瘮绱㈠紩

--
Gitblit v1.8.0