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
447b819c
Commit
447b819c
authored
Mar 18, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
d9706c09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
4 deletions
+21
-4
queryPreproPerson.java
src/main/java/com/yxproject/start/api/queryPreproPerson.java
+21
-4
No files found.
src/main/java/com/yxproject/start/api/queryPreproPerson.java
View file @
447b819c
...
...
@@ -69,12 +69,29 @@ public class queryPreproPerson {
return
map
;
}
/**
* 去除字符串中中线
*
* @param str
* @return
* 查询制证数据
*/
@RequestMapping
(
"queryPreproPersonCount"
)
// @RequiresPermissions("userInfo.add")//权限管理;
public
Map
<
String
,
Object
>
queryPreproPersonCount
(
@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
,
HttpServletResponse
response
){
Map
<
String
,
Object
>
map
=
new
LinkedHashMap
<>();
//todo
List
<
Map
<
String
,
Object
>>
preproPersonEntityList
=
preproPersonService
.
selectPreproPerson
(
uploadNo
,
IDCard
,
oldFile
,
newFile
,
SSXQDM
,
cardType
,
state
,
replaceDate
(
uploadDate
));
map
.
put
(
"total"
,
preproPersonEntityList
.
size
());
return
map
;
}
/**
* 去除字符串中中线
*
* @param str
* @return
*/
private
String
replaceDate
(
String
str
)
{
return
str
.
replace
(
"-"
,
""
);
}
...
...
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