Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bigdatainterservice
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
曹鹏
bigdatainterservice
Commits
d44aa150
Commit
d44aa150
authored
Apr 26, 2019
by
chang_chao@founder.com.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增判空
parent
7fc6ee47
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/main/java/com/founder/interservice/controller/MinistrySuspectInfoController.java
+3
-3
No files found.
src/main/java/com/founder/interservice/controller/MinistrySuspectInfoController.java
View file @
d44aa150
...
@@ -186,16 +186,16 @@ public class MinistrySuspectInfoController {
...
@@ -186,16 +186,16 @@ public class MinistrySuspectInfoController {
jsonArray
.
add
(
jsonObject
);
jsonArray
.
add
(
jsonObject
);
Object
[]
os
=
jsonArray
.
toArray
();
Object
[]
os
=
jsonArray
.
toArray
();
Map
<
String
,
Object
>
mapQg
=
call
.
getGabZyInfoByJyaq
(
"asj"
,
os
,
gabConfig
);
Map
<
String
,
Object
>
mapQg
=
call
.
getGabZyInfoByJyaq
(
"asj"
,
os
,
gabConfig
);
List
<
Map
<
String
,
Object
>>
asjbh
List
=
(
List
<
Map
<
String
,
Object
>>)
mapQg
.
get
(
"dataResult"
);
result
List
=
(
List
<
Map
<
String
,
Object
>>)
mapQg
.
get
(
"dataResult"
);
if
(!
asjbhList
.
isEmpty
()
&&
asjbh
List
!=
null
){
if
(!
resultList
.
isEmpty
()
&&
result
List
!=
null
){
resultObj
.
put
(
"code"
,
ResultEnum
.
SUCCESS
.
getCode
());
resultObj
.
put
(
"code"
,
ResultEnum
.
SUCCESS
.
getCode
());
resultObj
.
put
(
"message"
,
ResultEnum
.
SUCCESS
.
getMessage
());
resultObj
.
put
(
"message"
,
ResultEnum
.
SUCCESS
.
getMessage
());
}
else
{
}
else
{
resultObj
.
put
(
"code"
,
ResultEnum
.
SUCCESS
.
getCode
());
resultObj
.
put
(
"code"
,
ResultEnum
.
SUCCESS
.
getCode
());
resultObj
.
put
(
"message"
,
"无数据"
);
resultObj
.
put
(
"message"
,
"无数据"
);
}
}
resultObj
.
put
(
"dataList"
,
asjbh
List
);
resultObj
.
put
(
"dataList"
,
result
List
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
resultObj
.
put
(
"code"
,
ResultEnum
.
RESULT_ERROR
.
getCode
());
resultObj
.
put
(
"code"
,
ResultEnum
.
RESULT_ERROR
.
getCode
());
...
...
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