Commit 21e254b4 authored by dahai's avatar dahai

push

parent 02152b5f
...@@ -216,7 +216,7 @@ public class TaskListApi { ...@@ -216,7 +216,7 @@ public class TaskListApi {
*/ */
@RequestMapping("createTask") @RequestMapping("createTask")
@Transactional @Transactional
public String queryByCountyAtACCU(@RequestBody String str, HttpServletResponse resp) { public Map<String,Object> queryByCountyAtACCU(@RequestBody String str, HttpServletResponse resp) {
System.out.println(str); System.out.println(str);
JSONObject jsonObject = JSONObject.fromObject(str); JSONObject jsonObject = JSONObject.fromObject(str);
String date = jsonObject.getString("date"); String date = jsonObject.getString("date");
...@@ -247,7 +247,9 @@ public class TaskListApi { ...@@ -247,7 +247,9 @@ public class TaskListApi {
List<Object> objects = taskListService.selectGroupAtACCU(groupNo); List<Object> objects = taskListService.selectGroupAtACCU(groupNo);
boolean b = taskListService.saveTask(objects, name, 0 + ""); 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 { ...@@ -263,7 +265,7 @@ public class TaskListApi {
*/ */
@RequestMapping("createFastTask") @RequestMapping("createFastTask")
@Transactional @Transactional
public String createFastTask(@RequestBody String object, HttpServletResponse resp) { public Map<String,Object> createFastTask(@RequestBody String object, HttpServletResponse resp) {
//todo 添加没有解析进去受理库情况 //todo 添加没有解析进去受理库情况
JSONObject jsonObject = JSONObject.fromObject(object); JSONObject jsonObject = JSONObject.fromObject(object);
String acceptNo = jsonObject.getString("acceptNo"); String acceptNo = jsonObject.getString("acceptNo");
...@@ -319,7 +321,9 @@ public class TaskListApi { ...@@ -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 { ...@@ -332,7 +336,7 @@ public class TaskListApi {
*/ */
@RequestMapping("addBackCard") @RequestMapping("addBackCard")
@Transactional @Transactional
public String addBackCard(@RequestBody String object, HttpServletResponse resp) { public Map<String,Object> addBackCard(@RequestBody String object, HttpServletResponse resp) {
JSONObject jsonObject = JSONObject.fromObject(object); JSONObject jsonObject = JSONObject.fromObject(object);
String acceptNo = jsonObject.getString("acceptNo"); String acceptNo = jsonObject.getString("acceptNo");
String taskId = jsonObject.getString("taskId"); String taskId = jsonObject.getString("taskId");
...@@ -362,7 +366,9 @@ public class TaskListApi { ...@@ -362,7 +366,9 @@ public class TaskListApi {
specialCardEntity.setTaskId(Long.valueOf(taskId)); specialCardEntity.setTaskId(Long.valueOf(taskId));
specialCardService.saveSpecialCard(specialCardEntity); specialCardService.saveSpecialCard(specialCardEntity);
} }
return "成功添加退证"; Map<String,Object> map = new LinkedHashMap<>();
map.put("msg","成功添加退证");
return map;
} }
/** /**
......
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