|
@@ -294,7 +294,9 @@ public class AmsTaskServiceImpl extends CrudServiceImpl<AmsTaskMapper, AmsTask,
|
|
.set(AmsTask::getAciAccept, AmsConstant.ACI_ACCEPT_STATUS.D.getValue())
|
|
.set(AmsTask::getAciAccept, AmsConstant.ACI_ACCEPT_STATUS.D.getValue())
|
|
.set(AmsTask::getEvent, AmsConstant.TASK_STS.TASK7.getKey())
|
|
.set(AmsTask::getEvent, AmsConstant.TASK_STS.TASK7.getKey())
|
|
.set(AmsTask::getSystemStatus, AmsConstant.TASK_STS.TASK7.getValue())
|
|
.set(AmsTask::getSystemStatus, AmsConstant.TASK_STS.TASK7.getValue())
|
|
- .set(AmsTask::getRemark, "任务取消原因为:" + remark)) > 0;
|
|
|
|
|
|
+ .set(AmsTask::getRemark, "任务创建时间为:" + amsTask.getAddtime() + ", 取消原因为:" + remark)
|
|
|
|
+ .set(AmsTask::getAddtime, DateUtils.getNowDate())
|
|
|
|
+ ) > 0;
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -321,7 +323,8 @@ public class AmsTaskServiceImpl extends CrudServiceImpl<AmsTaskMapper, AmsTask,
|
|
response = restTemplate.postForObject(AmsConstant.WMS_URL, amsTaskStateFeedbackDTO, Object.class);
|
|
response = restTemplate.postForObject(AmsConstant.WMS_URL, amsTaskStateFeedbackDTO, Object.class);
|
|
log.info("wms response data is :{}", JSONObject.toJSONString(response));
|
|
log.info("wms response data is :{}", JSONObject.toJSONString(response));
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
- log.error("AMS send request to WMS is on error, pause is :{}", e.getMessage());
|
|
|
|
|
|
+ log.info("AMS send request to WMS is on error, pause is :{}", e.getMessage());
|
|
|
|
+ throw new BaseException(e.getMessage());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|