|
|
@ -1571,7 +1571,7 @@ public class HaiAnWmsMessageServiceImpl implements HaiAnWmsMessageService { |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @author rqrq |
|
|
* @author rqrq |
|
|
* @Description 处理AGV任务反馈:只写任务明细并按动作幂等去重;targetArea可映射时存业务area_id,缺少映射时保留WCS原码供后续消费重试,避免丢失回调 - rqrq |
|
|
|
|
|
|
|
|
* @Description 处理AGV任务反馈:只写任务明细并按动作幂等去重。接口日志业务主键用托盘号。targetArea可映射时存业务area_id,缺少映射时保留WCS原码供后续消费重试,避免丢失回调 - rqrq |
|
|
*/ |
|
|
*/ |
|
|
@Override |
|
|
@Override |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@ -1582,12 +1582,14 @@ public class HaiAnWmsMessageServiceImpl implements HaiAnWmsMessageService { |
|
|
String businessKey = data == null ? null : normalizeText(data.getWmsId()); |
|
|
String businessKey = data == null ? null : normalizeText(data.getWmsId()); |
|
|
String requestJson = JSONObject.toJSONString(data); |
|
|
String requestJson = JSONObject.toJSONString(data); |
|
|
try { |
|
|
try { |
|
|
|
|
|
// 接口日志业务主键用托盘号:palletId 优先,没有再取 pallet。任务号 wmsId 仍留给后面的异常日志 - rqrq |
|
|
|
|
|
String palletBusinessKey = data == null ? null : data.resolvePalletId(); |
|
|
logId = haiAnInterfaceCallLogService.haiAnLogInterfaceCall( |
|
|
logId = haiAnInterfaceCallLogService.haiAnLogInterfaceCall( |
|
|
"HaiAnWmsMessageService", |
|
|
"HaiAnWmsMessageService", |
|
|
"handleAgvCallback", |
|
|
"handleAgvCallback", |
|
|
requestJson, |
|
|
requestJson, |
|
|
site, |
|
|
site, |
|
|
businessKey, |
|
|
|
|
|
|
|
|
palletBusinessKey, |
|
|
"海安AGV任务反馈" |
|
|
"海安AGV任务反馈" |
|
|
); |
|
|
); |
|
|
String messageId = generateMessageId("HAIAN_AGV_FB"); |
|
|
String messageId = generateMessageId("HAIAN_AGV_FB"); |
|
|
|