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 ; 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