| | |
| | | pc.SYSTEMID, |
| | | p.oid CLASSIFYOID, |
| | | p.id CLASSIFYID, |
| | | case when pc.selected is null then 'false' else pc.SELECTED end SELECTED, |
| | | case when pc.selected is null then false when pc.selected = 0 then false else pc.SELECTED end SELECTED, |
| | | p.PARENTCODECLASSIFYOID CLASSPARENTOID |
| | | from PL_CODE_CLASSIFY p , |
| | | PL_CODE_SYSTEM_CLASSIFY_ROLE pc |
| | |
| | | and '${systemId}' = pc.SYSTEMID(+) |
| | | </select> |
| | | |
| | | <select id="getListClassifyRole" resultType="com.vci.ubcs.code.entity.CodeClassify"> |
| | | select * |
| | | from PL_CODE_CLASSIFY |
| | | where oid in( select classifyoid |
| | | from PL_CODE_SYSTEM_CLASSIFY_ROLE |
| | | start with classifyid = #{library} |
| | | and SYSTEMID=#{systemId} |
| | | connect by prior classifyoid = classparentoid) |
| | | </select> |
| | | |
| | | </mapper> |