From 36b1e0df911a72aa483944685ada722192ff04c8 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期日, 05 五月 2024 19:18:37 +0800
Subject: [PATCH] 标准库增加区间设置功能

---
 inspect-server/src/main/resources/mapper/StandardTreeMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml b/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml
index fecb954..5f8c2cb 100644
--- a/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml
+++ b/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml
@@ -158,7 +158,7 @@
                       sample is NULL
                       OR sample = ''
                       or sample = '[]'
-                      OR sample LIKE CONCAT('%', #{tree}, '%')
+                      OR sample LIKE CONCAT('%[', #{tree}, ']%')
                   )
     </select>
 

--
Gitblit v1.9.3