Commit ba70812b authored by dahai's avatar dahai

push

parent df636662
...@@ -150,7 +150,7 @@ public class TaskListApi { ...@@ -150,7 +150,7 @@ public class TaskListApi {
JSONObject jsonObject = JSONObject.fromObject(str); JSONObject jsonObject = JSONObject.fromObject(str);
String date = jsonObject.getString("date"); String date = jsonObject.getString("date");
String name = jsonObject.getString("name"); String name = jsonObject.getString("name");
String process = jsonObject.getString("tag"); // String process = jsonObject.getString("tag");
JSONArray jsonCounty = jsonObject.getJSONArray("countyList"); JSONArray jsonCounty = jsonObject.getJSONArray("countyList");
JSONArray jsonGroup = jsonObject.getJSONArray("groupList"); JSONArray jsonGroup = jsonObject.getJSONArray("groupList");
List<Map<String,Object>> countyList =(List<Map<String,Object>>)jsonCounty; List<Map<String,Object>> countyList =(List<Map<String,Object>>)jsonCounty;
...@@ -159,7 +159,7 @@ public class TaskListApi { ...@@ -159,7 +159,7 @@ public class TaskListApi {
String typeCode = map.get("typeCode").toString(); String typeCode = map.get("typeCode").toString();
String countyCode = map.get("countyCode").toString(); String countyCode = map.get("countyCode").toString();
List<Object> objects = taskListService.selectGroupAtACCU(replaceDate(date), typeCode, countyCode); 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){ if (jsonGroup.size()>0){
...@@ -174,7 +174,7 @@ public class TaskListApi { ...@@ -174,7 +174,7 @@ public class TaskListApi {
} }
} }
List<Object> objects = taskListService.selectGroupAtACCU(groupNo); List<Object> objects = taskListService.selectGroupAtACCU(groupNo);
boolean b = taskListService.saveTask(objects,name,process); boolean b = taskListService.saveTask(objects,name,0+"");
} }
//todo 保存任务单数据 //todo 保存任务单数据
return "成功生成循环单"; return "成功生成循环单";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment