|
|
@ -605,7 +605,7 @@ public class TaskServiceImpl implements TaskService, ApplicationAutoInitial { |
|
|
|
if (!StrUtil.startWith(dto.getTask_code(), "-") && StrUtil.equals(hasWms, "1")) { |
|
|
|
TaskFeedbackDto feefbackdto = taskFeedbackService.findByCode(entity.getTask_code()); |
|
|
|
JSONObject feed_jo = new JSONObject(); |
|
|
|
feed_jo.put("task_id", entity.getExt_task_uuid()); |
|
|
|
feed_jo.put("ext_task_uuid", entity.getExt_task_uuid()); |
|
|
|
feed_jo.put("task_code", dto.getTask_code()); |
|
|
|
feed_jo.put("task_status", dto.getTask_status()); |
|
|
|
JSONArray ja = new JSONArray(); |
|
|
@ -721,7 +721,7 @@ public class TaskServiceImpl implements TaskService, ApplicationAutoInitial { |
|
|
|
if (!StrUtil.startWith(entity.getTask_code(), "-") && StrUtil.equals(hasWms, "1")) { |
|
|
|
TaskFeedbackDto feefbackdto = taskFeedbackService.findByCode(entity.getTask_code()); |
|
|
|
JSONObject feed_jo = new JSONObject(); |
|
|
|
feed_jo.put("task_id", entity.getExt_task_uuid()); |
|
|
|
feed_jo.put("ext_task_uuid", entity.getExt_task_uuid()); |
|
|
|
feed_jo.put("task_code", entity.getTask_code()); |
|
|
|
feed_jo.put("task_status", entity.getTask_status()); |
|
|
|
JSONArray ja = new JSONArray(); |
|
|
@ -766,7 +766,7 @@ public class TaskServiceImpl implements TaskService, ApplicationAutoInitial { |
|
|
|
} |
|
|
|
} else { |
|
|
|
int status = body.getStatus(); |
|
|
|
JSONObject jo = (JSONObject) JSONObject.toJSON(body.body()); |
|
|
|
JSONObject jo = JSONObject.parseObject(body.body()); |
|
|
|
if (ObjectUtil.isEmpty(feefbackdto)) { |
|
|
|
feefbackdto = new TaskFeedbackDto(); |
|
|
|
feefbackdto.setTask_id(entity.getTask_id()); |
|
|
@ -844,7 +844,7 @@ public class TaskServiceImpl implements TaskService, ApplicationAutoInitial { |
|
|
|
String hasWms = acsConfigService.findConfigFromCache().get(AcsConfig.HASWMS); |
|
|
|
if (!StrUtil.startWith(entity.getTask_code(), "-") && StrUtil.equals(hasWms, "1")) { |
|
|
|
JSONObject feed_jo = new JSONObject(); |
|
|
|
feed_jo.put("task_id", entity.getExt_task_uuid()); |
|
|
|
feed_jo.put("ext_task_uuid", entity.getExt_task_uuid()); |
|
|
|
feed_jo.put("task_code", entity.getTask_code()); |
|
|
|
feed_jo.put("task_status", entity.getTask_status()); |
|
|
|
JSONArray ja = new JSONArray(); |
|
|
|