Commit 6fba2576 authored by dahai's avatar dahai

push

parent 024ad6d7
...@@ -275,18 +275,7 @@ public class TaskListApi { ...@@ -275,18 +275,7 @@ public class TaskListApi {
String date = jsonObject.getString("date"); String date = jsonObject.getString("date");
String name = jsonObject.getString("name"); String name = jsonObject.getString("name");
// 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;
// if (countyList.size() > 0) {
// //正常生成区县任务单
// for (Map<String, Object> map : countyList) {
// String typeCode = map.get("typeCode").toString();
// String countyCode = map.get("countyCode").toString();
// List<Map<String, Object>> objects = taskListService.selectGroupAtACCU(replaceDate(date), typeCode, countyCode);
// boolean b = taskListService.saveTask(objects, name, 0 + "");
// }
// }
//生成某几个组的区县任务单 //生成某几个组的区县任务单
if (jsonGroup.size() > 0) { if (jsonGroup.size() > 0) {
List<List<String>> listList = jsonGroup; List<List<String>> listList = jsonGroup;
...@@ -304,9 +293,6 @@ public class TaskListApi { ...@@ -304,9 +293,6 @@ public class TaskListApi {
boolean b = taskListService.saveTask(objects, name, 0 + ""); boolean b = taskListService.saveTask(objects, name, 0 + "");
} }
// List<String> groupList = (List<String>) jsonGroup;
} }
Map<String, Object> map = new LinkedHashMap<>(); Map<String, Object> map = new LinkedHashMap<>();
map.put("msg", "成功生成任务单"); map.put("msg", "成功生成任务单");
......
package com.yxproject.start.service.impl; package com.yxproject.start.service.impl;
import com.yxproject.start.entity.CardDetailedListEntity;
import com.yxproject.start.entity.DetailReceiptListEntity; import com.yxproject.start.entity.DetailReceiptListEntity;
import com.yxproject.start.mapper.CardDetailedListMapper; import com.yxproject.start.mapper.CardDetailedListMapper;
import com.yxproject.start.service.CardDetailedListService; import com.yxproject.start.service.CardDetailedListService;
......
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