From 1e363c55cfef0a4e2a202d4c27d8c1da03075c83 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期二, 23 一月 2024 14:25:51 +0800
Subject: [PATCH] 主题库定义-输入框清空事件
---
Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeCLassifyMapper.xml | 13 +++++++------
1 files changed, 7 insertions(+), 6 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 dd22b32..870f09a 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
@@ -60,6 +60,13 @@
PRIOR OID = parentCodeClassifyOid
</select>
+ <select id="selectAllParentOid" resultType="java.lang.String">
+ SELECT oid
+ FROM PL_CODE_CLASSIFY
+ START WITH oid = #{oid}
+ CONNECT BY PRIOR PARENTCODECLASSIFYOID = oid
+ </select>
+
<select id="checkHasChild" resultType="java.lang.Boolean">
<![CDATA[select count(oid)
from PL_CODE_CLASSIFY
@@ -557,12 +564,6 @@
and codeclassify0.tenant_id = #{tenantId}
</if>
connect by prior codeclassify0.PARENTCODECLASSIFYOID = codeclassify0.oid
- </select>
-
- <select id="selectStartWithCurrentOid" resultMap="plCodeClassifyResultMap">
- select * from <include refid="tableName"/>
- start with oid = #{oid}
- connect by prior oid = parentcodeclassifyoid;
</select>
<update id="batchUpdateLcStatus" parameterType="java.util.List">
--
Gitblit v1.9.3