From c35e7fa2f905a03cd23ccb92026477f4e89661e6 Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Tue, 3 Dec 2024 10:35:16 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=B9=B2=E7=BA=BFbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trunkline/controller/AdvanceDetailController.java | 8 -------- 1 file changed, 8 deletions(-) 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);