diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/controller/AdvanceDetailController.java b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/controller/AdvanceDetailController.java index aa209636b..7206534b1 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/controller/AdvanceDetailController.java +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/controller/AdvanceDetailController.java @@ -99,14 +99,6 @@ public class AdvanceDetailController { return R.fail(405,"请选择删除的包件"); } - BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse(); - if(Objects.isNull(myCurrentWarehouse)){ - log.warn(method+"请选择仓库"); - return R.fail(405,"请选择仓库"); - } - advanceDetailDTO.setWarehouseId(myCurrentWarehouse.getId()); - advanceDetailDTO.setWarehouseName(myCurrentWarehouse.getName()); - return advanceDetailService.deleteAdvanceDetail(advanceDetailDTO); }catch (CustomerException e){ log.error(e.message,e);