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
69a6c401
Commit
69a6c401
authored
Jan 04, 2023
by
zhanghou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改mt2mx的日期和25p域的缺陷
parent
41e17036
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
AbstractMt2MxParseField.java
...a/com/brilliance/swift/mt2mx/AbstractMt2MxParseField.java
+3
-0
Camt052001Parse25Field.java
...e/swift/mt2mx/camt052001/impl/Camt052001Parse25Field.java
+1
-1
Camt053001Parse25Field.java
...e/swift/mt2mx/camt053001/impl/Camt053001Parse25Field.java
+1
-1
No files found.
swiftCore/src/main/java/com/brilliance/swift/mt2mx/AbstractMt2MxParseField.java
View file @
69a6c401
...
...
@@ -2025,6 +2025,9 @@ public abstract class AbstractMt2MxParseField implements Mt2MxParseField {
}
protected
String
mt_to_mxDate
(
String
mtDate
)
{
if
(
StringUtil
.
isEmpty
(
mtDate
)){
return
null
;
}
SimpleDateFormat
mtFormat
=
new
SimpleDateFormat
(
"yyyyMMdd"
);
mtFormat
.
setLenient
(
false
);
SimpleDateFormat
mxFormat
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
...
...
swiftCore/src/main/java/com/brilliance/swift/mt2mx/camt052001/impl/Camt052001Parse25Field.java
View file @
69a6c401
...
...
@@ -29,7 +29,7 @@ public class Camt052001Parse25Field extends AbstractMt2MxCamt052001ParseField {
}
if
(
tag25p
!=
null
)
{
Field25P
field25P
=
(
Field25P
)
tag25p
.
asField
();
mt_to_mxAccount35
(
tag25p
.
getValue
(),
acctMap
,
"BkToCstmrAcctRpt/Rpt/Acct/Id/Othr/Id"
);
mt_to_mxAccount35
(
field25P
.
getAccount
(),
acctMap
,
"BkToCstmrAcctRpt/Rpt/Acct/Id/Othr/Id"
);
MapUtil
.
puts
(
rptMaps
,
"acct/ownr/id/orgId/anyBIC"
,
field25P
.
getBIC
());
}
MapUtil
.
puts
(
rptMaps
,
"acct"
,
acctMap
);
...
...
swiftCore/src/main/java/com/brilliance/swift/mt2mx/camt053001/impl/Camt053001Parse25Field.java
View file @
69a6c401
...
...
@@ -29,7 +29,7 @@ public class Camt053001Parse25Field extends AbstractMt2MxCamt053001ParseField {
}
if
(
tag25p
!=
null
)
{
Field25P
field25P
=
(
Field25P
)
tag25p
.
asField
();
mt_to_mxAccount35
(
tag25p
.
getValue
(),
acctMap
,
"BkToCstmrStmt/Stmt/Acct/Id/Othr/Id"
);
mt_to_mxAccount35
(
field25P
.
getAccount
(),
acctMap
,
"BkToCstmrStmt/Stmt/Acct/Id/Othr/Id"
);
MapUtil
.
puts
(
stmtMaps
,
"acct/ownr/id/orgId/anyBIC"
,
field25P
.
getBIC
());
}
MapUtil
.
puts
(
stmtMaps
,
"acct"
,
acctMap
);
...
...
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