Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apps-collaboration
Project
Project
Details
Activity
Releases
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
高燕
apps-collaboration
Commits
61678908
Commit
61678908
authored
Sep 10, 2020
by
gaoyingwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:增加表单模板xml文件
parent
2dffcaef
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
152 additions
and
15 deletions
+152
-15
ThirdparyServlet.java
...va/com/seeyon/apps/thirdparyServlet/ThirdparyServlet.java
+142
-13
XmlUtil.java
src/main/java/com/seeyon/ctp/common/util/XmlUtil.java
+10
-2
No files found.
src/main/java/com/seeyon/apps/thirdparyServlet/ThirdparyServlet.java
View file @
61678908
This diff is collapsed.
Click to expand it.
src/main/java/com/seeyon/ctp/common/util/XmlUtil.java
View file @
61678908
...
...
@@ -88,7 +88,8 @@ public class XmlUtil {
if
(
parentInfo
!=
null
){
Map
<
String
,
Object
>
tempMap
=
new
HashMap
<>();
Element
parentCode
=
(
Element
)
parentInfo
.
selectSingleNode
(
"./parentCode"
);
tempMap
.
put
(
parentCode
.
getName
(),
parentCode
.
getText
());
if
(
parentCode
!=
null
)
{
tempMap
.
put
(
parentCode
.
getName
(),
parentCode
.
getText
());
// List childElements1 = parentInfo.elements();
// if (childElements1.size() > 0) {
// Iterator var44 = childElements1.iterator();
...
...
@@ -101,7 +102,14 @@ public class XmlUtil {
// tempMap.put("isCorp",syncContent.attributeValue("isCorp"));
// map.put("parentInfo",tempMap);
// }
tempMap
.
put
(
"isCorp"
,
parentCode
.
attributeValue
(
"isCorp"
));
tempMap
.
put
(
"isCorp"
,
parentCode
.
attributeValue
(
"isCorp"
));
Element
corpName
=
(
Element
)
parentInfo
.
selectSingleNode
(
"./corpName"
);
if
(
corpName
!=
null
)
tempMap
.
put
(
corpName
.
getName
(),
corpName
.
getText
());
Element
showNum
=
(
Element
)
parentInfo
.
selectSingleNode
(
"./showNum"
);
if
(
showNum
!=
null
)
tempMap
.
put
(
showNum
.
getName
(),
showNum
.
getText
());
}
map
.
put
(
"parentInfo"
,
tempMap
);
}
return
map
;
...
...
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