diff --git a/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/DistributionRetentionScanVo.java b/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/DistributionRetentionScanVo.java index ede021734..020045a6f 100644 --- a/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/DistributionRetentionScanVo.java +++ b/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/DistributionRetentionScanVo.java @@ -94,6 +94,22 @@ public class DistributionRetentionScanVo { */ private Long waybillId; + + /** + * 装车ID + */ + private Long loadingId; + + /** + * 仓库Id + */ + private Long warehouseId; + + /** + * 仓库名称 + */ + private String warehouseName; + /** * 零担滞留最大数 */ diff --git a/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/entity/WarehouseRetentionScanEntity.java b/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/entity/WarehouseRetentionScanEntity.java index 1902c6bdf..1bb7b8ec9 100644 --- a/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/entity/WarehouseRetentionScanEntity.java +++ b/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/entity/WarehouseRetentionScanEntity.java @@ -241,4 +241,16 @@ public class WarehouseRetentionScanEntity extends TenantEntity { @ApiModelProperty(value = "运单Id") private Long waybillId; + /** + * 仓库Id + */ + @ApiModelProperty(value = "运单Id") + private Long warehouseId; + + /** + * 仓库名称 + */ + @ApiModelProperty(value = "运单Id") + private Long warehouseName; + } diff --git a/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/vo/WarehouseRetentionRecordVO.java b/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/vo/WarehouseRetentionRecordVO.java index 0885c3974..df0135c8d 100644 --- a/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/vo/WarehouseRetentionRecordVO.java +++ b/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/vo/WarehouseRetentionRecordVO.java @@ -22,6 +22,7 @@ import com.logpm.warehouse.entity.WarehouseRetentionRecordEntity; import lombok.Data; import lombok.EqualsAndHashCode; +import java.io.Serializable; import java.util.List; /** @@ -31,8 +32,7 @@ import java.util.List; * @since 2023-08-09 */ @Data -@EqualsAndHashCode(callSuper = true) -public class WarehouseRetentionRecordVO extends WarehouseRetentionRecordEntity { +public class WarehouseRetentionRecordVO implements Serializable { private static final long serialVersionUID = 1L; diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.xml index 277b0f415..4e782b7e1 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryListMapper.xml @@ -2029,6 +2029,7 @@ ldpl.waybill_number AS waybillNumber, ldpl.waybill_id AS waybillId, ldpl.order_package_status AS orderPackageStatus, + ldpl.warehouse_id AS warehouseId, 1 AS scanType FROM logpm_distribution_delivery_list AS lddl diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml index b74331657..d4c56d1a5 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml @@ -1083,7 +1083,7 @@ LEFT JOIN logpm_distribution_stockup_info ldsi on ldsi.stockup_id = lds.id LEFT JOIN logpm_distribution_delivery_details lddd on ldsi.reservation_id = lddd.bill_lading_id - ldsi.stockup_id =#{id} and lddd.inventory_status in (1,2) + ldsi.stockup_id =#{id} and lddd.inventory_status in (1,3)