Commit 65e73619 authored by dahai's avatar dahai

push

parent bddf659b
...@@ -357,15 +357,11 @@ public class TaskListApi { ...@@ -357,15 +357,11 @@ public class TaskListApi {
for(Object o :jsonArray){ for(Object o :jsonArray){
JSONObject jsonObject = JSONObject.fromObject(o); JSONObject jsonObject = JSONObject.fromObject(o);
String acceptNo = jsonObject.getString("acceptNo"); String acceptNo = jsonObject.getString("acceptNo");
String countyCode = jsonObject.getString("countyCode");
String name = jsonObject.getString("name"); String name = jsonObject.getString("name");
if ("null".equals(countyCode.substring(0, 4))) {
countyCode = "000000";
}
//添加重做返回证任务单 //添加重做返回证任务单
TaskEntity taskEntity = new TaskEntity(); TaskEntity taskEntity = new TaskEntity();
taskEntity.setCardType((long) 1); taskEntity.setCardType((long) 1);
taskEntity.setCountyCode(countyCode); taskEntity.setCountyCode("000000");
taskEntity.setTaskStateId((long) 0); taskEntity.setTaskStateId((long) 0);
taskEntity.setSubmitName(name); taskEntity.setSubmitName(name);
taskListService.saveTask(taskEntity); taskListService.saveTask(taskEntity);
......
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