From 5cf860884c04d6a7a5e25e449f0f8e29780f4318 Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期五, 12 五月 2023 18:01:11 +0800
Subject: [PATCH] 枚举页面漏传
---
Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeClstemplateMapper.xml | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeClstemplateMapper.xml b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeClstemplateMapper.xml
index a29bde1..7730a6a 100644
--- a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeClstemplateMapper.xml
+++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeClstemplateMapper.xml
@@ -37,7 +37,7 @@
<select id="selectPlCodeClstemplatePage" resultMap="plCodeClstemplateResultMap">
- select * from PL_CODE_CLSTEMPLATE where is_deleted = 0 order by revisionSeq
+ select * from PL_CODE_CLSTEMPLATE where 0 = 0 order by revisionSeq
</select>
<select id="selectAllLevelChildOid" resultType="java.lang.String" >
@@ -100,4 +100,17 @@
+ <select id="selectChildHasReleaseTemplate" resultType="list">
+ select t.oid as oid, cls.oid as clsoid
+ from platformbtm_codeclstemplate t
+ left join (select oid
+ from platformbtm_codeclassify
+ where lcstatus = #{lcstatus}
+ start with oid = #{classifyoid}
+ connect by prior oid = parentcodeclassifyoid) cls
+ on t.codeclassifyoid = cls.oid
+ where t.lcstatus = #{templatelcstatus}
+ and cls.oid is not null
+ </select>
+
</mapper>
--
Gitblit v1.10.0