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
32395c3b
Commit
32395c3b
authored
Oct 13, 2022
by
chengzhuoshen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改MX103报文要素展示代码
parent
adafc165
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletions
+10
-1
Mx2MapPacs008Creator.java
...brilliance/swift/mx2map/pacs008/Mx2MapPacs008Creator.java
+6
-1
Messages_CN.properties
swiftCore/src/main/resources/Messages_CN.properties
+2
-0
Messages_US.properties
swiftCore/src/main/resources/Messages_US.properties
+2
-0
No files found.
swiftCore/src/main/java/com/brilliance/swift/mx2map/pacs008/Mx2MapPacs008Creator.java
View file @
32395c3b
...
...
@@ -42,7 +42,12 @@ public class Mx2MapPacs008Creator extends AbstractMx2MapCreator {
maps
.
put
(
getPropertyValue
(
"uetr"
),
elementMaps
.
get
(
"uetr"
));
}
if
(
elementMaps
.
get
(
"sttlmMtd"
)
!=
null
)
{
maps
.
put
(
getPropertyValue
(
"settlement.method"
),
elementMaps
.
get
(
"sttlmMtd"
));
String
settlementMethod
=
(
String
)
elementMaps
.
get
(
"sttlmMtd"
);
if
(
SettlementMethodCode
.
COVE
.
value
().
equals
(
settlementMethod
))
{
maps
.
put
(
getPropertyValue
(
"settlement.method"
),
elementMaps
.
get
(
"sttlmMtd"
)
+
"("
+
getPropertyValue
(
"doubleMessage"
)+
")"
);
}
else
{
maps
.
put
(
getPropertyValue
(
"settlement.method"
),
elementMaps
.
get
(
"sttlmMtd"
)
+
"("
+
getPropertyValue
(
"simpleMessage"
)+
")"
);
}
}
if
(
elementMaps
.
get
(
"sttlmAcctIdIban"
)
!=
null
)
{
maps
.
put
(
getPropertyValue
(
"settlement.acct"
),
elementMaps
.
get
(
"sttlmAcctIdIban"
));
...
...
swiftCore/src/main/resources/Messages_CN.properties
View file @
32395c3b
...
...
@@ -41,6 +41,8 @@ settlement.amt=\u53d1\u6c47\u91d1\u989d
original.settlement.amt
=
\u6536\u
6c47
\u
91d1
\u
989d
exchange.rate
=
\u
6c47
\u7387
ccy
=
\u
5e01
\u
79cd
doubleMessage
=
\u
53cc
\u
62a5
simpleMessage
=
\u5355\u
62a5
creditTransferInfo
=
\u
6c47
\u7968\u
57fa
\u7840\u
4fe1
\u
606f
dbtrInfo
=
\u
6c47
\u
6b3e
\u
65b9
\u
4fe1
\u
606f
dbtrAgtInfo
=
\u
6c47
\u
6b3e
\u
884c
\u
4fe1
\u
606f
...
...
swiftCore/src/main/resources/Messages_US.properties
View file @
32395c3b
...
...
@@ -41,6 +41,8 @@ settlement.amt=Interbank Settlement Amount
original.settlement.amt
=
Instructed Amount
exchange.rate
=
Exchange Rate
ccy
=
Currency
doubleMessage
=
Double Mesage
simpleMessage
=
Simple Message
creditTransferInfo
=
Credit Transfer Info
dbtrInfo
=
Debtor
dbtrAgtInfo
=
Debtor Agent
...
...
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