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
3340e6c1
Commit
3340e6c1
authored
Mar 06, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询XML制证信息
parent
c9874151
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
TaskListApi.java
src/main/java/com/yxproject/start/api/TaskListApi.java
+22
-1
TaskListService.java
...ain/java/com/yxproject/start/service/TaskListService.java
+1
-0
No files found.
src/main/java/com/yxproject/start/api/TaskListApi.java
View file @
3340e6c1
...
...
@@ -93,7 +93,7 @@ public class TaskListApi {
*/
@RequestMapping
(
"queryByCountyAtACCU"
)
public
List
<
Object
>
queryByCountyAtACCU
(
@RequestParam
(
"process"
)
String
process
,
@RequestParam
(
"date"
)
String
date
,
HttpServletResponse
resp
){
List
<
Object
>
objects
=
taskListService
.
selectByCountyAtACCU
(
date
);
List
<
Object
>
objects
=
taskListService
.
selectByCountyAtACCU
(
replaceDate
(
date
)
);
return
objects
;
}
...
...
@@ -113,4 +113,25 @@ public class TaskListApi {
}
/**
* 字符串去除空格
* @param str 原始字符串
* @return 返回新的字符串
*/
private
String
replaceNullString
(
String
str
)
{
if
(
str
==
""
){
return
null
;
}
else
return
str
;
}
/**
* 去除字符串中中线
* @param str
* @return
*/
private
String
replaceDate
(
String
str
){
return
str
.
replace
(
"-"
,
""
);
}
}
src/main/java/com/yxproject/start/service/TaskListService.java
View file @
3340e6c1
...
...
@@ -20,5 +20,6 @@ public interface TaskListService {
public
boolean
updateState
(
String
taskId
);
public
List
<
Object
>
selectByCountyAtACCU
(
String
date
);
public
List
<
Object
>
selectByPoliceAtACCU
(
String
date
,
String
typeCode
,
String
countyCode
);
}
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