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/CodeClassifyTemplateMapper.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeClassifyTemplateMapper.xml b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeClassifyTemplateMapper.xml
index ff8c8b0..df21621 100644
--- a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeClassifyTemplateMapper.xml
+++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeClassifyTemplateMapper.xml
@@ -100,16 +100,16 @@
 
 
 
-    <select id="selectChildHasReleaseTemplate" resultType="list">
+    <select id="selectChildHasReleaseTemplate" resultType="map">
         select t.oid as oid, cls.oid as clsoid
-        from platformbtm_codeclstemplate t
+        from pl_code_clstemplate t
                  left join (select oid
-                            from platformbtm_codeclassify
+                            from pl_code_classify
                             where lcstatus = #{lcstatus}
                                 start with oid = #{classifyoid}
                             connect by prior oid = parentcodeclassifyoid) cls
                            on t.codeclassifyoid = cls.oid
-        where t.lcstatus = #{templatelcstatus}
+        where t.lastr=1 and t.lastv=1 and t.lcstatus = #{templatelcstatus}
           and cls.oid is not null
     </select>
 

--
Gitblit v1.9.3