From f77767b27ea2ed4dd0fbb7a98f5164df5b3d51d6 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期四, 20 七月 2023 10:29:58 +0800
Subject: [PATCH] bug修复

---
 third_data/kpl_block_util.py |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/third_data/kpl_block_util.py b/third_data/kpl_block_util.py
index 1a9af1d..fe8fab3 100644
--- a/third_data/kpl_block_util.py
+++ b/third_data/kpl_block_util.py
@@ -41,6 +41,16 @@
         if has_continue_limit_up:
             return True, "鏉垮潡鏈変簩鏉夸笖3澶╁唴鏉垮潡鍐呮棤楂樹簬浜屾澘"
 
+        has_2 = False
+        has_3 = False
+        for k in current_limit_up_datas:
+            if k[5] == block:
+                if k[4].find("杩炴澘") > -1 and int(k[4][:1]) > 2:
+                    has_3 = True
+                elif k[4].find("杩炴澘") > -1 and int(k[4][:1]) == 2:
+                    has_2 = True
+        if not has_2 and has_3:
+            return True, f"鏉垮潡涓棤2鏉匡紝浣嗘湁3鏉垮強浠ヤ笂"
     return False, ""
 
 

--
Gitblit v1.8.0