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
09cc98c3
Commit
09cc98c3
authored
Sep 18, 2024
by
jianglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改instrForNxtAgt数组格式支持
parent
a760a2ad
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
8 deletions
+29
-8
Element2MxForSSTF.java
...va/com/brilliance/swift/element2mx/Element2MxForSSTF.java
+16
-1
Mx2ElementForSSTF.java
...va/com/brilliance/swift/mx2element/Mx2ElementForSSTF.java
+7
-1
sstf-pacs008001.properties
...re/src/main/resources/template/sstf-pacs008001.properties
+2
-2
sstf-pacs009001.properties
...re/src/main/resources/template/sstf-pacs009001.properties
+4
-4
No files found.
swiftCore/src/main/java/com/brilliance/swift/element2mx/Element2MxForSSTF.java
View file @
09cc98c3
...
...
@@ -235,7 +235,22 @@ public class Element2MxForSSTF {
elementMap
.
put
(
"chrgsInf"
,
oldValList
);
}
//undrlInstrForNxtAgtInstrInf
}
else
if
(
elementTag
.
startsWith
(
"instrForNxtAgtInstrInf"
)
){
List
<
Map
<
String
,
Object
>>
oldValList
=
(
List
<
Map
<
String
,
Object
>>)
elementMap
.
getOrDefault
(
"instrForNxtAgt"
,
new
ArrayList
<>());
Map
<
String
,
Object
>
instrForNxtAgtMap
=
new
HashMap
<>();
oldValList
.
add
(
instrForNxtAgtMap
);
MapUtil
.
puts
(
instrForNxtAgtMap
,
"instrInf"
,
val
);
elementMap
.
put
(
"instrForNxtAgt"
,
oldValList
);
}
else
if
(
elementTag
.
startsWith
(
"undrlInstrForNxtAgtInstrInf"
)
){
List
<
Map
<
String
,
Object
>>
oldValList
=
(
List
<
Map
<
String
,
Object
>>)
elementMap
.
getOrDefault
(
"undrlInstrForNxtAgt"
,
new
ArrayList
<>());
Map
<
String
,
Object
>
undrlInstrForNxtAgtMap
=
new
HashMap
<>();
oldValList
.
add
(
undrlInstrForNxtAgtMap
);
MapUtil
.
puts
(
undrlInstrForNxtAgtMap
,
"instrInf"
,
val
);
elementMap
.
put
(
"undrlInstrForNxtAgt"
,
oldValList
);
}
else
{
atrbut
=
atrbutMap
.
getOrDefault
(
elementTag
,
"1"
);
if
(
"1"
.
equals
(
atrbut
))
{
...
...
swiftCore/src/main/java/com/brilliance/swift/mx2element/Mx2ElementForSSTF.java
View file @
09cc98c3
...
...
@@ -178,7 +178,13 @@ public class Mx2ElementForSSTF {
mtStr
.
append
(
":chrgsInfAmt:"
+
amt
).
append
(
CR
);
String
chrgsInfAgtBICFI
=
MapUtil
.
gets
((
Map
)
obj1
.
get
(
i
),
"agt/finInstnId/bicfi"
);
mtStr
.
append
(
":chrgsInfAgtBICFI:"
+
chrgsInfAgtBICFI
).
append
(
CR
);
}
else
{
}
else
if
(
"instrForNxtAgt"
.
equals
(
key
)){
String
instrInf
=
MapUtil
.
gets
((
Map
)
obj1
.
get
(
i
),
"instrInf"
);
mtStr
.
append
(
":instrForNxtAgtInstrInf:"
+
instrInf
).
append
(
CR
);
}
else
if
(
"undrlInstrForNxtAgt"
.
equals
(
key
))
{
String
instrInf
=
MapUtil
.
gets
((
Map
)
obj1
.
get
(
i
),
"instrInf"
);
mtStr
.
append
(
":undrlInstrForNxtAgtInstrInf:"
+
instrInf
).
append
(
CR
);
}
else
{
val
=
obj1
.
get
(
i
).
toString
();
if
(
fldtypMap
.
containsKey
(
key
)
&&
"XML"
.
equals
(
fldtypMap
.
get
(
key
))
&&
obj1
.
get
(
i
)
instanceof
Map
)
{
val
=
XmlUtil
.
mapToXmlStr
((
Map
)
obj1
.
get
(
i
),
xmltagMap
.
getOrDefault
(
key
,
""
),
""
,
true
);
...
...
swiftCore/src/main/resources/template/sstf-pacs008001.properties
View file @
09cc98c3
...
...
@@ -1006,8 +1006,8 @@ ultmtCdtrCtryOfRes=fiToFICstmrCdtTrf.cdtTrfTxInf.ultmtCdtr.ctryOfRes
#instrForCdtrAgt=fiToFICstmrCdtTrf.cdtTrfTxInf.instrForCdtrAgt
instrForCdtrAgtCd
=
fiToFICstmrCdtTrf.cdtTrfTxInf.instrForCdtrAgt.cd
instrForCdtrAgtInstrInf
=
fiToFICstmrCdtTrf.cdtTrfTxInf.instrForCdtrAgt.instrInf
#
instrForNxtAgt=fiToFICstmrCdtTrf.cdtTrfTxInf.instrForNxtAgt
instrForNxtAgtInstrInf
=
fiToFICstmrCdtTrf.cdtTrfTxInf.instrForNxtAgt.instrInf
instrForNxtAgt
=
fiToFICstmrCdtTrf.cdtTrfTxInf.instrForNxtAgt
#
instrForNxtAgtInstrInf=fiToFICstmrCdtTrf.cdtTrfTxInf.instrForNxtAgt.instrInf
purpCd
=
fiToFICstmrCdtTrf.cdtTrfTxInf.purp.cd
purpPrtry
=
fiToFICstmrCdtTrf.cdtTrfTxInf.purp.prtry
...
...
swiftCore/src/main/resources/template/sstf-pacs009001.properties
View file @
09cc98c3
...
...
@@ -959,8 +959,8 @@ cdtrAcctPrxyId=fiCdtTrf.cdtTrfTxInf.cdtrAcct.prxy.id
#instrForCdtrAgt=fiCdtTrf.cdtTrfTxInf.instrForCdtrAgt
instrForCdtrAgtCd
=
fiCdtTrf.cdtTrfTxInf.instrForCdtrAgt.cd
instrForCdtrAgtInstrInf
=
fiCdtTrf.cdtTrfTxInf.instrForCdtrAgt.instrInf
#
instrForNxtAgt=fiCdtTrf.cdtTrfTxInf.instrForNxtAgt
instrForNxtAgtInstrInf
=
fiCdtTrf.cdtTrfTxInf.instrForNxtAgt.instrInf
instrForNxtAgt
=
fiCdtTrf.cdtTrfTxInf.instrForNxtAgt
#
instrForNxtAgtInstrInf=fiCdtTrf.cdtTrfTxInf.instrForNxtAgt.instrInf
#purp=fiCdtTrf.cdtTrfTxInf.purp
purpCd
=
fiCdtTrf.cdtTrfTxInf.purp.cd
purpPrtry
=
fiCdtTrf.cdtTrfTxInf.purp.prtry
...
...
@@ -1586,8 +1586,8 @@ undrlUltmtCdtrIdPrvtIdOthrIssr=fiCdtTrf.cdtTrfTxInf.undrlygCstmrCdtTrf.ultmtCdtr
undrlUltmtCdtrCtryOfRes
=
fiCdtTrf.cdtTrfTxInf.undrlygCstmrCdtTrf.ultmtCdtr.ctryOfRes
#undrlInstrForCdtrAgt=fiCdtTrf.cdtTrfTxInf.undrlygCstmrCdtTrf.instrForCdtrAgt
undrlInstrForCdtrAgtInstrInf
=
fiCdtTrf.cdtTrfTxInf.undrlygCstmrCdtTrf.instrForCdtrAgt.instrInf
#
undrlInstrForNxtAgt=fiCdtTrf.cdtTrfTxInf.undrlygCstmrCdtTrf.instrForNxtAgt
undrlInstrForNxtAgtInstrInf
=
fiCdtTrf.cdtTrfTxInf.undrlygCstmrCdtTrf.instrForNxtAgt.instrInf
undrlInstrForNxtAgt
=
fiCdtTrf.cdtTrfTxInf.undrlygCstmrCdtTrf.instrForNxtAgt
#
undrlInstrForNxtAgtInstrInf=fiCdtTrf.cdtTrfTxInf.undrlygCstmrCdtTrf.instrForNxtAgt.instrInf
#undrlRmtInf=fiCdtTrf.cdtTrfTxInf.undrlygCstmrCdtTrf.rmtInf
undrlRmtInfUstrd
=
fiCdtTrf.cdtTrfTxInf.undrlygCstmrCdtTrf.rmtInf.ustrd
#undrlRmtInfStrd=fiCdtTrf.cdtTrfTxInf.undrlygCstmrCdtTrf.rmtInf.strd
...
...
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