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
e3087e6b
Commit
e3087e6b
authored
2 years ago
by
zhanghou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整mt2mx pacs008的71域的逻辑顺序
parent
9dd91297
ncbgjzf
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
Pacs00801Parse71Field.java
...ce/swift/mt2mx/pacs008001/impl/Pacs00801Parse71Field.java
+10
-10
No files found.
swiftCore/src/main/java/com/brilliance/swift/mt2mx/pacs008001/impl/Pacs00801Parse71Field.java
View file @
e3087e6b
...
...
@@ -45,16 +45,6 @@ public class Pacs00801Parse71Field extends AbstractMt2MxPacs008001ParseField {
cdtTrfTxInfMaps
.
put
(
"chrgBr"
,
chargeForEnum
.
value
());
}
}
if
(
field71G
!=
null
)
{
String
ccy
=
field71G
.
getCurrency
();
BigDecimal
amt
=
field71G
.
amount
();
Map
<
String
,
Object
>
chrgsInfMaps
=
new
HashMap
<
String
,
Object
>();
MapUtil
.
adds
(
cdtTrfTxInfMaps
,
"chrgsInf"
,
chrgsInfMaps
);
MapUtil
.
puts
(
chrgsInfMaps
,
"amt/value"
,
amt
);
MapUtil
.
puts
(
chrgsInfMaps
,
"amt/ccy"
,
ccy
);
String
receiverBic
=
(
String
)
context
.
get
(
Mt2MxContextIdentifier
.
MT_RECEIVE_BIC
,
true
);
MapUtil
.
puts
(
chrgsInfMaps
,
"agt/finInstnId/bicfi"
,
receiverBic
);
}
Tag
[]
tags
=
abstractMT
.
getSwiftMessage
().
getBlock4
().
getTagsByName
(
NAME_F
);
if
(
tags
!=
null
&&
tags
.
length
>
0
)
{
JSONArray
jsonArray
=
new
JSONArray
();
...
...
@@ -71,5 +61,15 @@ public class Pacs00801Parse71Field extends AbstractMt2MxPacs008001ParseField {
MapUtil
.
adds
(
chrgsInfMaps
,
"agt/finInstnId/pstlAdr/adrLine"
,
Mx2MtConstants
.
MX_TO_MT_DEFAULT_VALUE
);
}
}
if
(
field71G
!=
null
)
{
String
ccy
=
field71G
.
getCurrency
();
BigDecimal
amt
=
field71G
.
amount
();
Map
<
String
,
Object
>
chrgsInfMaps
=
new
HashMap
<
String
,
Object
>();
MapUtil
.
adds
(
cdtTrfTxInfMaps
,
"chrgsInf"
,
chrgsInfMaps
);
MapUtil
.
puts
(
chrgsInfMaps
,
"amt/value"
,
amt
);
MapUtil
.
puts
(
chrgsInfMaps
,
"amt/ccy"
,
ccy
);
String
receiverBic
=
(
String
)
context
.
get
(
Mt2MxContextIdentifier
.
MT_RECEIVE_BIC
,
true
);
MapUtil
.
puts
(
chrgsInfMaps
,
"agt/finInstnId/bicfi"
,
receiverBic
);
}
}
}
This diff is collapsed.
Click to expand it.
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