rsf-open-api/src/main/java/com/vincent/rsf/openApi/service/impl/WmsErpServiceImpl.java
@@ -273,21 +273,17 @@ HttpEntity httpEntity = new HttpEntity(params, headers); ResponseEntity<String> exchange = restTemplate.exchange(rcsUrl, HttpMethod.POST, httpEntity, String.class); log.info("修改结果: {}", exchange); log.info("修改结果: {}", exchange.getBody()); if (Objects.isNull(exchange.getBody())) { throw new CoolException("修改失败!!"); } else { ObjectMapper objectMapper = new ObjectMapper(); objectMapper.coercionConfigDefaults().setCoercion(CoercionInputShape.EmptyString, CoercionAction.AsEmpty); try { CommonResponse result = objectMapper.readValue(exchange.getBody(), CommonResponse.class); if (result.getCode() == 200) { return result; CommonResponse commonResponse = new CommonResponse(); ErpCommonResponse result = JSONObject.parseObject(exchange.getBody(), ErpCommonResponse.class); if (!result.getIsError()) { commonResponse.setCode(200).setMsg(result.getMessage()).setData(result.getData()); return commonResponse; } else { throw new CoolException("修改失败!!"); } } catch (JsonProcessingException e) { throw new CoolException(e.getMessage()); } } } rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/PdaCheckOrderServiceImpl.java
@@ -275,7 +275,7 @@ if (null == task) { throw new CoolException("未找到容器号对应任务"); } if (!task.getTaskStatus().equals(TaskStsType.AWAIT.id)) { if (!task.getTaskStatus().equals(TaskStsType.WAVE_SEED.id)) { return R.error("任务状态不是等待确认"); } List<TaskItem> taskItems = taskItemService.list(new LambdaQueryWrapper<TaskItem>().eq(TaskItem::getTaskId, task.getId())); rsf-server/src/main/java/com/vincent/rsf/server/manager/service/impl/TaskServiceImpl.java
@@ -1224,7 +1224,7 @@ throw new CoolException(e.getMessage()); } } if (task.getTaskType().equals(TaskType.TASK_TYPE_PICK_AGAIN_OUT.type)) { if (task.getTaskType().equals(TaskType.TASK_TYPE_PICK_AGAIN_OUT.type) || task.getTaskType().equals(TaskType.TASK_TYPE_CHECK_OUT.type)) { /**修改为库位状态为S.预约入库,保留原有库位*/ if (!locService.update(new LambdaUpdateWrapper<Loc>() .set(Loc::getUseStatus, LocStsType.LOC_STS_TYPE_S.type)