From d7a83f1396425c4e47da9b95f287b26cd5bb3344 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 12 四月 2023 10:18:53 +0800 Subject: [PATCH] 后端代码整合 --- Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeBasicSecMapper.xml | 80 ++++++++++++++++++++++++++++++++++++++- 1 files changed, 77 insertions(+), 3 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeBasicSecMapper.xml b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeBasicSecMapper.xml index 160e775..e2e832a 100644 --- a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeBasicSecMapper.xml +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodeBasicSecMapper.xml @@ -8,12 +8,86 @@ </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> -- Gitblit v1.9.3