常熟吴彦祖 1 week ago
parent
commit
7d8f6870f0
  1. 12
      src/main/java/com/gaotao/modules/autoWareHourceHaian/api/service/impl/HaiAnWcsApiServiceImpl.java
  2. 2
      src/main/java/com/gaotao/modules/autoWareHourceHaian/staticData/HaiAnOutboundRfidActionStaticData.java

12
src/main/java/com/gaotao/modules/autoWareHourceHaian/api/service/impl/HaiAnWcsApiServiceImpl.java

@ -548,12 +548,12 @@ public class HaiAnWcsApiServiceImpl implements HaiAnWcsApiService {
Long logId = null; Long logId = null;
// 保留已收到的响应原文供失败回填;未获得响应时保持null,避免伪造WCS回执 - rqrq // 保留已收到的响应原文供失败回填;未获得响应时保持null,避免伪造WCS回执 - rqrq
String ifsResponse = null; String ifsResponse = null;
String url = haianWcsUrl + "outside-transfer-task";
String url = haianWcsUrl + "external-transfer-task";
String requestJson = JSONObject.toJSONString(request); String requestJson = JSONObject.toJSONString(request);
try { try {
// 记录接口调用日志 // 记录接口调用日志
logId = haiAnInterfaceCallLogService.haiAnLogInterfaceCall( logId = haiAnInterfaceCallLogService.haiAnLogInterfaceCall(
"OutsideTransferTask",
"ExternalTransferTask",
"下达库外搬运任务", "下达库外搬运任务",
requestJson, requestJson,
inData.getSite(), inData.getSite(),
@ -614,12 +614,12 @@ public class HaiAnWcsApiServiceImpl implements HaiAnWcsApiService {
Long logId = null; Long logId = null;
// 保留已收到的响应原文供失败回填;未获得响应时保持null,避免伪造WCS回执 - rqrq // 保留已收到的响应原文供失败回填;未获得响应时保持null,避免伪造WCS回执 - rqrq
String ifsResponse = null; String ifsResponse = null;
String url = haianWcsUrl + "cancel-outside-transfer-task";
String url = haianWcsUrl + "cancel-transfer-task";
String requestJson = JSONObject.toJSONString(request); String requestJson = JSONObject.toJSONString(request);
try { try {
// 记录接口调用日志 // 记录接口调用日志
logId = haiAnInterfaceCallLogService.haiAnLogInterfaceCall( logId = haiAnInterfaceCallLogService.haiAnLogInterfaceCall(
"CancelOutsideTransferTask",
"CancelTransferTask",
"取消搬运任务", "取消搬运任务",
requestJson, requestJson,
inData.getSite(), inData.getSite(),
@ -680,7 +680,7 @@ public class HaiAnWcsApiServiceImpl implements HaiAnWcsApiService {
Long logId = null; Long logId = null;
// 保留已收到的响应原文供失败回填;未获得响应时保持null,避免伪造WCS回执 - rqrq // 保留已收到的响应原文供失败回填;未获得响应时保持null,避免伪造WCS回执 - rqrq
String ifsResponse = null; String ifsResponse = null;
String url = haianWcsUrl + "query-ground-location-list";
String url = haianWcsUrl + "ground-pallet/locations";
String requestJson = JSONObject.toJSONString(request); String requestJson = JSONObject.toJSONString(request);
try { try {
// 记录接口调用日志 // 记录接口调用日志
@ -747,7 +747,7 @@ public class HaiAnWcsApiServiceImpl implements HaiAnWcsApiService {
Long logId = null; Long logId = null;
// 保留已收到的响应原文供失败回填;未获得响应时保持null,避免伪造WCS回执 - rqrq // 保留已收到的响应原文供失败回填;未获得响应时保持null,避免伪造WCS回执 - rqrq
String ifsResponse = null; String ifsResponse = null;
String url = haianWcsUrl + "update-ground-location-status";
String url = haianWcsUrl + "ground-pallet/change-status";
String requestJson = JSONObject.toJSONString(request); String requestJson = JSONObject.toJSONString(request);
try { try {
// 记录接口调用日志 // 记录接口调用日志

2
src/main/java/com/gaotao/modules/autoWareHourceHaian/staticData/HaiAnOutboundRfidActionStaticData.java

@ -12,7 +12,7 @@ public final class HaiAnOutboundRfidActionStaticData {
/** /**
* WCS 路径后缀,拼在 custom.haianWcsUrl 后。对端文档路径待定,当前按海安 kebab-case 暂定;确认后只改本常量。 - rqrq * WCS 路径后缀,拼在 custom.haianWcsUrl 后。对端文档路径待定,当前按海安 kebab-case 暂定;确认后只改本常量。 - rqrq
*/ */
public static final String WCS_PATH = "notify-outbound-port-rfid-action";
public static final String WCS_PATH = "outbound/rfid-action";
/** /**
* type=1 继续任务:用户在出库口RFID处手工取走托盘后,通知立库继续原任务。 - rqrq * type=1 继续任务:用户在出库口RFID处手工取走托盘后,通知立库继续原任务。 - rqrq

Loading…
Cancel
Save