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
9dd91297
Commit
9dd91297
authored
Jan 05, 2023
by
zhanghou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改mt2mx的50-59域的account判断条件
parent
75a2298c
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
38 additions
and
23 deletions
+38
-23
Pacs00801Parse52Field.java
...ce/swift/mt2mx/pacs008001/impl/Pacs00801Parse52Field.java
+30
-15
Pacs00801Parse56Field.java
...ce/swift/mt2mx/pacs008001/impl/Pacs00801Parse56Field.java
+2
-2
Pacs00801Parse57Field.java
...ce/swift/mt2mx/pacs008001/impl/Pacs00801Parse57Field.java
+1
-1
Pacs009001Parse56Field.java
...e/swift/mt2mx/pacs009001/impl/Pacs009001Parse56Field.java
+1
-1
Pacs009001Parse57Field.java
...e/swift/mt2mx/pacs009001/impl/Pacs009001Parse57Field.java
+1
-1
Pacs009001Parse58Field.java
...e/swift/mt2mx/pacs009001/impl/Pacs009001Parse58Field.java
+1
-1
Pacs009001ParseSeqB56Field.java
...ift/mt2mx/pacs009001/impl/Pacs009001ParseSeqB56Field.java
+1
-1
Pacs009001ParseSeqB57Field.java
...ift/mt2mx/pacs009001/impl/Pacs009001ParseSeqB57Field.java
+1
-1
No files found.
swiftCore/src/main/java/com/brilliance/swift/mt2mx/pacs008001/impl/Pacs00801Parse52Field.java
View file @
9dd91297
...
...
@@ -43,6 +43,21 @@ public class Pacs00801Parse52Field extends AbstractMt2MxPacs008001ParseField {
if
(
StringUtil
.
isNotEmpty
(
field52A
.
getComponent2
()))
{
account
+=
"/"
+
field52A
.
getComponent2
();
}
if
(
StringUtil
.
isNotEmpty
(
account
))
{
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
)
&&
!
account
.
startsWith
(
"//FW"
))
{
Map
<
String
,
Object
>
finInstnIdMaps
=
MapUtil
.
getAndCreateNotPut
(
dbtrAgtMaps
,
"finInstnId"
);
Map
<
String
,
Object
>
clrSysMmbIdMaps
=
MapUtil
.
getAndCreateNotPut
(
finInstnIdMaps
,
"clrSysMmbId"
);
mt_to_mxClearingIdentifier
(
account
,
clrSysMmbIdMaps
);
if
(
clrSysMmbIdMaps
.
size
()>
0
){
finInstnIdMaps
.
put
(
"clrSysMmbId"
,
clrSysMmbIdMaps
);
}
if
(
finInstnIdMaps
.
size
()>
0
){
dbtrAgtMaps
.
put
(
"finInstnId"
,
finInstnIdMaps
);
}
}
else
if
(!
account
.
startsWith
(
"//"
)
||
account
.
startsWith
(
"//CH"
))
{
mt_to_mxFinancialInstitutionAccount
(
account
,
dbtrAgtAcctMaps
,
"DbtrAgtAcct/Id"
);
}
}
}
else
if
(
field52D
!=
null
)
{
if
(
StringUtil
.
isNotEmpty
(
field52D
.
getComponent1
()))
{
account
+=
"/"
+
field52D
.
getComponent1
();
...
...
@@ -52,25 +67,25 @@ public class Pacs00801Parse52Field extends AbstractMt2MxPacs008001ParseField {
}
String
nameAddress
=
field52D
.
getNameAndAddress
();
mt_to_mxFinancialInstitutionNameAndUnstructuredAddress
(
nameAddress
,
dbtrAgtMaps
);
if
(
StringUtil
.
isNotEmpty
(
account
))
{
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
))
{
Map
<
String
,
Object
>
finInstnIdMaps
=
MapUtil
.
getAndCreateNotPut
(
dbtrAgtMaps
,
"finInstnId"
);
Map
<
String
,
Object
>
clrSysMmbIdMaps
=
MapUtil
.
getAndCreateNotPut
(
finInstnIdMaps
,
"clrSysMmbId"
);
mt_to_mxClearingIdentifier
(
account
,
clrSysMmbIdMaps
);
if
(
clrSysMmbIdMaps
.
size
()>
0
){
finInstnIdMaps
.
put
(
"clrSysMmbId"
,
clrSysMmbIdMaps
);
}
if
(
finInstnIdMaps
.
size
()>
0
){
dbtrAgtMaps
.
put
(
"finInstnId"
,
finInstnIdMaps
);
}
}
else
if
(!
account
.
startsWith
(
"//"
)
||
account
.
startsWith
(
"//CH"
))
{
mt_to_mxFinancialInstitutionAccount
(
account
,
dbtrAgtAcctMaps
,
"DbtrAgtAcct/Id"
);
}
}
}
else
{
String
sendBic
=
(
String
)
context
.
get
(
Mt2MxContextIdentifier
.
MT_SEND_BIC
,
true
);
mt_to_mxBICFI
(
sendBic
,
dbtrAgtMaps
);
}
if
(
StringUtil
.
isNotEmpty
(
account
))
{
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
)
&&
!
account
.
startsWith
(
"//FW"
))
{
Map
<
String
,
Object
>
finInstnIdMaps
=
MapUtil
.
getAndCreateNotPut
(
dbtrAgtMaps
,
"finInstnId"
);
Map
<
String
,
Object
>
clrSysMmbIdMaps
=
MapUtil
.
getAndCreateNotPut
(
finInstnIdMaps
,
"clrSysMmbId"
);
mt_to_mxClearingIdentifier
(
account
,
clrSysMmbIdMaps
);
if
(
clrSysMmbIdMaps
.
size
()>
0
){
finInstnIdMaps
.
put
(
"clrSysMmbId"
,
clrSysMmbIdMaps
);
}
if
(
finInstnIdMaps
.
size
()>
0
){
dbtrAgtMaps
.
put
(
"finInstnId"
,
finInstnIdMaps
);
}
}
else
if
(!
account
.
startsWith
(
"//"
)
||
account
.
startsWith
(
"//CH"
))
{
mt_to_mxFinancialInstitutionAccount
(
account
,
dbtrAgtAcctMaps
,
"DbtrAgtAcct/Id"
);
}
}
if
(
dbtrAgtMaps
.
size
()
>
0
)
{
cdtTrfTxInfMaps
.
put
(
"dbtrAgt"
,
dbtrAgtMaps
);
}
...
...
swiftCore/src/main/java/com/brilliance/swift/mt2mx/pacs008001/impl/Pacs00801Parse56Field.java
View file @
9dd91297
...
...
@@ -74,7 +74,7 @@ public class Pacs00801Parse56Field extends AbstractMt2MxPacs008001ParseField {
clearingChannelRTGSFlag
=
true
;
}
Map
<
String
,
Object
>
finInstnIdMaps
=
MapUtil
.
getAndCreateNotPut
(
intrmyAgt1Maps
,
"finInstnId"
);
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
)
&&
!
account
.
startsWith
(
"//FW"
)
)
{
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
))
{
if
(
isMTClearingSystemCodeInList
(
account
))
{
Map
<
String
,
Object
>
clrSysMmbIdMaps
=
MapUtil
.
getAndCreateNotPut
(
finInstnIdMaps
,
"clrSysMmbId"
);
mt_to_mxClearingIdentifier
(
account
,
clrSysMmbIdMaps
);
...
...
@@ -108,7 +108,7 @@ public class Pacs00801Parse56Field extends AbstractMt2MxPacs008001ParseField {
}
String
nameAddress
=
field56D
.
getNameAndAddress
();
mt_to_mxFinancialInstitutionNameAndUnstructuredAddress
(
nameAddress
,
intrmyAgt1Maps
);
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
)
&&
!
account
.
startsWith
(
"//FW"
)
)
{
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
))
{
Map
<
String
,
Object
>
finInstnIdMaps
=
MapUtil
.
getAndCreateNotPut
(
intrmyAgt1Maps
,
"finInstnId"
);
Map
<
String
,
Object
>
clrSysMmbIdMaps
=
MapUtil
.
getAndCreateNotPut
(
finInstnIdMaps
,
"clrSysMmbId"
);
mt_to_mxClearingIdentifier
(
account
,
clrSysMmbIdMaps
);
...
...
swiftCore/src/main/java/com/brilliance/swift/mt2mx/pacs008001/impl/Pacs00801Parse57Field.java
View file @
9dd91297
...
...
@@ -86,7 +86,7 @@ public class Pacs00801Parse57Field extends AbstractMt2MxPacs008001ParseField {
}
String
location
=
field57B
.
getLocation
();
Map
<
String
,
Object
>
finInstnIdMaps
=
MapUtil
.
getAndCreateNotPut
(
cdtrAgtMaps
,
"finInstnId"
);
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
)
&&
!
account
.
startsWith
(
"//FW"
)
)
{
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
))
{
if
(
isMTClearingSystemCodeInList
(
account
))
{
Map
<
String
,
Object
>
clrSysMmbIdMaps
=
MapUtil
.
getAndCreateNotPut
(
finInstnIdMaps
,
"clrSysMmbId"
);
mt_to_mxClearingIdentifier
(
account
,
clrSysMmbIdMaps
);
...
...
swiftCore/src/main/java/com/brilliance/swift/mt2mx/pacs009001/impl/Pacs009001Parse56Field.java
View file @
9dd91297
...
...
@@ -73,7 +73,7 @@ public class Pacs009001Parse56Field extends AbstractMt2MxPacs009001ParseField {
}
String
nameAddress
=
field56D
.
getNameAndAddress
();
mt_to_mxFinancialInstitutionNameAndUnstructuredAddress
(
nameAddress
,
intrmyAgt1Maps
);
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
)
&&
!
account
.
startsWith
(
"//FW"
)
)
{
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
))
{
Map
<
String
,
Object
>
finInstnIdMaps
=
MapUtil
.
getAndCreateNotPut
(
intrmyAgt1Maps
,
"finInstnId"
);
Map
<
String
,
Object
>
clrSysMmbIdMaps
=
MapUtil
.
getAndCreateNotPut
(
finInstnIdMaps
,
"clrSysMmbId"
);
mt_to_mxClearingIdentifier
(
account
,
clrSysMmbIdMaps
);
...
...
swiftCore/src/main/java/com/brilliance/swift/mt2mx/pacs009001/impl/Pacs009001Parse57Field.java
View file @
9dd91297
...
...
@@ -79,7 +79,7 @@ public class Pacs009001Parse57Field extends AbstractMt2MxPacs009001ParseField {
}
String
location
=
field57B
.
getLocation
();
Map
<
String
,
Object
>
finInstnIdMaps
=
MapUtil
.
getAndCreateNotPut
(
cdtrAgtMaps
,
"finInstnId"
);
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
)
&&
!
account
.
startsWith
(
"//FW"
)
)
{
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
))
{
if
(
isMTClearingSystemCodeInList
(
account
))
{
Map
<
String
,
Object
>
clrSysMmbIdMaps
=
MapUtil
.
getAndCreateNotPut
(
finInstnIdMaps
,
"clrSysMmbId"
);
mt_to_mxClearingIdentifier
(
account
,
clrSysMmbIdMaps
);
...
...
swiftCore/src/main/java/com/brilliance/swift/mt2mx/pacs009001/impl/Pacs009001Parse58Field.java
View file @
9dd91297
...
...
@@ -71,7 +71,7 @@ public class Pacs009001Parse58Field extends AbstractMt2MxPacs009001ParseField {
}
String
nameAddress
=
field58D
.
getNameAndAddress
();
mt_to_mxFinancialInstitutionNameAndUnstructuredAddress
(
nameAddress
,
cdtrMaps
);
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
)
&&
!
account
.
startsWith
(
"//FW"
)
)
{
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
))
{
Map
<
String
,
Object
>
finInstnIdMaps
=
MapUtil
.
getAndCreateNotPut
(
cdtrMaps
,
"finInstnId"
);
Map
<
String
,
Object
>
clrSysMmbIdMaps
=
MapUtil
.
getAndCreateNotPut
(
finInstnIdMaps
,
"clrSysMmbId"
);
mt_to_mxClearingIdentifier
(
account
,
clrSysMmbIdMaps
);
...
...
swiftCore/src/main/java/com/brilliance/swift/mt2mx/pacs009001/impl/Pacs009001ParseSeqB56Field.java
View file @
9dd91297
...
...
@@ -103,7 +103,7 @@ public class Pacs009001ParseSeqB56Field extends AbstractMt2MxPacs009001ParseFiel
}
String
nameAddress
=
field56D
.
getNameAndAddress
();
mt_to_mxFinancialInstitutionNameAndUnstructuredAddress
(
nameAddress
,
intrmyAgt1Maps
);
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
)
&&
!
account
.
startsWith
(
"//FW"
)
)
{
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
))
{
Map
<
String
,
Object
>
finInstnIdMaps
=
MapUtil
.
getAndCreateNotPut
(
intrmyAgt1Maps
,
"finInstnId"
);
Map
<
String
,
Object
>
clrSysMmbIdMaps
=
MapUtil
.
getAndCreateNotPut
(
finInstnIdMaps
,
"clrSysMmbId"
);
mt_to_mxClearingIdentifier
(
account
,
clrSysMmbIdMaps
);
...
...
swiftCore/src/main/java/com/brilliance/swift/mt2mx/pacs009001/impl/Pacs009001ParseSeqB57Field.java
View file @
9dd91297
...
...
@@ -137,7 +137,7 @@ public class Pacs009001ParseSeqB57Field extends AbstractMt2MxPacs009001ParseFiel
}
String
location
=
field57B
.
getLocation
();
Map
<
String
,
Object
>
finInstnIdMaps
=
MapUtil
.
getAndCreateNotPut
(
cdtrAgtMaps
,
"finInstnId"
);
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
)
&&
!
account
.
startsWith
(
"//FW"
)
)
{
if
(
account
.
startsWith
(
"//"
)
&&
!
account
.
startsWith
(
"//CH"
))
{
if
(
isMTClearingSystemCodeInList
(
account
))
{
Map
<
String
,
Object
>
clrSysMmbIdMaps
=
MapUtil
.
getAndCreateNotPut
(
finInstnIdMaps
,
"clrSysMmbId"
);
mt_to_mxClearingIdentifier
(
account
,
clrSysMmbIdMaps
);
...
...
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