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
d5e16b5c
Commit
d5e16b5c
authored
May 30, 2022
by
zhanghou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成192,292,196,296的报文
parent
f1415941
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
AbstractMx2MtTagsGenerate.java
...com/brilliance/swift/mx2mt/AbstractMx2MtTagsGenerate.java
+1
-1
Field21Generate.java
...brilliance/swift/mx2mt/mt192292/impl/Field21Generate.java
+1
-1
Field76Generate.java
...brilliance/swift/mx2mt/mt196296/impl/Field76Generate.java
+3
-1
No files found.
swiftCore/src/main/java/com/brilliance/swift/mx2mt/AbstractMx2MtTagsGenerate.java
View file @
d5e16b5c
...
...
@@ -1435,7 +1435,7 @@ public abstract class AbstractMx2MtTagsGenerate implements Mx2MtTagsGenerate {
/**
*MX_To_MT76RCANC (MXStatus, MXCancellationStatusReasonInformation, MXUETR; MT76, MT77A)
* MXStatus对应的xml节点的值RsltnOfInvstgtn/Sts
* MXStatus对应的xml节点的值RsltnOfInvstgtn/Sts
/conf
* MXCancellationStatusReasonInformation对应xml节点的值 RsltnOfInvstgtn/CxlDtls/TxInfAndSts/CxlStsRsnInf
* MXUETR对应的xml节点的值 RsltnOfInvstgtn/CxlDtls/TxInfAndSts/OrgnlUETR
* RsltnOfInvstgtn/CxlDtls/TxInfAndSts/CxlStsRsnInf/Rsn/Cd 节点值值存在则赋值给MXReasonCode
...
...
swiftCore/src/main/java/com/brilliance/swift/mx2mt/mt192292/impl/Field21Generate.java
View file @
d5e16b5c
...
...
@@ -19,7 +19,7 @@ public class Field21Generate extends AbstractMx2MtTagsGenerate {
public
void
tagGenerate
()
throws
SwiftException
{
SwiftMessage
swiftMessage
=
context
.
get
(
SwiftMessage
.
class
);
List
<
Tag
>
tags
=
swiftMessage
.
getBlock4
().
getTags
();
String
orgnlInstrId
=
getXmlNodeValue
(
bodyHdrParentElementName
,
document
,
"FIToFIPmtCxlReq.Undrlyg.TxInf.OrgnlInstrId
"
);
String
orgnlInstrId
=
getXmlNodeValue
(
bodyHdrParentElementName
,
document
,
"FIToFIPmtCxlReq.Undrlyg.TxInf.OrgnlInstrId"
);
if
(
StringUtil
.
isNotEmpty
(
orgnlInstrId
))
{
tags
.
add
(
new
Tag
(
name
,
orgnlInstrId
));
}
...
...
swiftCore/src/main/java/com/brilliance/swift/mx2mt/mt196296/impl/Field76Generate.java
View file @
d5e16b5c
...
...
@@ -25,7 +25,9 @@ public class Field76Generate extends AbstractMx2MtTagsGenerate {
String
sts
=
getXmlNodeValue
(
bodyHdrParentElementName
,
document
,
"RsltnOfInvstgtn.Sts.Conf"
);
List
<
String
>
list
=
mXToMT76RCANC
(
sts
,
uetr
,
"RsltnOfInvstgtn.CxlDtls.TxInfAndSts.CxlStsRsnInf"
);
if
(
list
.
size
()>
0
&&
StringUtil
.
isNotEmpty
(
list
.
get
(
0
))){
tags
.
add
(
new
Tag
(
name_76
,
list
.
get
(
0
)));
if
(
StringUtil
.
isNotEmpty
(
list
.
get
(
0
))){
tags
.
add
(
new
Tag
(
name_76
,
list
.
get
(
0
)));
}
if
(
StringUtil
.
isNotEmpty
(
list
.
get
(
1
))){
tags
.
add
(
new
Tag
(
name_77A
,
list
.
get
(
1
)));
}
...
...
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