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
fa26e36f
Commit
fa26e36f
authored
Aug 13, 2023
by
gechengyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交南洋国际支付前置分支
parent
0b2a99c0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
10 deletions
+1
-10
Element2MxCreatorManager.java
...brilliance/swift/element2mx/Element2MxCreatorManager.java
+1
-10
No files found.
swiftCore/src/main/java/com/brilliance/swift/element2mx/Element2MxCreatorManager.java
View file @
fa26e36f
...
...
@@ -34,16 +34,7 @@ public class Element2MxCreatorManager {
public
String
element2Mx
(
String
jsonStr
)
throws
SwiftException
{
Map
<
String
,
Object
>
elementMaps
=
(
Map
<
String
,
Object
>)
JSONObject
.
parse
(
jsonStr
);
String
messageType
=
(
String
)
elementMaps
.
get
(
"messageType"
);
if
(
StringUtil
.
isEmpty
(
messageType
))
{
throw
new
SwiftException
(
"找不到MX类型"
);
}
AbstractElement2MxCreator
creator
=
getCreator
(
messageType
);
creator
.
setElementMaps
(
elementMaps
);
creator
.
preProcess
();
creator
.
build
();
creator
.
postProcess
();
return
creator
.
getXmlStr
();
return
element2Mx
(
elementMaps
);
}
public
AbstractElement2MxCreator
getCreator
(
String
messageType
)
{
...
...
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