ludc
2023-11-09 75f4272905807fc4d56c77e86dfcb331a546c3ea
Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeCLassifyMapper.xml
@@ -38,6 +38,7 @@
        <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">
@@ -89,12 +90,12 @@
               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 != ''">
@@ -504,6 +505,7 @@
        start with oid = #{oid}
        connect by prior oid = parentcodeclassifyoid;
    </select>
    <select id="selectAllParenClassifytByOid" resultMap="plCodeClassifyResultMap">
        select codeclassify0.OWNER                 as owner,
        codeclassify0.BTMTYPEID             as btmtypeid,