From d4ff6edc9c65f37fcaa6058231e5c0bed96a083c Mon Sep 17 00:00:00 2001
From: ludc <pUXmgxCf6A>
Date: 星期一, 29 五月 2023 16:55:00 +0800
Subject: [PATCH] 集团主模型和模型详细信息接口移植开发

---
 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..720127e 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 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