Browse Source

1.干线bug修复

dev
zhenghaoyu 2 months ago
parent
commit
c35e7fa2f9
  1. 8
      blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/controller/AdvanceDetailController.java

8
blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/controller/AdvanceDetailController.java

@ -99,14 +99,6 @@ public class AdvanceDetailController {
return R.fail(405,"请选择删除的包件"); 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); return advanceDetailService.deleteAdvanceDetail(advanceDetailDTO);
}catch (CustomerException e){ }catch (CustomerException e){
log.error(e.message,e); log.error(e.message,e);

Loading…
Cancel
Save