From 7f2e50af63ca447961d9ceb7fb0e6b2cd879aa8a Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期三, 02 八月 2023 18:24:16 +0800
Subject: [PATCH] 1、在关键属性校验增加模板id条件

---
 Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/CombinationMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/CombinationMapper.xml b/Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/CombinationMapper.xml
index 71feaf0..657e646 100644
--- a/Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/CombinationMapper.xml
+++ b/Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/CombinationMapper.xml
@@ -88,7 +88,7 @@
     </select>
 
     <select id="queryRegex" resultType="java.lang.String">
-        SELECT CONCAT(REPLACE(WM_CONCAT(psc.REGEX),',[',''),']') FROM PL_SYS_COMBINATION psc
+        SELECT REPLACE(listagg(psc.REGEX,'],') within group ( order by psc.REGEX) || ']','],[','') FROM PL_SYS_COMBINATION psc
         WHERE psc.ID IN (
         <foreach collection="combinationIds" item="id" separator=",">
             #{id}

--
Gitblit v1.9.3