| | |
| | | |
| | | |
| | | <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" > |
| | |
| | | |
| | | |
| | | |
| | | <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> |