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
21e254b4
Commit
21e254b4
authored
Mar 10, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
02152b5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
TaskListApi.java
src/main/java/com/yxproject/start/api/TaskListApi.java
+12
-6
No files found.
src/main/java/com/yxproject/start/api/TaskListApi.java
View file @
21e254b4
...
...
@@ -216,7 +216,7 @@ public class TaskListApi {
*/
@RequestMapping
(
"createTask"
)
@Transactional
public
String
queryByCountyAtACCU
(
@RequestBody
String
str
,
HttpServletResponse
resp
)
{
public
Map
<
String
,
Object
>
queryByCountyAtACCU
(
@RequestBody
String
str
,
HttpServletResponse
resp
)
{
System
.
out
.
println
(
str
);
JSONObject
jsonObject
=
JSONObject
.
fromObject
(
str
);
String
date
=
jsonObject
.
getString
(
"date"
);
...
...
@@ -247,7 +247,9 @@ public class TaskListApi {
List
<
Object
>
objects
=
taskListService
.
selectGroupAtACCU
(
groupNo
);
boolean
b
=
taskListService
.
saveTask
(
objects
,
name
,
0
+
""
);
}
return
"成功生成循环单"
;
Map
<
String
,
Object
>
map
=
new
LinkedHashMap
<>();
map
.
put
(
"msg"
,
"成功生成循环单"
);
return
map
;
}
...
...
@@ -263,7 +265,7 @@ public class TaskListApi {
*/
@RequestMapping
(
"createFastTask"
)
@Transactional
public
String
createFastTask
(
@RequestBody
String
object
,
HttpServletResponse
resp
)
{
public
Map
<
String
,
Object
>
createFastTask
(
@RequestBody
String
object
,
HttpServletResponse
resp
)
{
//todo 添加没有解析进去受理库情况
JSONObject
jsonObject
=
JSONObject
.
fromObject
(
object
);
String
acceptNo
=
jsonObject
.
getString
(
"acceptNo"
);
...
...
@@ -319,7 +321,9 @@ public class TaskListApi {
}
return
"成功添加快证任务单"
;
Map
<
String
,
Object
>
map
=
new
LinkedHashMap
<>();
map
.
put
(
"msg"
,
"成功添加快证任务单"
);
return
map
;
}
/**
...
...
@@ -332,7 +336,7 @@ public class TaskListApi {
*/
@RequestMapping
(
"addBackCard"
)
@Transactional
public
String
addBackCard
(
@RequestBody
String
object
,
HttpServletResponse
resp
)
{
public
Map
<
String
,
Object
>
addBackCard
(
@RequestBody
String
object
,
HttpServletResponse
resp
)
{
JSONObject
jsonObject
=
JSONObject
.
fromObject
(
object
);
String
acceptNo
=
jsonObject
.
getString
(
"acceptNo"
);
String
taskId
=
jsonObject
.
getString
(
"taskId"
);
...
...
@@ -362,7 +366,9 @@ public class TaskListApi {
specialCardEntity
.
setTaskId
(
Long
.
valueOf
(
taskId
));
specialCardService
.
saveSpecialCard
(
specialCardEntity
);
}
return
"成功添加退证"
;
Map
<
String
,
Object
>
map
=
new
LinkedHashMap
<>();
map
.
put
(
"msg"
,
"成功添加退证"
);
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