fix
This commit is contained in:
@@ -818,17 +818,15 @@ public class TaskServiceImpl implements TaskService, ApplicationAutoInitial {
|
||||
if (!StrUtil.startWith(entity.getTask_code(), "-") && StrUtil.equals(hasWms, "1")) {
|
||||
TaskFeedbackDto feefbackdto = taskFeedbackService.findByCode(entity.getTask_code());
|
||||
System.out.println(feefbackdto == null);
|
||||
JSONArray req = new JSONArray();
|
||||
JSONObject map = new JSONObject();
|
||||
map.put("uuid", IdUtil.simpleUUID());
|
||||
map.put("taskNo", entity.getTask_id());
|
||||
map.put("businessType", "COMPLETE");
|
||||
req.add(map);
|
||||
String message = null;
|
||||
HttpResponse body = null;
|
||||
boolean flag = false;
|
||||
try {
|
||||
body = acstowmsService.feedbackTaskStatusToWms(req);
|
||||
body = acstowmsService.feedAgvTaskStatus(map);
|
||||
log.info("任务号:{},反馈wms任务状态完成成功,响应信息:{}!", entity.getTask_code(), body.body());
|
||||
} catch (Exception e) {
|
||||
log.error("任务号:{},反馈wms任务状态失败,原因:{}!", entity.getTask_code(), e.getMessage());
|
||||
|
||||
Reference in New Issue
Block a user