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
6afedd78
Commit
6afedd78
authored
Jul 22, 2024
by
lixinyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
根据南商要求删除发报行修改逻辑
parent
e8fcfa39
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
AbstractMx2MtCreator.java
...java/com/brilliance/swift/mx2mt/AbstractMx2MtCreator.java
+9
-8
No files found.
swiftCore/src/main/java/com/brilliance/swift/mx2mt/AbstractMx2MtCreator.java
View file @
6afedd78
...
@@ -364,14 +364,15 @@ public abstract class AbstractMx2MtCreator implements Mx2MtCreator {
...
@@ -364,14 +364,15 @@ public abstract class AbstractMx2MtCreator implements Mx2MtCreator {
receiverBic
=
getXmlNodeValue
(
appHdrParentPath
,
document
,
"AppHdr.To.FIId.FinInstnId.BICFI"
);
receiverBic
=
getXmlNodeValue
(
appHdrParentPath
,
document
,
"AppHdr.To.FIId.FinInstnId.BICFI"
);
}
}
String
service
=
(
String
)
context
.
get
(
Mx2MtContextIdentifier
.
MX_TO_MT_SERVICE
);
String
service
=
(
String
)
context
.
get
(
Mx2MtContextIdentifier
.
MX_TO_MT_SERVICE
);
if
(!
StringUtil
.
isEmpty
(
service
)&&!
"swift.finplus"
.
equals
(
service
)){
//根据南商要求暂时删除此逻辑
StringBuilder
replaceSenderBic
=
new
StringBuilder
(
senderBic
);
// if(!StringUtil.isEmpty(service)&&!"swift.finplus".equals(service)){
replaceSenderBic
.
replace
(
7
,
8
,
"0"
);
// StringBuilder replaceSenderBic = new StringBuilder(senderBic);
StringBuilder
replaceReceiverBic
=
new
StringBuilder
(
receiverBic
);
// replaceSenderBic.replace(7,8,"0");
replaceReceiverBic
.
replace
(
7
,
8
,
"0"
);
// StringBuilder replaceReceiverBic = new StringBuilder(receiverBic);
senderBic
=
replaceSenderBic
.
toString
();
// replaceReceiverBic.replace(7,8,"0");
receiverBic
=
replaceReceiverBic
.
toString
();
// senderBic = replaceSenderBic.toString();
}
// receiverBic = replaceReceiverBic.toString();
// }
context
.
set
(
Mx2MtContextIdentifier
.
MX_SENDER_BIC
,
senderBic
);
context
.
set
(
Mx2MtContextIdentifier
.
MX_SENDER_BIC
,
senderBic
);
context
.
set
(
Mx2MtContextIdentifier
.
MX_RECEIVER_BIC
,
receiverBic
);
context
.
set
(
Mx2MtContextIdentifier
.
MX_RECEIVER_BIC
,
receiverBic
);
String
applicationMode
=
(
String
)
context
.
get
(
Mx2MtConstants
.
APPLICATION_MODE
,
true
);
String
applicationMode
=
(
String
)
context
.
get
(
Mx2MtConstants
.
APPLICATION_MODE
,
true
);
...
...
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