Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swiftMtMx
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
isc-v3.1-tmp
swiftMtMx
Commits
41e17036
Commit
41e17036
authored
Jan 04, 2023
by
zhanghou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改部分文件内容
parent
66ff4dad
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
52 additions
and
49 deletions
+52
-49
MT202REJ.txt
swiftCore/src/main/resources/swiftTxt/MT202REJ.txt
+10
-0
MT942.txt
swiftCore/src/main/resources/swiftTxt/MT942.txt
+11
-0
MXcamt05200108_full.xml
...tCore/src/main/resources/swiftXml/MXcamt05200108_full.xml
+7
-31
MxCamt02900109_full.xml
...tCore/src/main/resources/swiftXml/MxCamt02900109_full.xml
+0
-16
MxCamt05300108_full.xml
...tCore/src/main/resources/swiftXml/MxCamt05300108_full.xml
+12
-0
Mt2MxTest.java
swiftCore/src/test/java/com/brilliance/Mt2MxTest.java
+12
-2
No files found.
swiftCore/src/main/resources/swiftTxt/MT202REJ.txt
0 → 100644
View file @
41e17036
{1:F01FOOBARC0AXXX4402221388}{2:O2021010200908BANKANC0AXXX50363658012204281624U}{3:{111:001}{121:8a562c67-ca16-48ba-b074-65581be6f001}}{4:
:20:TBEXO12345
:21:XSJSK12334
:72:/REJT/56
/BE04/
/MREF/Sample A
/MREF/Sample B
/CHGS/EUR20,
-}
\ No newline at end of file
swiftCore/src/main/resources/swiftTxt/MT942.txt
0 → 100644
View file @
41e17036
{1:F01NDEAFIHHXXXX0000000000}{2:O9420000991231HELSFIHHXXXX00000000009912310000N}{4:
:20:100-01
:25P:AT611904300234573201
CHASUS33
:28C:9856/1
:34F:EUR0,
:13D:2007161920+0100
:61:2011251125ED200,NTRF123456
:90C:12EUR100,
-}{5:{CHK:3DFE809487ED}}
\ No newline at end of file
swiftCore/src/main/resources/swiftXml/MXcamt05200108_full.xml
View file @
41e17036
...
...
@@ -48,8 +48,6 @@ Change Log
<MsgDefIdr>
camt.52.001.08
</MsgDefIdr>
<BizSvc>
swift.cbprplus.02
</BizSvc>
<CreDt>
2021-02-17T16:15:00+01:00
</CreDt>
<CpyDplct>
COPY
</CpyDplct>
<PssblDplct>
Yes
</PssblDplct>
<Prty>
NORM
</Prty>
<Rltd>
<Fr>
...
...
@@ -207,7 +205,7 @@ Change Log
<Cd>
BBAN
</Cd>
<Prtry>
FFF
</Prtry>
</Tp>
<Ccy>
USD
</Ccy>
<Ccy>
EUR
</Ccy>
<Nm>
TEST
</Nm>
<Prxy>
<Tp>
...
...
@@ -374,7 +372,7 @@ Change Log
<Cd>
BBAN
</Cd>
<Prtry>
CFR
</Prtry>
</Tp>
<Ccy>
USD
</Ccy>
<Ccy>
EUR
</Ccy>
<Nm>
TEXT
</Nm>
<Prxy>
<Tp>
...
...
@@ -395,30 +393,8 @@ Change Log
<Othr>
345
</Othr>
</Tp>
<VldtyRg>
<Amt>
<FrAmt>
<BdryAmt>
500000
</BdryAmt>
<Incl>
Yes
</Incl>
</FrAmt>
<ToAmt>
<BdryAmt>
500000
</BdryAmt>
<Incl>
No
</Incl>
</ToAmt>
<FrToAmt>
<FrAmt>
<BdryAmt>
500000
</BdryAmt>
<Incl>
Yes
</Incl>
</FrAmt>
<ToAmt>
<BdryAmt>
500000
</BdryAmt>
<Incl>
No
</Incl>
</ToAmt>
</FrToAmt>
<EQAmt>
500000
</EQAmt>
<NEQAmt>
10
</NEQAmt>
</Amt>
<CdtDbtInd>
CRDT
</CdtDbtInd>
<Ccy>
USD
</Ccy>
<Ccy>
EUR
</Ccy>
</VldtyRg>
</Rate>
<FrToDt>
...
...
@@ -429,7 +405,7 @@ Change Log
<Tax>
<Id>
ABC
</Id>
<Rate>
5
</Rate>
<Amt
Ccy=
"
USD
"
>
123
</Amt>
<Amt
Ccy=
"
EUR
"
>
123
</Amt>
</Tax>
</Intrst>
<Bal>
...
...
@@ -449,7 +425,7 @@ Change Log
<Cd>
QWER
</Cd>
<Prtry>
DF
</Prtry>
</Tp>
<Amt
Ccy=
"
USD
"
>
30.00
</Amt>
<Amt
Ccy=
"
EUR
"
>
30.00
</Amt>
<Dt>
<Dt>
2023-01-03
</Dt>
<DtTm>
2020-07-16T19:20:30.45+01:00
</DtTm>
...
...
@@ -466,7 +442,7 @@ Change Log
<NbOfDays>
1
</NbOfDays>
<ActlDt>
2020-08-04
</ActlDt>
</Dt>
<Amt
Ccy=
"
USD
"
>
56.23
</Amt>
<Amt
Ccy=
"
EUR
"
>
56.23
</Amt>
<CdtDbtInd>
CRDT
</CdtDbtInd>
</Avlbty>
</Bal>
...
...
@@ -509,7 +485,7 @@ Change Log
<Refs>
<EndToEndId>
123456
</EndToEndId>
</Refs>
<Amt
Ccy=
"
USD
"
>
35.05
</Amt>
<Amt
Ccy=
"
EUR
"
>
35.05
</Amt>
<CdtDbtInd>
CRDT
</CdtDbtInd>
<AddtlTxInf>
testtest2
</AddtlTxInf>
</TxDtls>
...
...
swiftCore/src/main/resources/swiftXml/MxCamt02900109_full.xml
View file @
41e17036
...
...
@@ -18,13 +18,6 @@ Change Log
<FIId>
<FinInstnId>
<BICFI>
HELSFIHH
</BICFI>
<ClrSysMmbId>
<ClrSysId>
<Cd>
AUBSB
</Cd>
</ClrSysId>
<MmbId>
ABC
</MmbId>
</ClrSysMmbId>
<LEI>
123456789012345678
</LEI>
</FinInstnId>
</FIId>
</Fr>
...
...
@@ -32,13 +25,6 @@ Change Log
<FIId>
<FinInstnId>
<BICFI>
NDEAFIHH
</BICFI>
<ClrSysMmbId>
<ClrSysId>
<Cd>
ATBLZ
</Cd>
</ClrSysId>
<MmbId>
DEF
</MmbId>
</ClrSysMmbId>
<LEI>
123456789123456789
</LEI>
</FinInstnId>
</FIId>
</To>
...
...
@@ -46,8 +32,6 @@ Change Log
<MsgDefIdr>
camt.029.001.09
</MsgDefIdr>
<BizSvc>
swift.cbprplus.02
</BizSvc>
<CreDt>
2021-02-17T16:15:00+01:00
</CreDt>
<CpyDplct>
COPY
</CpyDplct>
<PssblDplct>
Yes
</PssblDplct>
<Prty>
NORM
</Prty>
<Rltd>
<Fr>
...
...
swiftCore/src/main/resources/swiftXml/MxCamt05300108_full.xml
View file @
41e17036
...
...
@@ -53,6 +53,18 @@
<Bal>
<Tp>
<CdOrPrtry>
<Cd>
OPBD
</Cd>
</CdOrPrtry>
</Tp>
<Amt
Ccy=
"EUR"
>
58537.21
</Amt>
<CdtDbtInd>
CRDT
</CdtDbtInd>
<Dt>
<Dt>
2020-08-04
</Dt>
</Dt>
</Bal>
<Bal>
<Tp>
<CdOrPrtry>
<Cd>
CLBD
</Cd>
</CdOrPrtry>
</Tp>
...
...
swiftCore/src/test/java/com/brilliance/Mt2MxTest.java
View file @
41e17036
...
...
@@ -52,8 +52,18 @@ public class Mt2MxTest {
}
@Test
public
void
testPacs009001
()
{
test
(
"/swiftTxt/MT202.txt"
,
null
);
}
@Test
public
void
testCamt052001
()
{
test
(
"/swiftTxt/MT942.txt"
,
null
);
}
@Test
public
void
testCamt053001
()
{
test
(
"/swiftTxt/MT9
5
0.txt"
,
null
);
test
(
"/swiftTxt/MT9
4
0.txt"
,
null
);
}
@Test
...
...
@@ -63,7 +73,7 @@ public class Mt2MxTest {
@Test
public
void
testCamt056001
()
{
test
(
"/swiftTxt/MT
2
92.txt"
,
null
);
test
(
"/swiftTxt/MT
1
92.txt"
,
null
);
}
@Test
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment