Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
Project
Project
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
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
afe03f56
Commit
afe03f56
authored
Mar 14, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
80c2fe90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
FailedCardApi.java
src/main/java/com/yxproject/start/api/FailedCardApi.java
+3
-0
No files found.
src/main/java/com/yxproject/start/api/FailedCardApi.java
View file @
afe03f56
...
...
@@ -13,6 +13,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.ArrayList
;
import
java.util.LinkedHashMap
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -49,8 +50,10 @@ public class FailedCardApi {
for
(
Object
o:
jsonarray
)
{
Map
<
String
,
Object
>
resultMap
=
failedCardService
.
selectInfoByCardId
(
o
.
toString
());
if
(
resultMap
==
null
){
resultMap
=
new
LinkedHashMap
<>();
resultMap
.
put
(
"ID_NO"
,
o
.
toString
());
resultMap
.
put
(
"NAME"
,
"查无此人"
);
resultMap
.
put
(
"SEX_NO"
,
"-1"
);
}
resultList
.
add
(
resultMap
);
}
...
...
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