Commit 8024bf05 by chengzhuoshen

template and xml

parent fc92d441
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:camt.054.001.02">
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Envelope xmlns="urn:swift:xsd:envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:swift:xsd:envelope ../../../../Schemas/Translator_envelope.xsd">
<AppHdr xmlns="urn:iso:std:iso:20022:tech:xsd:head.001.001.02">
<Fr>
<FIId>
<FinInstnId>
<BICFI>DEUTDEFF</BICFI>
</FinInstnId>
</FIId>
</Fr>
<To>
<FIId>
<FinInstnId>
<BICFI>DEUTNL2A</BICFI>
</FinInstnId>
</FIId>
</To>
<BizMsgIdr>pacs8bizmsgidr02</BizMsgIdr>
<MsgDefIdr>camt.054.001.02</MsgDefIdr>
<BizSvc>swift.cbprplus.02</BizSvc>
<CreDt>2020-09-08T10:10:47+08:00</CreDt>
</AppHdr>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:camt.054.001.02">
<BkToCstmrDbtCdtNtfctn>
<GrpHdr>
<MsgId>FRDA000003421606</MsgId>
......@@ -15,13 +36,13 @@
</Id>
<Svcr>
<FinInstnId>
<BIC>40457258</BIC>
<BIC>DEUTNL2A</BIC>
</FinInstnId>
</Svcr>
<Ownr>
<Id>
<OrgId>
<BICOrBEI>SHWHQWER123</BICOrBEI>
<BICOrBEI>DEUTDEFF</BICOrBEI>
</OrgId>
</Id>
</Ownr>
......@@ -184,4 +205,5 @@
</Ntry>
</Ntfctn>
</BkToCstmrDbtCdtNtfctn>
</Document>
\ No newline at end of file
</Document>
</Envelope>
\ No newline at end of file
{1:F01${vm.receiverBic}0001000001}{2:${vm.isCov}${vm.createTime}${vm.createDate}${vm.senderBic}0002000001${vm.outDate}${vm.outTime}N}{3:{108:178908658RSC1}{111:001}{121:9bc16ba2-76e0-4651-b225-3bae8552f17a}#if(${vm.cov})
${vm.cov}#end}{4:
{1:$vm.head1}{2:$vm.head2}#if(!$null.isNull($vm.head3) && $vm.head3.length()>0){3:$vm.head3}#end{4:
:20:$vm.field20
:21:$vm.field21
#if(!$null.isNull($vm.filed13CList) && $vm.filed13CList.size()!=0)
#foreach($field13C in $vm.filed13CList)
#if(!$null.isNull($vm.field13cList) && $vm.field13cList.size()!=0)
#foreach($field13C in $vm.field13cList)
:13C:$field13C
#end
#end
:32A:$vm.field32A
#if($vm.field52Key=='A')
#if($vm.field52Option=='A')
:52A:$vm.field52A
#if($vm.field52Account)
$vm.field52Account
#elseif($vm.field52Option=='D')
:52D:$vm.field52A
#end
#elseif($vm.field52Key == 'D')
#if($vm.field52DAdr)
:52D:$vm.field52DAdr
#end
#if($vm.field52Account)
$vm.field52Account
#end
#end
#if($vm.field53AKey=='A')
#if($vm.field53A)
#if($vm.field53Option=='A')
:53A:$vm.field53A
#elseif($vm.field53Option=='B')
:53B:$vm.field53A
#elseif($vm.field53Option=='D')
:53D:$vm.field53A
#end
#if($vm.field53Account)
$vm.field53Account
#end
#elseif($vm.field53BKey == 'B')
#if($vm.field53Account)
:53B:$vm.field53Account
#end
#elseif($vm.field53DKey == 'D')
#if($vm.field53Adr)
:53D:$vm.field53Adr
#if($vm.field53Account)
$vm.field53Account
#end
#end
#end
#if($vm.field54AKey=='A')
#if($vm.field54Option=='A')
:54A:$vm.field54A
#if($vm.field54Account)
$vm.field54Account
#end
#elseif($vm.field54DKey == 'D')
#if($vm.field54Adr)
:54D:$vm.field54Adr
#end
#if($vm.field54Account)
$vm.field54Account
#elseif($vm.field54Option=='D')
:54D:$vm.field54A
#end
#end
#if($vm.field56AKey=='A')
#if($vm.field56Option=='A')
:56A:$vm.field56A
#if($vm.field56Account)
$vm.field56Account
#end
#elseif($vm.field56DKey == 'D')
#if($vm.field56Adr)
:56D:$vm.field56Adr
#end
#if($vm.field56Account)
$vm.field56Account
#elseif($vm.field56Option=='D')
:56D:$vm.field56A
#end
#end
#if($vm.field57AKey=='A')
#if($vm.field57Option=='A')
:57A:$vm.field57A
#if($vm.field57Account)
$vm.field57Account
#end
#elseif($vm.field57DKey == 'D')
#if($vm.field57Adr)
:57D:$vm.field57Adr
#end
#if($vm.field57Account)
$vm.field57Account
#elseif($vm.field57Option=='D')
:57D:$vm.field57A
#end
#end
#if($vm.field58AKey=='A')
#if($vm.field58Option=='A')
:58A:$vm.field58A
#if($vm.field58Account)
$vm.field58Account
#end
#elseif($vm.field58DKey == 'D')
#if($vm.field58Adr)
:58D:$vm.field58Adr
#end
#if($vm.field58Account)
$vm.field58Account
#end
#end
#if(!$null.isNull($vm.filed72) && $vm.filed72.length()>0)
:72:$vm.filed72
#end
#if($vm.fieldB50Option=='A')
#if($vm.field50A)
:50A:$vm.fieldB50A
#end
#if($vm.fieldB50Account)
$vm.fieldB50Account
#end
#elseif($vm.fieldB50Option == 'F')
#if($vm.fieldB50F)
:50F:$vm.fieldB50F
#end
#if($vm.fieldB50Account)
$vm.fieldB50Account
#end
#elseif($vm.fieldB50Option == 'K')
#if($vm.fieldB50K)
:50K:$vm.fieldB50K
#end
#if($vm.fieldB50Account)
$vm.fieldB50Account
#end
#end
#if($vm.fieldB52Option=='A')
:52A:$vm.fieldB52A
#if($vm.fieldB52Account)
$vm.fieldB52Account
#end
#elseif($vm.fieldB52Option == 'D')
#if($vm.fieldB52D)
:52D:$vm.fieldB52D
#end
#if($vm.fieldB52Account)
$vm.fieldB52Account
#end
#end
#if($vm.fieldB56Option=='A')
#if($vm.fieldB56A)
:56A:$vm.fieldB56A
#end
#if($vm.fieldB56Account)
$vm.fieldB56Account
#end
#elseif($vm.fieldB56Option == 'C')
#if($vm.fieldB56Account)
:56C:$vm.fieldB56Account
#end
#elseif($vm.fieldB56Option == 'D')
#if($vm.fieldB56D)
:56K:$vm.fieldB56D
#end
#if($vm.fieldB56Account)
$vm.fieldB56Account
#end
#end
#if($vm.fieldB57Option=='A')
#if($vm.fieldB57)
:57A:$vm.fieldB57
#end
#if($vm.fieldB57Account)
$vm.fieldB57Account
#end
#elseif($vm.fieldB57Option == 'C')
#if($vm.fieldB57Account)
:57C:$vm.fieldB57Account
#end
#elseif($vm.fieldB57Option == 'D')
#if($vm.fieldB57D)
:57D:$vm.fieldB57D
#end
#if($vm.fieldB57Account)
$vm.fieldB57Account
#end
#end
#if($vm.fieldB59Option=='')
:59:$vm.fieldB59
#if($vm.fieldB59Account)
$vm.fieldB59Account
#end
#elseif($vm.fieldB59Option == 'A')
#if($vm.fieldB59A)
:59A:$vm.fieldB59A
#end
#if($vm.fieldB59Account)
$vm.fieldB59Account
#end
#end
#if(!$null.isNull($vm.field70) && $vm.field70.length()>0)
:70:$vm.field70
#end
#if(!$null.isNull($vm.field33B) && $vm.field33B.length()>0)
#elseif($vm.field58Option=='D')
:58D:$vm.field58A
#end
#if(!$null.isNull($vm.field72) && $vm.field72.length() > 0)
:72:$vm.field72
#end
#if($vm.field50BOption=='A')
:50A:$vm.field50B
#elseif($vm.field50BOption=='F')
:50F:$vm.field50B
#elseif($vm.field50BOption=='K')
:50K:$vm.field50B
#end
#if($vm.field52BOption=='A')
:52A:$vm.field52B
#elseif($vm.field52BOption=='D')
:52D:$vm.field52B
#end
#if($vm.field56BOption=='A')
:56A:$vm.field56B
#elseif($vm.field56BOption=='C')
:56C:$vm.field56B
#elseif($vm.field56BOption=='D')
:56D:$vm.field56B
#end
#if($vm.field57BOption=='A')
:57A:$vm.field57B
#elseif($vm.field57BOption=='C')
:57C:$vm.field57B
#elseif($vm.field57BOption=='D')
:57D:$vm.field57B
#end
#if($vm.field59BOption=='A')
:59A:$vm.field59B
#elseif($vm.field59BOption=='NOLETTER')
:59:$vm.field59B
#end
#if(!$null.isNull($vm.field70B) && $vm.field70B.length() > 0)
:70:$vm.field70B
#end
#if(!$null.isNull($vm.filed72B) && $vm.filed72B.length() > 0)
:72:$vm.filed72B
#end
#if(!$null.isNull($vm.field33B) && $vm.field33B.length() > 0)
:33B:$vm.field33B
#end
-}{5:{MAC:6342F3D2}{CHK:C412E5AF7797}{DLM:}}
\ No newline at end of file
-}#if(!$null.isNull($vm.head5) && $vm.head5.length()>0){5:$vm.head5}#end
\ No newline at end of file
{1:F01${vm.receiverBic}0001000001}{2:O${vm.mtType}${vm.createTime}${vm.createDate}${vm.senderBic}0002000001${vm.outDate}${vm.outTime}N}{3:{108:178908658RSC1}{111:001}{121:9bc16ba2-76e0-4651-b225-3bae8552f17a}}{4:
{1:$vm.head1}{2:$vm.head2}#if(!$null.isNull($vm.head3) && $vm.head3.length()>0){3:$vm.head3}#end{4:
:20:$vm.field20
:21:$vm.field21
:25:$vm.field25a
#if(!$null.isNull($vm.field13D) && $vm.field13D.length()>0)
:13:$vm.field13D
:13D:$vm.field13D
#end
:32A:$vm.field32A
#if($vm.field50aOption=="A")
......@@ -26,4 +26,4 @@
#if(!$null.isNull($vm.field72) && $vm.field72.length()>0)
:72:$vm.field72
#end
-}{5:{MAC:6342F3D2}{CHK:C412E5AF7797}{DLM:}}
-}#if(!$null.isNull($vm.head5) && $vm.head5.length()>0){5:$vm.head5}#end
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