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
20274c0b
Commit
20274c0b
authored
Mar 11, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
e0c9773c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
queryPreproPerson.java
src/main/java/com/yxproject/start/api/queryPreproPerson.java
+19
-1
No files found.
src/main/java/com/yxproject/start/api/queryPreproPerson.java
View file @
20274c0b
...
...
@@ -30,8 +30,26 @@ public class queryPreproPerson {
public
Map
<
String
,
Object
>
printXmlData
(
@RequestParam
(
"uploadNo"
)
String
uploadNo
,
@RequestParam
(
"IDCard"
)
String
IDCard
,
@RequestParam
(
"oldFile"
)
String
oldFile
,
@RequestParam
(
"newFile"
)
String
newFile
,
@RequestParam
(
"SSXQDM"
)
String
SSXQDM
,
@RequestParam
(
"cardType"
)
String
cardType
,
@RequestParam
(
"state"
)
String
state
,
@RequestParam
(
"uploadDate"
)
String
uploadDate
,
@RequestParam
(
"currPage"
)
String
currPage
,
@RequestParam
(
"pageSize"
)
String
pageSize
,
HttpServletResponse
response
){
List
<
PreproPersonEntity
>
preproPersonEntities
=
preproPersonService
.
selectPreproPerson
(
uploadNo
,
IDCard
,
oldFile
,
newFile
,
SSXQDM
,
cardType
,
state
,
uploadDate
,
currPage
,
pageSize
);
Map
<
String
,
Object
>
map
=
new
LinkedHashMap
<>();
map
.
put
(
"tatal"
,
preproPersonService
.
selectPreproPersonCount
(
uploadNo
,
IDCard
,
oldFile
,
newFile
,
SSXQDM
,
cardType
,
state
,
uploadDate
).
size
());
List
<
PreproPersonEntity
>
preproPersonEntityList
=
preproPersonService
.
selectPreproPersonCount
(
uploadNo
,
IDCard
,
oldFile
,
newFile
,
SSXQDM
,
cardType
,
state
,
uploadDate
);
map
.
put
(
"tatal"
,
preproPersonEntityList
.
size
());
int
youSum
=
0
;
int
puSum
=
0
;
int
invaildCount
=
0
;
for
(
PreproPersonEntity
preproPersonEntity
:
preproPersonEntityList
){
if
(
preproPersonEntity
.
getCardTypeId
()==
9
){
youSum
++;
}
else
if
(
preproPersonEntity
.
getCardTypeId
()==
0
){
puSum
++;
}
if
(
preproPersonEntity
.
getIsValid
()==
0
){
invaildCount
++;
}
}
map
.
put
(
"list"
,
preproPersonEntities
);
map
.
put
(
"youSum"
,
youSum
);
map
.
put
(
"puSum"
,
puSum
);
map
.
put
(
"invaildCount"
,
invaildCount
);
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