xiejun
2023-08-12 4187374bbae66190e7eca6f42cc5e61cfae1637f
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>