| | |
| | | * @return com.core.common.R |
| | | */ |
| | | @ApiOperation("查询WMS库存信息") |
| | | @PostMapping("/getStockInfo") |
| | | @PostMapping("/getPartsStock") |
| | | public XSR getStockInfo(@RequestBody PageRequestParams params) { |
| | | return kopenApiService.getStockInfo(params); |
| | | } |
| | |
| | | .setJson(JSONObject.toJSONString(orderParams)) |
| | | .build() |
| | | .doPost(); |
| | | if (Objects.isNull(response) || response.trim().isEmpty()) { |
| | | if (Objects.isNull(response) || response.trim().isEmpty()) { |
| | | return XSR.error("外网接口无响应!!"); |
| | | } |
| | | JSONObject jsonObject = JSONObject.parseObject(response); |