Commit 9dfad951 by jianglong

南商国结修改内容:1.新增国结专用调用方法和配置,2.修改读取配置的代码(不影响前置系统);

parent 01c5000a
......@@ -76,7 +76,7 @@
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
<!--scope>test</scope-->
</dependency>
</dependencies>
......
......@@ -32,6 +32,33 @@
<artifactId>json-path</artifactId>
<version>2.6.0</version>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.22</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.21</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
</dependencies>
<build>
<plugins>
......@@ -41,6 +68,7 @@
<version>2.4</version>
<configuration>
<excludes>
<exclude>**/ini/**</exclude>
<exclude>**/template/**</exclude>
<exclude>**/swiftJson/**</exclude>
<exclude>**/swiftTxt/**</exclude>
......
......@@ -76,12 +76,14 @@ public abstract class AbstractElement2MxCreator implements Element2MxCreator{
@Override
public void preProcess() {
String chn=System.getProperty("CHN");
String chnPrf=StringUtil.isEmpty(chn)?"":chn+"-";
String identifier = (String) elementMaps.get("messageType");
jsonMaps.put("identifier", identifier);
String fileName = "/template/"+identifier+".properties";
String fileName = "/template/"+chnPrf+identifier+".properties";
InputStream resourceAsStream = AbstractElement2MxCreator.class.getResourceAsStream(fileName);
if (resourceAsStream == null) {
fileName = "/template/"+identifier.substring(0, 10)+".properties";
fileName = "/template/"+chnPrf+identifier.substring(0, 10)+".properties";
resourceAsStream = AbstractElement2MxCreator.class.getResourceAsStream(fileName);
}
try {
......
......@@ -6,7 +6,8 @@ public class Element2MxPacs002001Creator extends AbstractElement2MxCreator {
@Override
protected boolean isArray(String key) {
if ("txInfAndSts".equals(key)||"stsRsnInf".equals(key)) {
if ("txInfAndSts".equals(key)||"stsRsnInf".equals(key)
||"rltd".equals(key)) {
return true;
}
return false;
......
......@@ -12,7 +12,10 @@ public class Element2MxPacs004001Creator extends AbstractElement2MxCreator {
@Override
protected boolean isArray(String key) {
if ("txInf".equals(key)||"rtrRsnInf".equals(key)) {
if ("txInf".equals(key)||"rtrRsnInf".equals(key)
|| "rltd".equals(key) || "chrgsInf".equals(key) ||"chrgsInfAgt".equals(key)
|| "instdAgtClrSysMmbIdClrSysId".equals(key) || "agt.finInstnId.clrSysMmbId".equals(key)
) {
return true;
}
return false;
......
......@@ -13,7 +13,14 @@ public class Element2MxPacs008001Creator extends AbstractElement2MxCreator {
@Override
protected boolean isArray(String key) {
if ("cdtTrfTxInf".equals(key) || "orgId.othr".equals(key)
|| "prvtId.othr".equals(key) || "finInstnId.othr".equals(key)) {
|| "prvtId.othr".equals(key) || "finInstnId.othr".equals(key)
|| "chrgsInf".equals(key)||"instrForCdtrAgt".equals(key)||"instrForNxtAgt".equals(key)
|| "rgltryRptg".equals(key)||"rgltryRptg.dtls".equals(key)||"rgltryRptg.dtls.inf".equals(key)
|| "rltdRmtInf.RmtLctnDtls".equals(key)
|| "ustrd".equals(key)
|| "svcLvl".equals(key)
|| "rmtInf.strd".equals(key)||"rmtInf.strd.rfrdDocInf".equals(key)||"rmtInf.strd.addtlRmtInf".equals(key)
|| "rltdRmtInf".equals(key)||"rltdRmtInf.rmtLctnDtls".equals(key)) {
return true;
}
return false;
......
......@@ -13,7 +13,13 @@ public class Element2MxPacs009001Creator extends AbstractElement2MxCreator {
@Override
protected boolean isArray(String key) {
if ("cdtTrfTxInf".equals(key) || "orgId.othr".equals(key)
|| "prvtId.othr".equals(key) || "finInstnId.othr".equals(key)) {
|| "prvtId.othr".equals(key) || "finInstnId.othr".equals(key)
|| "grpHdrSttlmInf".equals(key) ||"rltd".equals(key)
|| "instrForNxtAgt".equals(key) || "undrlygCstmrCdtTrf.instrForCdtrAgt".equals(key)
|| "rmtInf.strd".equals(key) ||"cdtTrfTxInf.instrForCdtrAgt".equals(key)
|| "rmtInfUstrd".equals(key) || "undrlRmtInfUstrd".equals(key)
|| "pmtTpInf.svcLvl".equals(key)
) {
return true;
}
return false;
......
......@@ -65,14 +65,16 @@ public abstract class AbstractMx2ElementCreator implements Mx2ElementCreator{
@Override
public Map<String, Object> buildElement() {
String chn=System.getProperty("CHN");
String chnPrf=StringUtil.isEmpty(chn)?"":chn+"-";
maps.put("messageType", messageType);
String gsonStr = abstractMX.toJson();
Map<String, Object> mxGsonMaps = JSON.parseObject(gsonStr);
String fileName = "/template/"+messageType+".properties";
String fileName = "/template/"+chnPrf+messageType+".properties";
InputStream resourceAsStream = AbstractMx2ElementCreator.class.getResourceAsStream(fileName);
if (resourceAsStream == null) {
int versionLength = abstractMX.getMxId().getVersion().length();
fileName = "/template/"+messageType.substring(0, messageType.length()-versionLength)+".properties";
fileName = "/template/"+chnPrf+messageType.substring(0, messageType.length()-versionLength)+".properties";
resourceAsStream = AbstractMx2ElementCreator.class.getResourceAsStream(fileName);
}
......@@ -163,6 +165,7 @@ public abstract class AbstractMx2ElementCreator implements Mx2ElementCreator{
}
}
tmpMaps = (Map<String, Object>) obj;
value=tmpMaps;//XML大节点(希望将整个大节点包含xml标签整段赋值给要素字段),返回Map , 原代码无此行,会返回空
} else {
if ("bigdecimal".equals(type)) {
value = new BigDecimal(String.valueOf(obj));
......
#用于配置适用系统,若没有则会使用默认配置也即前置系统的配置,国结使用该工程应配置为sstf此时会采用sstf-pacs002002.properties
chn: sstf
#国结系统的配置项
sstf:
saa:
header:
frBic: NYCBCNSHXXX
service: swift.finplus!pc
body:
pacs002001:
#配置最后一级节点是数组的情况,非最后一级节点在protected boolean isArray(String key)配置
atrbut:
rltd: '*'
orgtrAdrLines: 3
stsRsnInfOrgtrIdOrgIdOthr: 2
stsRsnInfOrgtrIdPrvtIdOthr: 2
addtlInf: 2
fldtyp:
pacs004001:
atrbut:
rltd: '*'
chrgsInf: '*'
ultmtDbtrPtyIdOrgIdOthr: 2
ultmtDbtrPtyIdPrvtIdOthr: 2
dbtrPtyPstlAdrAdrLine: 3
dbtrPtyIdOrgIdOthr: 2
dbtrPtyIdPrvtIdOthr: 2
dbtrrAgtPstlAdrAdrLine: 3
initgPtyPtyPstlAdrAdrLine: 3
initgPtyPtyIdOrgIdOthr: 2
initgPtyPtyIdPrvtIdOthr: 2
dbtrAgtAdrLines: 3
prvsInstgAgt1AdrLines: 3
prvsInstgAgt2AdrLines: 3
prvsInstgAgt3AdrLines: 3
intrmyAgt1AdrLines: 3
intrmyAgt2AdrLines: 3
intrmyAgt3AdrLines: 3
cdtrAgtAgtAdrLines: 3
cdtrPtyPstlAdrAdrLine: 3
cdtrPtyIdOrgIdOthr: 2
cdtrPtyIdPrvtIdOthr: 2
cdtrrAgtPstlAdrAdrLine: 3
ultmtCdtrIdOrgIdOthr: 2
ultmtCdtrIdPrvtIdOthr: 2
orgtrAdrLines: 3
rtrRsnInfOrgtrIdOrgIdOthr: 2
rtrRsnInfOrgtrIdPrvtIdOthr: 2
rtrRsnInfAddtlInf: 2
#配置哪些节点是做XML大节点(整段XML内容)或者是XML属性
fldtyp:
orgnlIntrBkSttlmCcy: ATR
rtrdIntrBkSttlmCcy: ATR
rtrdInstdCcy: ATR
chrgsInfAmtCcy: ATR
orgRef: XML
#XML大节点的标签
xmltag:
orgRef: OrgnlTxRef
pacs008001:
atrbut:
instgRmbrsmntAgtAdrLines: 3
instdRmbrsmntAgtAdrLines: 3
thrdRmbrsmntAgtAdrLines: 3
svcLvl: 3
chrgsInf: '*'
chrgsInfAgtPstlAdrAdrLine: 3
prvsInstgAgt1AdrLines: 3
prvsInstgAgt2AdrLines: 3
prvsInstgAgt3AdrLines: 3
intrmyAgt1AdrLines: 3
intrmyAgt2AdrLines: 3
intrmyAgt3AdrLines: 3
ultmtDbtrIdOrgIdOthr: 2
ultmtDbtrIdPrvtIdOthr: 2
initgPtyIdOrgIdOthr: 2
initgPtyIdPrvtIdOthr: 2
dbtrAdrLines: 3
dbtrIdOrgIdOthr: 2
dbtrIdPrvtIdOthr: 2
dbtrAgtAdrLines: 3
cdtrAgtAgtAdrLines: 3
cdtrAdrLines: 3
cdtrIdOrgIdOthr: 2
cdtrIdPrvtIdOthr: 2
ultmtCdtrIdOrgIdOthr: 2
ultmtCdtrIdPrvtIdOthr: 2
instrForCdtrAgt: 2
instrForNxtAgt: 6
rgltryRptg: 10
rgltryRptgDtls: '*'
rgltryRptgDtlsInf: '*'
rltdRmtInfRmtLctnDtls: 2
rltdRmtInfRmtLctnDtlsPstlAdrAdrAdrLine: 3
rmtInfUstrd: '*'
rmtInfStrd: '*'
rfrdDocInf: '*'
addtlRmtInf: 3
fldtyp:
intrBkSttlmCcy: ATR
instdAmtCcy: ATR
chrgsInfAmtCcy: ATR
rgltryRptgDtlsAmtCcy: ATR
rfrdDocInf: XML
rfrdDocAmt: XML
cdtrRefInf: XML
invcr: XML
invcee: XML
taxRmt: XML
grnshmtRmt: XML
xmltag:
rfrdDocInf: RfrdDocInf
rfrdDocAmt: RfrdDocAmt
cdtrRefInf: CdtrRefInf
invcr: Invcr
invcee: Invcee
taxRmt: TaxRmt
grnshmtRmt: GrnshmtRmt
pacs009001:
atrbut:
rltd: '*'
svcLvl: 3
prvsInstgAgt1AdrLines: 3
prvsInstgAgt2AdrLines: 3
prvsInstgAgt3AdrLines: 3
intrmyAgt1AdrLines: 3
intrmyAgt2AdrLines: 3
intrmyAgt3AdrLines: 3
dbtrAdrLines: 3
dbtrAgtAdrLines: 3
cdtrAgtAdrLines: 3
cdtrAdrLines: 3
instrForCdtrAgt: 2
instrForNxtAgt: 6
undrlUltmtDbtrIdOrgIdOthr: 2
undrlUltmtDbtrIdPrvtIdOthr: 2
initgPtyIdOrgIdOthr: 2
initgPtyIdPrvtIdOthr: 2
undrlDbtrPstlAdrAdrLine: 3
undrlDbtrIdOrgIdOthr: 2
undrlDbtrIdPrvtIdOthr: 2
undrlDbtrAgtPstlAdrAdrLine: 3
undrlPrvsInstgAgt1PstlAdrAdrLine: 3
undrlPrvsInstgAgt2PstlAdrAdrLine: 3
undrlPrvsInstgAgt3PstlAdrAdrLine: 3
undrlIntrmyAgt1PstlAdrAdrLine: 3
undrlIntrmyAgt2PstlAdrAdrLine: 3
undrlIntrmyAgt3PstlAdrAdrLine: 3
undrlCdtrAgtPstlAdrAdrLine: 3
undrlCdtrPstlAdrAdrLine: 3
undrlCdtrIdOrgIdOthr: 2
undrlCdtrIdPrvtIdOthr: 2
undrlUltmtCdtrPstlAdrAdrLine: 3
undrlUltmtCdtrIdOrgIdOthr: 2
undrlUltmtCdtrIdPrvtIdOthr: 2
undrlInstrForCdtrAgt: 2
undrlInstrForNxtAgt: 6
rmtInfUstrd: '*'
undrlRmtInfUstrd: '*'
undrlRmtInfStrd: '*'
undrlRmtInfStrdRfrdDocInf: '*'
undrlRmtInfStrdAddtlRmtInf: 3
fldtyp:
intrBkSttlmCcy: ATR
undrlRmtInfStrdRfrdDocInf: XML
undrlRmtInfStrdRfrdDocAmt: XML
undrlRmtInfStrdCdtrRefInf: XML
undrlRmtInfStrdInvcr: XML
invcee: XML
undrlRmtInfStrdTaxRmt: XML
undrlRmtInfStrdGrnshmtRmt: XML
xmltag:
undrlRmtInfStrdRfrdDocInf: RfrdDocInf
undrlRmtInfStrdRfrdDocAmt: RfrdDocAmt
undrlRmtInfStrdCdtrRefInf: CdtrRefInf
undrlRmtInfStrdInvcr: Invcr
invcee: Invcee
undrlRmtInfStrdTaxRmt: TaxRmt
undrlRmtInfStrdGrnshmtRmt: GrnshmtRmt
### 设置###
log4j.rootLogger = debug,stdout,D
### 输出信息到控制抬 ###
log4j.appender.stdout = org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target = System.out
log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern = [%-5p] %d{yyyy-MM-dd HH:mm:ss,SSS} method:%l%n%m%n
### 输出DEBUG 级别以上的日志到=/home/duqi/logs/debug.log ###
log4j.appender.D = org.apache.log4j.DailyRollingFileAppender
log4j.appender.D.DatePattern='.'yyyy-MM-dd
log4j.appender.D.File = log/mx2mt.log
log4j.appender.D.Append = true
log4j.appender.D.Threshold = DEBUG
log4j.appender.D.layout = org.apache.log4j.PatternLayout
log4j.appender.D.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n
<?xml version="1.0" encoding="UTF-8"?>
<Saa:DataPDU xmlns:Saa="urn:swift:saa:xsd:saa.2.0" xmlns:Sw="urn:swift:snl:ns.Sw" xmlns:SwGbl="urn:swift:snl:ns.SwGbl" xmlns:SwInt="urn:swift:snl:ns.SwInt" xmlns:SwSec="urn:swift:snl:ns.SwSec">
<Saa:Revision>2.0.10</Saa:Revision>
<Saa:Header>
<Saa:Message>
<Saa:SenderReference>${SenderReference}</Saa:SenderReference>
<Saa:MessageIdentifier>${MessageIdentifier}</Saa:MessageIdentifier>
<Saa:Format>MX</Saa:Format>
<Saa:Sender>
<Saa:DN>${SenderDN}</Saa:DN>
<Saa:FullName>
<Saa:X1>${SenderX1}</Saa:X1>
</Saa:FullName>
</Saa:Sender>
<Saa:Receiver>
<Saa:DN>${ReceiverDN}</Saa:DN>
<Saa:FullName>
<Saa:X1>${ReceiverX1}</Saa:X1>
</Saa:FullName>
</Saa:Receiver>
<Saa:InterfaceInfo>
<Saa:UserReference>${UserReference}</Saa:UserReference>
</Saa:InterfaceInfo>
<Saa:NetworkInfo>
<Saa:Priority>${Priority}</Saa:Priority>
<Saa:Service>${Service}</Saa:Service>
<Saa:SWIFTNetNetworkInfo>
<Saa:RequestType>${RequestType}</Saa:RequestType>
<Saa:RequestSubtype>${RequestSubtype}</Saa:RequestSubtype>
<Saa:Reference>${Reference}</Saa:Reference>
</Saa:SWIFTNetNetworkInfo>
</Saa:NetworkInfo>
</Saa:Message>
</Saa:Header>
<Saa:Body>
${payload}
</Saa:Body>
</Saa:DataPDU>
\ No newline at end of file
bicfi=finInstnId.bicfi
clrSysId=finInstnId.clrSysMmbId.mmbId
clrSysIdType=finInstnId.clrSysMmbId.clrSysId.cd
clrSysIdTypePrtry=finInstnId.clrSysMmbId.clrSysId.prtry
lei=finInstnId.lei
nm=finInstnId.nm
pstlAdrType=finInstnId.pstlAdr.adrTp.cd
pstlAdrCtry=finInstnId.pstlAdr.ctry
pstlAdrDept=finInstnId.pstlAdr.dept
pstlAdrSubDept=finInstnId.pstlAdr.subDept
pstlAdrStrtNm=finInstnId.pstlAdr.strtNm
pstlAdrBldgNb=finInstnId.pstlAdr.bldgNb
pstlAdrBldgNm=finInstnId.pstlAdr.bldgNm
pstlAdrFlr=finInstnId.pstlAdr.flr
pstlAdrRoom=finInstnId.pstlAdr.room
pstlAdrTwnNm=finInstnId.pstlAdr.twnNm
pstlAdrPstBx=finInstnId.pstlAdr.pstBx
pstlAdrPstCd=finInstnId.pstlAdr.pstCd
pstlAdrCtrySubDvsn=finInstnId.pstlAdr.ctrySubDvsn
pstlAdrDstrctNm=finInstnId.pstlAdr.dstrctNm
pstlAdrTwnLctnNm=finInstnId.pstlAdr.twnLctnNm
adrLines=finInstnId.pstlAdr.AdrLine
othrId=finInstnId.othr.id
othrIdType=finInstnId.othr.schmeNm.cd
othrIdTypePrtry=finInstnId.othr.schmeNm.prtry
brnchId=brnchId.id
brnchLei=brnchId.lei
brnchNm=brnchId.nm
brnchPstlAdrType=brnchId.pstlAdr.adrTp.cd
brnchPstlAdrCtry=brnchId.pstlAdr.ctry
brnchPstlAdrDept=brnchId.pstlAdr.dept
brnchPstlAdrSubDept=brnchId.pstlAdr.subDept
brnchPstlAdrStrtNm=brnchId.pstlAdr.strtNm
brnchPstlAdrBldgNb=brnchId.pstlAdr.bldgNb
brnchPstlAdrBldgNm=brnchId.pstlAdr.bldgNm
brnchPstlAdrFlr=brnchId.pstlAdr.flr
brnchPstlAdrRoom=brnchId.pstlAdr.room
brnchPstlAdrTwnNm=brnchId.pstlAdr.twnNm
brnchPstlAdrPstBx=brnchId.pstlAdr.pstBx
brnchPstlAdrPstCd=brnchId.pstlAdr.pstCd
brnchPstlAdrCtrySubDvsn=brnchId.pstlAdr.ctrySubDvsn
brnchPstlAdrDstrctNm=brnchId.pstlAdr.dstrctNm
brnchPstlAdrTwnLctnNm=brnchId.pstlAdr.twnLctnNm
brnchAdrLines=brnchId.pstlAdr.AdrLine
\ No newline at end of file
amt=amt.value&bigdecimal
ccy=amt.ccy
bicfi=agt.finInstnId.bicfi
\ No newline at end of file
ntryRef=ntryRef
ntryAmt=amt.value&bigdecimal?ntryDtls.txDtls.amt.value&bigdecimal
ntryCcy=amt.ccy?ntryDtls.txDtls.amt.ccy
ntryCdtDbtInd=cdtDbtInd?ntryDtls.txDtls.cdtDbtInd
ntryRvslInd=rvslInd&boolean
ntrySts=sts.cd
ntryStsPrtry=sts.prtry
ntryBookgDt=bookgDt.dt
ntryBookgDtTm=bookgDt.dtTm
ntryValDt=valDt.dt
ntryValDtTm=valDt.dtTm
ntryAcctSvcrRef=acctSvcrRef
ntryBkTxCdDomnCd=bkTxCd.domn.cd
ntryBkTxCdFmlyCd=bkTxCd.domn.fmly.cd
ntryBkTxCdFmlySubFmlyCd=bkTxCd.domn.fmly.subFmlyCd
ntryBkTxCdPrtryCd=bkTxCd.prtry.cd
endToEndId=ntryDtls.txDtls.refs.endToEndId
addtlTxInf=ntryDtls.txDtls.addtlTxInf
instrId=ntryDtls.txDtls.refs.instrId
ntryUetr=ntryDtls.txDtls.refs.uetr
ntryTxId=ntryDtls.txDtls.refs.txId
\ No newline at end of file
<#if frBic??>
${I18NHelper('app.header.sendBic')}:${frBic}
</#if>
<#if toBic??>
${I18NHelper('app.header.receiverBic')}:${toBic}
</#if>
<#if messageType??>
${I18NHelper('app.header.msgDefId')}:${messageType}
</#if>
<#if bizSvc??>
${I18NHelper('app.header.bizSvc')}:${bizSvc}
</#if>
<#if creDt??>
${I18NHelper('app.header.creDt')}:${creDt}
</#if>
<#if bizMsgIdr??>
${I18NHelper('message.id')}:${bizMsgIdr}
</#if>
<#if endToEndId??>
${I18NHelper('endToEnd.id')}:${endToEndId}
</#if>
<#if uetr??>
${I18NHelper('uetr')}:${uetr}
</#if>
<#if orgnlMsgId??>
${I18NHelper('orgnlMsgId')}:${orgnlMsgId}
</#if>
<#if orgnlMsgNmId??>
${I18NHelper('orgnlMsgNmId')}:${orgnlMsgNmId}
</#if>
<#if orgnlCreDtTm??>
${I18NHelper('orgnlCreDtTm')}:${orgnlCreDtTm}
</#if>
<#if orgnlEndToEndId??>
${I18NHelper('orgnlEndToEndId')}:${orgnlEndToEndId}
</#if>
<#if orgnlUETR??>
${I18NHelper('orgnlUETR')}:${orgnlUETR}
</#if>
<#if orgtrNm??>
${I18NHelper('orgtrNm')}:${orgtrNm}
</#if>
<#if rsnCd??>
${I18NHelper('rsnCd')}:${rsnCd}
</#if>
<#if txSts??>
${I18NHelper('txSts')}:${txSts}
</#if>
<#if clrSysRef??>
${I18NHelper('clrSysRef')}:${clrSysRef}
</#if>
<#if fctvIntrBkSttlmDt??>
${I18NHelper('fctvIntrBkSttlmDt')}:${fctvIntrBkSttlmDt}
</#if>
<#if frBic??>
${I18NHelper('app.header.sendBic')}:${frBic}
</#if>
<#if toBic??>
${I18NHelper('app.header.receiverBic')}:${toBic}
</#if>
<#if messageType??>
${I18NHelper('app.header.msgDefId')}:${messageType}
</#if>
<#if bizSvc??>
${I18NHelper('app.header.bizSvc')}:${bizSvc}
</#if>
<#if creDt??>
${I18NHelper('app.header.creDt')}:${creDt}
</#if>
<#if bizMsgIdr??>
${I18NHelper('message.id')}:${bizMsgIdr}
</#if>
<#if endToEndId??>
${I18NHelper('endToEnd.id')}:${endToEndId}
</#if>
<#if uetr??>
${I18NHelper('uetr')}:${uetr}
</#if>
<#if nbOfTxs??>
${I18NHelper('nbOfTxs')}:${nbOfTxs}
</#if>
<#if sttlmMtd??>
${I18NHelper('settlement.method')}:${sttlmMtd}
</#if>
<#if orgnlEndToEndId??>
${I18NHelper('orgnlEndToEndId')}:${orgnlEndToEndId}
</#if>
<#if orgnlUETR??>
${I18NHelper('orgnlUETR')}:${orgnlUETR}
</#if>
<#if orgnlIntrBkSttlmAmt??>
${I18NHelper('orgnlIntrBkSttlmAmt')}:${orgnlIntrBkSttlmAmt}
</#if>
<#if orgnlIntrBkSttlmCcy??>
${I18NHelper('orgnlIntrBkSttlmCcy')}:${orgnlIntrBkSttlmCcy}
</#if>
<#if rtrdIntrBkSttlmAmt??>
${I18NHelper('rtrdIntrBkSttlmAmt')}:${rtrdIntrBkSttlmAmt}
</#if>
<#if rtrdIntrBkSttlmCcy??>
${I18NHelper('rtrdIntrBkSttlmCcy')}:${rtrdIntrBkSttlmCcy}
</#if>
<#if intrBkSttlmDt??>
${I18NHelper('intrBkSttlmDt')}:${intrBkSttlmDt}
</#if>
<#if chrgBr??>
${I18NHelper('chrgBr')}:${chrgBr}
</#if>
<#if instgAgtBicfi??>
${I18NHelper('instgAgtBicfi')}:${instgAgtBicfi}
</#if>
<#if instdAgtBicfi??>
${I18NHelper('instdAgtBicfi')}:${instdAgtBicfi}
</#if>
<#if dbtrNm??>
${I18NHelper('dbtrNm')}:${dbtrNm}
</#if>
<#if cdtrNm??>
${I18NHelper('cdtrNm')}:${cdtrNm}
</#if>
<#if rsnCd??>
${I18NHelper('rsnCd')}:${rsnCd}
</#if>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
nm=nm
orgAnyBIC=id.orgId.anyBIC
orgLei=id.orgId.lei
orgOthrId=id.orgId.othr.id
orgOthrIdType=id.orgId.othr.schmeNm.cd
orgOthrIdTypePrtry=id.orgId.othr.schmeNm.prtry
prvtBirthDt=id.prvtId.dtAndPlcOfBirth.birthDt
prvtPrvcOfBirth=id.prvtId.dtAndPlcOfBirth.prvcOfBirth
prvtCityOfBirth=id.prvtId.dtAndPlcOfBirth.cityOfBirth
prvtCtryOfBirth=id.prvtId.dtAndPlcOfBirth.ctryOfBirth
prvtId=id.prvtId.othr.id
prvtIdType=id.prvtId.othr.schmeNm.cd
prvtIdTypePrtry=id.prvtId.othr.schmeNm.prtry
ctryOfRes=ctryOfRes
pstlAdrType=pstlAdr.adrTp.cd
pstlAdrCtry=pstlAdr.ctry
pstlAdrDept=pstlAdr.dept
pstlAdrSubDept=pstlAdr.subDept
pstlAdrStrtNm=pstlAdr.strtNm
pstlAdrBldgNb=pstlAdr.bldgNb
pstlAdrBldgNm=pstlAdr.bldgNm
pstlAdrFlr=pstlAdr.flr
pstlAdrRoom=pstlAdr.room
pstlAdrTwnNm=pstlAdr.twnNm
pstlAdrPstBx=pstlAdr.pstBx
pstlAdrPstCd=pstlAdr.pstCd
pstlAdrCtrySubDvsn=pstlAdr.ctrySubDvsn
pstlAdrDstrctNm=pstlAdr.dstrctNm
pstlAdrTwnLctnNm=pstlAdr.twnLctnNm
adrLines=pstlAdr.adrLine
phneNb=ctctDtls.phneNb
mobNb=ctctDtls.mobNb
faxNb=ctctDtls.faxNb
emailAdr=ctctDtls.emailAdr
# 原报文引用:如果origSnFRef不为空,则取origSnFRef否则取snFRef
snFRef=xsys01100101.dlvryNtfctn.snFRef
origSnFRef=xsys01100101.dlvryNtfctn.origSnFRef
snFRefType=xsys01100101.dlvryNtfctn.snFRefType
acceptStatus=xsys01100101.dlvryNtfctn.acceptStatus
ackSwiftTime=xsys01100101.dlvryNtfctn.ackSwiftTime
requestor=xsys01100101.dlvryNtfctn.requestHeader.requestor
responder=xsys01100101.dlvryNtfctn.requestHeader.responder
service=xsys01100101.dlvryNtfctn.requestHeader.service
requestType=xsys01100101.dlvryNtfctn.requestHeader.requestType
priority=xsys01100101.dlvryNtfctn.requestHeader.priority
requestRef=xsys01100101.dlvryNtfctn.requestHeader.requestRef
# 原报文引用:如果origSnFRef不为空,则取origSnFRef否则取snFRef
snFRef=xsys01200101.dlvryNtfctn.snFRef
origSnFRef=xsys01200101.dlvryNtfctn.origSnFRef
snFRefType=xsys01200101.dlvryNtfctn.snFRefType
acceptStatus=xsys01200101.dlvryNtfctn.acceptStatus
ackSwiftTime=xsys01200101.dlvryNtfctn.ackSwiftTime
requestor=xsys01200101.dlvryNtfctn.requestHeader.requestor
responder=xsys01200101.dlvryNtfctn.requestHeader.responder
service=xsys01200101.dlvryNtfctn.requestHeader.service
requestType=xsys01200101.dlvryNtfctn.requestHeader.requestType
priority=xsys01200101.dlvryNtfctn.requestHeader.priority
requestRef=xsys01200101.dlvryNtfctn.requestHeader.requestRef
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment