| | |
| | | mesRecvFeedback.setItemdata(list); |
| | | |
| | | String url = MES_URL + "MaterialReceiptAndReturn"; |
| | | String response = RcsServiceImpl.sendPost(url, JSONObject.toJSONString(mesRecvFeedback)); |
| | | if (!StringUtils.isEmpty(response) && response.contains("Success")) { |
| | | MesReturn mesReturn = JSONObject.parseObject(response, MesReturn.class); |
| | | if ("1".equals(mesReturn.getSuccess())) { |
| | | // String response = RcsServiceImpl.sendPost(url, JSONObject.toJSONString(mesRecvFeedback)); |
| | | // if (!StringUtils.isEmpty(response) && response.contains("Success")) { |
| | | // MesReturn mesReturn = JSONObject.parseObject(response, MesReturn.class); |
| | | // if ("1".equals(mesReturn.getSuccess())) { |
| | | orderPakin.setSettle(6L); |
| | | orderPakinService.updateById(orderPakin); |
| | | log.info("订单上报成功,orderNo={}", orderNo); |
| | | } |
| | | } |
| | | // } |
| | | // } |
| | | } |
| | | } |
| | | |