From a5bc664f183a9ca729eaa530b0d49945771a1f5c Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Mon, 19 Oct 2026 09:11:03 +0800 Subject: [PATCH] =?UTF-8?q?ifs=E9=94=99=E8=AF=AF=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/IfsApiIssueAndReturnServiceImpl.java | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gaotao/modules/api/service/impl/IfsApiIssueAndReturnServiceImpl.java b/src/main/java/com/gaotao/modules/api/service/impl/IfsApiIssueAndReturnServiceImpl.java index 7b789a17..2cdea482 100644 --- a/src/main/java/com/gaotao/modules/api/service/impl/IfsApiIssueAndReturnServiceImpl.java +++ b/src/main/java/com/gaotao/modules/api/service/impl/IfsApiIssueAndReturnServiceImpl.java @@ -554,7 +554,16 @@ public class IfsApiIssueAndReturnServiceImpl implements IfsApiIssueAndReturnServ jsonBody = objectMapper.writeValueAsString(params); log.info("IFS请求接口名称:{},请求参数: {}","ReceiveInventoryPart", jsonBody); String ifsResponse = HttpUtils.doPost(ifsUrl + "ReceiveInventoryPart", jsonBody, null); - + if (!"IFSUpdated".equals(ifsResponse) && !"\"IFSUpdated\"".equals(ifsResponse)){ + ErrorLogUtils.logInterface(otherTransactionIfsDto.getIfsSiteID(), + "IFS接口", + "其他入库", + "IFS", + "ReceiveInventoryPart", + otherTransactionIfsDto.getIfsPartNo(), + jsonBody, + ifsResponse,ifsResponse); + } return ifsResponse; } catch (Exception e) { ErrorLogUtils.logInterface(otherTransactionIfsDto.getIfsSiteID(), @@ -593,7 +602,16 @@ public class IfsApiIssueAndReturnServiceImpl implements IfsApiIssueAndReturnServ jsonBody = objectMapper.writeValueAsString(params); log.info("IFS请求接口名称:{},请求参数: {}","IssueInventoryPart", jsonBody); String ifsResponse = HttpUtils.doPost(ifsUrl + "IssueInventoryPart", jsonBody, null); - + if (!"IFSUpdated".equals(ifsResponse) && !"\"IFSUpdated\"".equals(ifsResponse)){ + ErrorLogUtils.logInterface(otherTransactionIfsDto.getIfsSiteID(), + "IFS接口", + "其他出库", + "IFS", + "IssueInventoryPart", + otherTransactionIfsDto.getIfsPartNo(), + jsonBody, + ifsResponse,ifsResponse); + } return ifsResponse; } catch (Exception e) { ErrorLogUtils.logInterface(otherTransactionIfsDto.getIfsSiteID(),