diff --git a/src/main/java/com/glxp/mipsdl/client/njxyy/NjxyyClient.java b/src/main/java/com/glxp/mipsdl/client/njxyy/NjxyyClient.java index 9af9f8a..cac9423 100644 --- a/src/main/java/com/glxp/mipsdl/client/njxyy/NjxyyClient.java +++ b/src/main/java/com/glxp/mipsdl/client/njxyy/NjxyyClient.java @@ -735,7 +735,7 @@ public class NjxyyClient extends CommonHttpClient { } String billNo = ""; - if (CollUtil.isNotEmpty(codeRequestListYb)){ + { forInvOutScanCodeRequest.setCodeRequestList(codeRequestListYb); forInvOutScanCodeRequest.setIoOrderRequest(ioOrderRequest); String response = httpClient.postUDIWMSJson(thirdSysConfig.getPostInvOutScanCode(), forInvOutScanCodeRequest); @@ -748,6 +748,7 @@ public class NjxyyClient extends CommonHttpClient { } } + if (CollUtil.isNotEmpty(codeRequestListYys)){ ioOrderRequest.setInvCode("1000001"); forInvOutScanCodeRequest.setCodeRequestList(codeRequestListYys); @@ -756,7 +757,7 @@ public class NjxyyClient extends CommonHttpClient { BaseResponse baseResponse = JSONObject.parseObject(response, BaseResponse.class); if (baseResponse.getCode() == 20000){ ForInvOutScanCodeResponse forInvOutScanCodeResponse = JSONObject.parseObject(String.valueOf(baseResponse.getData()), ForInvOutScanCodeResponse.class); - billNo = billNo + forInvOutScanCodeResponse.getBillNo() + ";"; + billNo = billNo + forInvOutScanCodeResponse.getBillNo(); }else { return baseResponse; } @@ -770,7 +771,7 @@ public class NjxyyClient extends CommonHttpClient { BaseResponse baseResponse = JSONObject.parseObject(response, BaseResponse.class); if (baseResponse.getCode() == 20000){ ForInvOutScanCodeResponse forInvOutScanCodeResponse = JSONObject.parseObject(String.valueOf(baseResponse.getData()), ForInvOutScanCodeResponse.class); - billNo = billNo + forInvOutScanCodeResponse.getBillNo() + ";"; + billNo = billNo + forInvOutScanCodeResponse.getBillNo(); }else { return baseResponse; }