|
|
|
@ -443,7 +443,6 @@ public class njxyyClient extends CommonHttpClient {
|
|
|
|
|
String response = httpClient.postUDIWMSJson(thirdSysConfig.getPostInvProductsFilterUrl(), filterInvProductRequest);
|
|
|
|
|
//业务系统返回参数 字段控制
|
|
|
|
|
BaseResponse baseResponse = JSONObject.parseObject(response, BaseResponse.class);
|
|
|
|
|
// TODO: 2024/3/15 返回字段过滤控制
|
|
|
|
|
if (baseResponse.getCode() == 20000){
|
|
|
|
|
PageSimpleResponse<InvProductResponse> pageSimpleResponse =
|
|
|
|
|
JSONObject.parseObject(String.valueOf(baseResponse.getData()), PageSimpleResponse.class);
|
|
|
|
@ -471,7 +470,6 @@ public class njxyyClient extends CommonHttpClient {
|
|
|
|
|
String response = httpClient.postUDIWMSJson(thirdSysConfig.getPostBasicProductsSearch(), filterUdiRelRequest);
|
|
|
|
|
//业务系统返回参数 字段控制
|
|
|
|
|
BaseResponse baseResponse = JSONObject.parseObject(response, BaseResponse.class);
|
|
|
|
|
// TODO: 2024/3/15 返回字段过滤控制
|
|
|
|
|
if (baseResponse.getCode() == 20000){
|
|
|
|
|
PageSimpleResponse<UdiRelevanceResponse> pageSimpleResponse =
|
|
|
|
|
JSONObject.parseObject(String.valueOf(baseResponse.getData()), PageSimpleResponse.class);
|
|
|
|
@ -495,17 +493,21 @@ public class njxyyClient extends CommonHttpClient {
|
|
|
|
|
ForInvOutScanCodeRequest forInvOutScanCodeRequest = new ForInvOutScanCodeRequest();
|
|
|
|
|
System.out.println(JSON.toJSONString(forInvOutScanCodeFilter));
|
|
|
|
|
// TODO: 2024/3/15 forInvOutScanCodeFilter 转换为 入参的业务系统的实体 forInvOutScanCodeRequest
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 以下测试内容==============================
|
|
|
|
|
*/
|
|
|
|
|
IoOrderRequest ioOrderRequest = new IoOrderRequest();
|
|
|
|
|
ioOrderRequest.setAction("qqqqq");
|
|
|
|
|
List<IoOrderCodeRequest> codeRequestList = new ArrayList<>();
|
|
|
|
|
IoOrderCodeRequest ioOrderCodeRequest = new IoOrderCodeRequest();
|
|
|
|
|
ioOrderCodeRequest.setCode("11111");
|
|
|
|
|
codeRequestList.add(ioOrderCodeRequest);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
forInvOutScanCodeRequest.setCodeRequestList(codeRequestList);
|
|
|
|
|
forInvOutScanCodeRequest.setIoOrderRequest(ioOrderRequest);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ============================================
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
String response = httpClient.postUDIWMSJson(thirdSysConfig.getPostInvOutScanCode(), forInvOutScanCodeRequest);
|
|
|
|
|
BaseResponse baseResponse = JSONObject.parseObject(response, BaseResponse.class);
|
|
|
|
|