| | |
| | | |
| | | </resultMap> |
| | | |
| | | <select id="selectPlCodeRulePage" resultMap="CodeRuleResultMap"> |
| | | select * from PL_CODE_RULE where is_deleted = 0 |
| | | <select id="selectCodeBasicSecPage" resultMap="CodeRuleResultMap"> |
| | | |
| | | select PL_CODE_BASICSEC.oid, |
| | | PL_CODE_BASICSEC.revisionoid, |
| | | PL_CODE_BASICSEC.nameoid, |
| | | PL_CODE_BASICSEC.btmname, |
| | | PL_CODE_BASICSEC.lastr, |
| | | PL_CODE_BASICSEC.firstr, |
| | | PL_CODE_BASICSEC.lastv, |
| | | PL_CODE_BASICSEC.firstv, |
| | | PL_CODE_BASICSEC.creator, |
| | | PL_CODE_BASICSEC.createtime, |
| | | PL_CODE_BASICSEC.lastmodifier, |
| | | PL_CODE_BASICSEC.lastmodifytime, |
| | | PL_CODE_BASICSEC.revisionrule, |
| | | PL_CODE_BASICSEC.versionrule, |
| | | PL_CODE_BASICSEC.revisionseq, |
| | | PL_CODE_BASICSEC.revisionvalue, |
| | | PL_CODE_BASICSEC.versionseq, |
| | | PL_CODE_BASICSEC.versionvalue, |
| | | PL_CODE_BASICSEC.lctid, |
| | | PL_CODE_BASICSEC.lcstatus, |
| | | PL_CODE_BASICSEC.ts, |
| | | PL_CODE_BASICSEC.id, |
| | | PL_CODE_BASICSEC.name, |
| | | PL_CODE_BASICSEC.description, |
| | | PL_CODE_BASICSEC.owner, |
| | | PL_CODE_BASICSEC.copyfromversion, |
| | | PL_CODE_BASICSEC.codefillseparator, |
| | | PL_CODE_BASICSEC.codeseclength, |
| | | PL_CODE_BASICSEC.valuecuttype, |
| | | PL_CODE_BASICSEC.codefilltype, |
| | | PL_CODE_BASICSEC.refervalueinfo, |
| | | PL_CODE_BASICSEC.referattributeid, |
| | | PL_CODE_BASICSEC.getvalueclass, |
| | | PL_CODE_BASICSEC.displayflag, |
| | | PL_CODE_BASICSEC.parentclassifysecoid, |
| | | PL_CODE_BASICSEC.serialstep, |
| | | PL_CODE_BASICSEC.serialdependflag, |
| | | PL_CODE_BASICSEC.filtersql, |
| | | PL_CODE_BASICSEC.codedateformatstr, |
| | | PL_CODE_BASICSEC.refercodeclassifyoid, |
| | | PL_CODE_BASICSEC.codeleveltype, |
| | | PL_CODE_BASICSEC.codeseclengthtype, |
| | | PL_CODE_BASICSEC.referattributename, |
| | | PL_CODE_BASICSEC.referbtmname, |
| | | PL_CODE_BASICSEC.codefillflag, |
| | | PL_CODE_BASICSEC.valuecutlength, |
| | | PL_CODE_BASICSEC.codegetvaluetype, |
| | | PL_CODE_BASICSEC.referbtmid, |
| | | PL_CODE_BASICSEC.codefilltypetext, |
| | | PL_CODE_BASICSEC.codelevelvalue, |
| | | PL_CODE_BASICSEC.codefilllength, |
| | | PL_CODE_BASICSEC.customcodeserialclass, |
| | | PL_CODE_BASICSEC.matchclassifyvalueflag, |
| | | PL_CODE_BASICSEC.sectype, |
| | | PL_CODE_BASICSEC.pkcoderule, |
| | | PL_CODE_BASICSEC.ordernum, |
| | | PL_CODE_BASICSEC.referconfig, |
| | | PL_CODE_BASICSEC.serialstart, |
| | | PL_CODE_BASICSEC.componentcodeflag, |
| | | PL_CODE_BASICSEC.serialdependorder, |
| | | PL_CODE_BASICSEC.nullableflag, |
| | | PL_CODE_BASICSEC.codefilllimit, |
| | | btm_codebasicsec_1.name as b__name, |
| | | platformbtm_codeclassify.name as c__name, |
| | | 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 |
| | | left join PL_CODE_BASICSEC platformbtm_codeclassify |
| | | on platformbtm_codeclassify.oid = PL_CODE_BASICSEC.refercodeclassifyoid |
| | | where |
| | | and PL_CODE_BASICSEC.pkcoderule = #{codeBasicSec.pkCodeRule} |
| | | </select> |
| | | |
| | | |
| | | <select id="countByCondition" resultType="com.vci.ubcs.code.entity.CodeBasicSec"> |
| | | <select id="countByCondition" resultType="java.lang.Long"> |
| | | |
| | | |
| | | |
| | | |
| | | </select> |