Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
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
platform
hg-smart
Commits
15eb6dd5
Commit
15eb6dd5
authored
Jul 25, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-07-25 组织信息为空判断
parent
12001afd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
HGXSUtils.java
src/main/java/com/baosight/hggp/hg/xs/utils/HGXSUtils.java
+3
-0
No files found.
src/main/java/com/baosight/hggp/hg/xs/utils/HGXSUtils.java
View file @
15eb6dd5
...
@@ -83,6 +83,9 @@ public class HGXSUtils {
...
@@ -83,6 +83,9 @@ public class HGXSUtils {
public
static
void
setInfo
(
EiInfo
inInfo
,
String
codeKey
,
String
valueKey
)
{
public
static
void
setInfo
(
EiInfo
inInfo
,
String
codeKey
,
String
valueKey
)
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
List
<
String
>
orgIds
=
ObjectUtils
.
listKey
(
resultRows
,
codeKey
);
List
<
String
>
orgIds
=
ObjectUtils
.
listKey
(
resultRows
,
codeKey
);
if
(
CollectionUtils
.
isEmpty
(
orgIds
))
{
return
;
}
Map
<
String
,
Org
>
resultMap
=
HGXSTools
.
XsOrg
.
map
(
orgIds
);
Map
<
String
,
Org
>
resultMap
=
HGXSTools
.
XsOrg
.
map
(
orgIds
);
if
(
MapUtils
.
isEmpty
(
resultMap
))
{
if
(
MapUtils
.
isEmpty
(
resultMap
))
{
return
;
return
;
...
...
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