|
|
|
@ -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(), |
|
|
|
|