| | |
| | | <result column="CODEKEYATTRREPEATOID" property="codeKeyAttrRepeatOid"/> |
| | | <result column="CODERESEMBLERULEOID" property="codeResembleRuleOid"/> |
| | | <result column="TENANT_ID" property="tenantId"/> |
| | | <result column="TOTAL" property="total"/> |
| | | </resultMap> |
| | | |
| | | <sql id="tableName"> |
| | |
| | | codekeyattrrepeatoid.name as codeKeyAttrRepeatOidName, |
| | | coderesembleruleoid.name as codeResembleRuleOidName |
| | | from pl_code_classify codeclassify0 |
| | | left join pl_code_rule coderuleoid |
| | | on codeclassify0.codeRuleOid = coderuleoid.oid |
| | | left join pl_code_keyattrrepeat codekeyattrrepeatoid |
| | | on codeclassify0.codeKeyAttrRepeatOid = codekeyattrrepeatoid.oid |
| | | left join pl_code_resemblerule coderesembleruleoid |
| | | on codeclassify0.codeResembleRuleOid = coderesembleruleoid.oid |
| | | left join pl_code_rule coderuleoid |
| | | on codeclassify0.codeRuleOid = coderuleoid.oid |
| | | left join pl_code_keyattrrepeat codekeyattrrepeatoid |
| | | on codeclassify0.codeKeyAttrRepeatOid = codekeyattrrepeatoid.oid |
| | | left join pl_code_resemblerule coderesembleruleoid |
| | | on codeclassify0.codeResembleRuleOid = coderesembleruleoid.oid |
| | | <where> |
| | | 1=1 |
| | | <if test="oid != null and oid != ''"> |
| | |
| | | start with oid = #{oid} |
| | | connect by prior oid = parentcodeclassifyoid; |
| | | </select> |
| | | |
| | | <select id="selectAllParenClassifytByOid" resultMap="plCodeClassifyResultMap"> |
| | | select codeclassify0.OWNER as owner, |
| | | codeclassify0.BTMTYPEID as btmtypeid, |