diff --git a/src/main/java/com/gaotao/modules/api/service/impl/IfsCallErrorLogServiceImpl.java b/src/main/java/com/gaotao/modules/api/service/impl/IfsCallErrorLogServiceImpl.java index 720a485..f72dc57 100644 --- a/src/main/java/com/gaotao/modules/api/service/impl/IfsCallErrorLogServiceImpl.java +++ b/src/main/java/com/gaotao/modules/api/service/impl/IfsCallErrorLogServiceImpl.java @@ -283,34 +283,8 @@ public class IfsCallErrorLogServiceImpl extends ServiceImpl params = new HashMap<>(); - params.put("ifsDBName", ifsDBName); - params.put("domainUserID", domainUserID); - params.put("ifsSiteID", errorLog.getSite()); - params.put("partNo", errorLog.getPartNo()); - params.put("qtyToIssue", errorLog.getQty()); - params.put("locationNo", errorLog.getSourceLocation()); - params.put("destLocationNo", errorLog.getDestLocation()); - params.put("lotBatchNo", errorLog.getLotBatchNo()); - - if (errorLog.getExpiredDate() != null) { - params.put("expiryDate", new SimpleDateFormat("yyyy-MM-dd").format(errorLog.getExpiredDate())); - } else { - params.put("expiryDate", null); - } - - ObjectMapper objectMapper = new ObjectMapper(); - jsonBody = objectMapper.writeValueAsString(params); - // } else { - // // 使用保存的请求数据 - rqrq - // jsonBody = errorLog.getRequestData(); - // } - // - System.out.println("请求数据: " + jsonBody); jsonBody = errorLog.getRequestData(); + System.out.println("请求数据: " + jsonBody); // 2. 调用IFS接口 - rqrq ifsResponse = HttpUtils.doPost(ifsUrl + errorLog.getInterfaceName(), jsonBody, null); diff --git a/src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml b/src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml index ba4ba47..fcccb28 100644 --- a/src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml +++ b/src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml @@ -1914,7 +1914,7 @@ FROM wms_transport_task_detail WITH (NOLOCK) WHERE action_type = '等待通道机复核' AND status = '等待中' - ORDER BY start_time DESC + ORDER BY task_no DESC