From 73dbe864eb18a1a4df4f41caed1dd128faf1b2ec Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 02 六月 2023 19:11:27 +0800
Subject: [PATCH] 引用码段关于业务类型接口的联调,重复使用的界面抽离成单独组件

---
 Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeCLassifyMapper.xml |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeCLassifyMapper.xml b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeCLassifyMapper.xml
index 44b7b0c..8485e2a 100644
--- a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeCLassifyMapper.xml
+++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeCLassifyMapper.xml
@@ -47,14 +47,14 @@
     <select id="selectAllLevelChildOid" resultType="java.util.HashMap">
         select oid, level
         from PL_CODE_CLASSIFY
-                 START WITH parentCodeClassifyOid = #{oid}CONNECT BY
+                 START WITH parentCodeClassifyOid = #{oid} CONNECT BY
             PRIOR OID = parentCodeClassifyOid
     </select>
 
     <select id="checkHasChild" resultType="java.lang.Boolean">
-        select count(oid)
+        <![CDATA[select count(oid)
         from PL_CODE_CLASSIFY
-        where parentCodeClassifyOid = #{oid}
+        where parentCodeClassifyOid = #{oid}]]>
     </select>
 
     <select id="selectCodeClassifyVOByTree" resultMap="plCodeClassifyResultMap">
@@ -141,7 +141,8 @@
     </select>
 
     <select id="selectAllLevelParentByOid" resultType="java.util.HashMap">
-        select oid,level from pl_code_classify start with oid= #{oid} connect by prior PARENTCODECLASSIFYOID = oid
+        select oid,
+               level from pl_code_classify start with oid= #{oid} connect by prior PARENTCODECLASSIFYOID = oid
     </select>
 
     <select id="selectByFieldNamePath"  resultMap="plCodeClassifyResultMap">

--
Gitblit v1.9.3