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
ba70812b
Commit
ba70812b
authored
Mar 08, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
df636662
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
TaskListApi.java
src/main/java/com/yxproject/start/api/TaskListApi.java
+3
-3
No files found.
src/main/java/com/yxproject/start/api/TaskListApi.java
View file @
ba70812b
...
...
@@ -150,7 +150,7 @@ public class TaskListApi {
JSONObject
jsonObject
=
JSONObject
.
fromObject
(
str
);
String
date
=
jsonObject
.
getString
(
"date"
);
String
name
=
jsonObject
.
getString
(
"name"
);
String
process
=
jsonObject
.
getString
(
"tag"
);
//
String process = jsonObject.getString("tag");
JSONArray
jsonCounty
=
jsonObject
.
getJSONArray
(
"countyList"
);
JSONArray
jsonGroup
=
jsonObject
.
getJSONArray
(
"groupList"
);
List
<
Map
<
String
,
Object
>>
countyList
=(
List
<
Map
<
String
,
Object
>>)
jsonCounty
;
...
...
@@ -159,7 +159,7 @@ public class TaskListApi {
String
typeCode
=
map
.
get
(
"typeCode"
).
toString
();
String
countyCode
=
map
.
get
(
"countyCode"
).
toString
();
List
<
Object
>
objects
=
taskListService
.
selectGroupAtACCU
(
replaceDate
(
date
),
typeCode
,
countyCode
);
boolean
b
=
taskListService
.
saveTask
(
objects
,
name
,
process
);
boolean
b
=
taskListService
.
saveTask
(
objects
,
name
,
0
+
""
);
}
//生成某几个组的区县任务单
if
(
jsonGroup
.
size
()>
0
){
...
...
@@ -174,7 +174,7 @@ public class TaskListApi {
}
}
List
<
Object
>
objects
=
taskListService
.
selectGroupAtACCU
(
groupNo
);
boolean
b
=
taskListService
.
saveTask
(
objects
,
name
,
process
);
boolean
b
=
taskListService
.
saveTask
(
objects
,
name
,
0
+
""
);
}
//todo 保存任务单数据
return
"成功生成循环单"
;
...
...
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