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
baf2e9be
Commit
baf2e9be
authored
Mar 06, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询XML制证信息
parent
0e133045
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
17 deletions
+32
-17
TaskListApi.java
src/main/java/com/yxproject/start/api/TaskListApi.java
+21
-3
TaskListMapper.java
src/main/java/com/yxproject/start/mapper/TaskListMapper.java
+3
-9
TaskListService.java
...ain/java/com/yxproject/start/service/TaskListService.java
+1
-0
TaskListServiceImpl.java
...com/yxproject/start/service/impl/TaskListServiceImpl.java
+7
-5
No files found.
src/main/java/com/yxproject/start/api/TaskListApi.java
View file @
baf2e9be
...
...
@@ -86,13 +86,31 @@ public class TaskListApi {
/**
* 查询任务单详情
* (受理库)
* @param state
* @param process 工序
* @param date 查询时间
* @param resp
* @return
*/
@RequestMapping
(
"queryByCountyAtACCU"
)
public
List
<
Object
>
queryByCountyAtACCU
(
@RequestParam
(
"
state"
)
String
st
ate
,
HttpServletResponse
resp
){
List
<
Object
>
objects
=
taskListService
.
selectByCountyAtACCU
(
st
ate
);
public
List
<
Object
>
queryByCountyAtACCU
(
@RequestParam
(
"
process"
)
String
process
,
@RequestParam
(
"date"
)
String
d
ate
,
HttpServletResponse
resp
){
List
<
Object
>
objects
=
taskListService
.
selectByCountyAtACCU
(
d
ate
);
return
objects
;
}
/**
* 查询派出所列表详情
* @param date 查询时间
* @param typeCode 制证类型
* @param countyCode 区县代码
* @param resp
* @return
*/
@RequestMapping
(
"queryByPoliceAtACCU"
)
public
List
<
Object
>
queryByPoliceAtACCU
(
@RequestParam
(
"state"
)
String
date
,
@RequestParam
(
"typeCode"
)
String
typeCode
,
@RequestParam
(
"countyCode"
)
String
countyCode
,
HttpServletResponse
resp
){
List
<
Object
>
objects
=
taskListService
.
selectByPoliceAtACCU
(
date
,
typeCode
,
countyCode
);
return
objects
;
}
}
src/main/java/com/yxproject/start/mapper/TaskListMapper.java
View file @
baf2e9be
...
...
@@ -44,19 +44,13 @@ public interface TaskListMapper {
/**
* 派出所计数查询
* 查询派出所列表
* 受理库
* @param submitDate
* @param countyCount
* @return
*/
@Select
(
"SELECT gajg.gajg_mc,substr(act.upload_no,0,9),count(*) as gajg\n"
+
" FROM ACC_CARD_T@ACCU_DBLINK act \n"
+
" LEFT JOIN ACC_GROUP_T@ACCU_DBLINK agt on substr(act.accept_no,0,8) = agt.group_no \n"
+
" LEFT JOIN GAJG_DM gajg on substr(act.upload_no,0,9) = gajg.gajg_dm\n"
+
" WHERE agt.group_no not in (select GROUP_NO.group_no from GROUP_NO) \n"
+
" and to_char(IMPORT_TIME,'yyyymmdd') = #{submitDate} \n"
+
" and substr(act.upload_no,0,6) = #{countyCode}\n"
+
" GROUP by gajg.GAJG_MC,substr(act.upload_no,0,9)"
)
@Select
(
""
)
public
List
<
CountGajgEntity
>
selectByGajg
(
@Param
(
"submitDate"
)
String
submitDate
,
@Param
(
"countyCode"
)
String
countyCount
);
...
...
src/main/java/com/yxproject/start/service/TaskListService.java
View file @
baf2e9be
...
...
@@ -20,4 +20,5 @@ public interface TaskListService {
public
boolean
updateState
(
String
taskId
);
public
List
<
Object
>
selectByCountyAtACCU
(
String
date
);
public
List
<
Object
>
selectByPoliceAtACCU
(
String
date
,
String
typeCode
,
String
countyCode
);
}
src/main/java/com/yxproject/start/service/impl/TaskListServiceImpl.java
View file @
baf2e9be
...
...
@@ -124,8 +124,6 @@ public class TaskListServiceImpl implements TaskListService {
}
}
countyMap
.
put
(
"groupNum"
,
createGroupNo
(
c
,
nsList
));
}
countyMap
.
remove
(
"groupList"
);
typeList
.
add
(
countyMap
);
...
...
@@ -135,13 +133,17 @@ public class TaskListServiceImpl implements TaskListService {
typeMapList
.
put
(
"typeSum"
,
typeSum
);
typeMapList
.
put
(
"countyList"
,
typeList
);
list
.
add
(
typeMapList
);
}
System
.
out
.
println
(
maps
.
toString
()+
"---------"
);
return
list
;
}
@Override
public
List
<
Object
>
selectByPoliceAtACCU
(
String
date
,
String
typeCode
,
String
countyCode
)
{
// taskListMapper.;
return
null
;
}
private
String
createGroupNo
(
List
<
Integer
>
c
,
List
<
Integer
>
nsList
)
{
try
{
String
groupNo
=
""
;
...
...
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