From 11c95d111ba84902aa8a00ed6b73557ed81ef51d Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Wed, 6 Mar 2024 23:08:03 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=BA=93=E5=AD=98=E5=93=81=E6=8B=86?= =?UTF-8?q?=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DistributionStockListServiceImpl.java | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockListServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockListServiceImpl.java index e83bccd7e..623312356 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockListServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockListServiceImpl.java @@ -235,7 +235,7 @@ public class DistributionStockListServiceImpl extends BaseServiceImplquery().lambda() - .eq(DistributionStockListEntity::getMaterialId, distributionStockListDTO.getMaterialId()) + .eq(ObjectUtil.isNotEmpty(distributionStockListDTO.getMaterialId()),DistributionStockListEntity::getMaterialId, distributionStockListDTO.getMaterialId()) .eq(DistributionStockListEntity::getPid, distributionStockListDTO.getId()) .eq(DistributionStockListEntity::getMarketId, distributionStockListDTO.getMarketId()) .eq(DistributionStockListEntity::getWarehouseId, myCurrentWarehouse.getId()) @@ -246,7 +246,7 @@ public class DistributionStockListServiceImpl extends BaseServiceImplquery().lambda() .eq(DistributionStockListEntity::getId, distributionStockListDTO.getId()) .eq(DistributionStockListEntity::getMarketId, distributionStockListDTO.getMarketId()) - .eq(DistributionStockListEntity::getMaterialId, distributionStockListDTO.getMaterialId()) +// .eq(DistributionStockListEntity::getMaterialId, distributionStockListDTO.getMaterialId()) .eq(DistributionStockListEntity::getWarehouseId, myCurrentWarehouse.getId()) .eq(ObjectUtil.isNotEmpty(distributionStockListDTO.getStoreId()), DistributionStockListEntity::getStoreId, distributionStockListDTO.getStoreId()) ); @@ -254,7 +254,7 @@ public class DistributionStockListServiceImpl extends BaseServiceImpl Date: Wed, 6 Mar 2024 23:08:22 +0800 Subject: [PATCH 2/2] =?UTF-8?q?1.=E6=9A=82=E5=AD=98=E5=8D=95=E5=AE=9E?= =?UTF-8?q?=E4=BD=93=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../logpm/trunkline/entity/TrunklineAdvanceEntity.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/blade-service-api/logpm-trunkline-api/src/main/java/com/logpm/trunkline/entity/TrunklineAdvanceEntity.java b/blade-service-api/logpm-trunkline-api/src/main/java/com/logpm/trunkline/entity/TrunklineAdvanceEntity.java index 70ee0da70..3b22b75be 100644 --- a/blade-service-api/logpm-trunkline-api/src/main/java/com/logpm/trunkline/entity/TrunklineAdvanceEntity.java +++ b/blade-service-api/logpm-trunkline-api/src/main/java/com/logpm/trunkline/entity/TrunklineAdvanceEntity.java @@ -36,14 +36,6 @@ public class TrunklineAdvanceEntity extends TenantEntity { /** 仓库名称 */ @ApiModelProperty(name = "仓库名称",notes = "") private String warehouseName ; - - /** 入库仓库id */ - @ApiModelProperty(name = "入库仓库id",notes = "") - private Long incomingWarehouseId ; - /** 入库仓库名称 */ - @ApiModelProperty(name = "入库仓库名称",notes = "") - private String incomingWarehouseName ; - /** 订单自编码 */ @ApiModelProperty(name = "订单自编码",notes = "") private String orderCode ;