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
b974a2c9
Commit
b974a2c9
authored
2 years ago
by
chengzhuoshen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.mx2MtMap增加mt报文
2.修改配置文件
parent
376f6c7a
ncbgjzf
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
MxMessageReader.java
.../main/java/com/brilliance/swift/util/MxMessageReader.java
+4
-3
pacs009001.properties
swiftCore/src/main/resources/template/pacs009001.properties
+1
-1
No files found.
swiftCore/src/main/java/com/brilliance/swift/util/MxMessageReader.java
View file @
b974a2c9
...
...
@@ -30,6 +30,7 @@ public class MxMessageReader {
return
null
;
}
Map
<
String
,
String
>
infMap
=
new
HashMap
();
infMap
.
put
(
"swtMsg"
,
str
.
getMessage
());
AbstractMT
abstractMT
=
AbstractMT
.
parse
(
mtStr
);
SwiftBlock5
swiftBlock5
=
abstractMT
.
getSwiftMessage
().
getBlock5
();
if
(
swiftBlock5
!=
null
&&
swiftBlock5
.
getTags
().
size
()
>
0
)
{
...
...
@@ -448,11 +449,11 @@ public class MxMessageReader {
}
if
(
failureFlag
)
{
infMap
.
put
(
"err
orCo
de"
,
"E"
);
//
infMap
.
put
(
"err
C
de"
,
"E"
);
//
}
else
{
infMap
.
put
(
"err
orCo
de"
,
"S"
);
//
infMap
.
put
(
"err
C
de"
,
"S"
);
//
}
infMap
.
put
(
"err
or
Dsp"
,
errorDsp
);
infMap
.
put
(
"errDsp"
,
errorDsp
);
return
infMap
;
}
catch
(
IOException
e
)
{
throw
new
SwiftException
(
e
.
getMessage
());
...
...
This diff is collapsed.
Click to expand it.
swiftCore/src/main/resources/template/pacs009001.properties
View file @
b974a2c9
#APPLICATION HEADER
rBic
=
appHdr.fr.fiId.finInstnId.bicfi?appHdr.fr.orgId.id.orgId.anyBIC
f
rBic
=
appHdr.fr.fiId.finInstnId.bicfi?appHdr.fr.orgId.id.orgId.anyBIC
toBic
=
appHdr.to.fiId.finInstnId.bicfi?appHdr.to.orgId.id.orgId.anyBIC
bizMsgIdr
=
fiCdtTrf.cdtTrfTxInf.pmtId.instrId?fiCdtTrf.grpHdr.msgId?appHdr.bizMsgIdr
msgDefIdr
=
appHdr.msgDefIdr
...
...
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