From ec6c3bc0b778178b2518302ffc9099ac8f6cc8a2 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期二, 30 四月 2024 00:54:34 +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