From 4e05db79b1d981677b8a2664f252dfccf95ef6ce Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期四, 30 十月 2025 13:35:01 +0800
Subject: [PATCH] 修改
---
multi-system/src/main/resources/mapper/system/CatalogueMapper.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/multi-system/src/main/resources/mapper/system/CatalogueMapper.xml b/multi-system/src/main/resources/mapper/system/CatalogueMapper.xml
index ea745dc..c5f921f 100644
--- a/multi-system/src/main/resources/mapper/system/CatalogueMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/CatalogueMapper.xml
@@ -117,6 +117,14 @@
<if test="companyId!=null and companyId!=''">
and company_id = #{companyId}
</if>
+ <if test="number!=null">
+ and (
+ CAST(SUBSTRING_INDEX(number, '.', 1) AS UNSIGNED) >= 4
+ OR
+ number LIKE '4.%'
+ OR number = '4'
+ )
+ </if>
ORDER BY
CAST(SUBSTRING_INDEX(number, '.', 1) AS UNSIGNED) ASC,
CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(number, '.', 2), '.', -1) AS UNSIGNED) ASC, -- 第二级
--
Gitblit v1.9.2