ludc
2023-05-22 bde0c065b9917dafde2737a57389a8a1c6892fe5
Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeBasicSecMapper.xml
@@ -137,9 +137,9 @@
        COUNT(*) OVER () "##VCI_COUNT_VCI##"
        from PL_CODE_BASICSEC
            left join pl_code_basicsec btm_codebasicsec_1
                      on btm_codebasicsec_1.oid = PL_CODE_BASICSEC.parentclassifysecoid
                on btm_codebasicsec_1.oid = PL_CODE_BASICSEC.parentclassifysecoid
            left join pl_code_classify platformbtm_codeclassify
                      on platformbtm_codeclassify.oid = PL_CODE_BASICSEC.refercodeclassifyoid
                on platformbtm_codeclassify.oid = PL_CODE_BASICSEC.refercodeclassifyoid
        <where>
            <if test="codeBasicSec.oid != null and codeBasicSec.oid != ''">
                and PL_CODE_BASICSEC.OID = #{codeBasicSec.oid}
@@ -148,7 +148,6 @@
                and PL_CODE_BASICSEC.TS = #{codeBasicSec.ts}
            </if>
            <if test="codeBasicSec.id != null and codeBasicSec.id != ''">
                and PL_CODE_BASICSEC.ID like CONCAT(CONCAT('%', #{codeBasicSec.id}), '%')
            </if>
            <if test="codeBasicSec.name != null and codeBasicSec.name != ''">