ludc
2023-10-20 5bb9b9a22b0b6f42f2a8920c7b6e6d894e53842b
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>