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
78fa6e3c
Commit
78fa6e3c
authored
Jun 24, 2022
by
zhanghou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了mt_To_mxField76的方法的逻辑
parent
3c58b693
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
AbstractMt2MxParseField.java
...a/com/brilliance/swift/mt2mx/AbstractMt2MxParseField.java
+14
-2
No files found.
swiftCore/src/main/java/com/brilliance/swift/mt2mx/AbstractMt2MxParseField.java
View file @
78fa6e3c
...
...
@@ -1425,8 +1425,18 @@ public abstract class AbstractMt2MxParseField implements Mt2MxParseField {
protected
void
mt_To_mxField76
(
String
mt76
,
Map
<
String
,
Object
>
maps
){
String
mt76Value
=
mt76
.
replace
(
"\r\n//"
,
""
).
trim
();
String
status
=
mt76Value
.
substring
(
1
,
5
);
String
reason
=
mt76Value
.
substring
(
6
,
10
);
String
status
=
""
;
String
reason
=
""
;
if
(
mt76Value
.
length
()>
5
){
status
=
mt76Value
.
substring
(
1
,
5
);
}
if
(
mt76Value
.
length
()>=
10
){
if
(
mt76Value
.
length
()==
10
){
reason
=
mt76Value
.
substring
(
6
);
}
else
{
reason
=
mt76Value
.
substring
(
6
,
10
);
}
}
String
additionalInformation
=
""
;
//MXReasonList = {AC04, AGNT, AM04, ARDT, CUST, INDM, LEGL, NOAS, NOOR, PTNA, RQDA}
if
(
"AC04"
.
equals
(
reason
)||
"AGNT"
.
equals
(
reason
)||
"AM04"
.
equals
(
reason
)
...
...
@@ -1437,7 +1447,9 @@ public abstract class AbstractMt2MxParseField implements Mt2MxParseField {
additionalInformation
=
mt76Value
.
substring
(
11
);
}
}
else
{
if
(
mt76Value
.
length
()>
6
){
additionalInformation
=
mt76Value
.
substring
(
6
);
}
if
(
"RJCR"
.
equals
(
status
)){
reason
=
"NARR"
;
}
else
{
...
...
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