| | |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap type="com.vci.ubcs.code.entity.CodeBasicSec" id="CodeBasicsecMap"> |
| | | <result property="oid" column="OID" jdbcType="VARCHAR"/> |
| | | <result property="oid" column="OID"/> |
| | | <result property="revisionOid" column="REVISIONOID" jdbcType="VARCHAR"/> |
| | | <result property="nameOid" column="NAMEOID" jdbcType="VARCHAR"/> |
| | | <result property="btmname" column="BTMNAME" jdbcType="VARCHAR"/> |
| | |
| | | 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} |
| | |
| | | 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 != ''"> |