diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataClientUserMapper.xml b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataClientUserMapper.xml index fad0187a1..5b99435f1 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataClientUserMapper.xml +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataClientUserMapper.xml @@ -24,3 +24,4 @@ + diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryInfoMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryInfoMapper.xml index 93e012001..6fb863194 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryInfoMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliveryInfoMapper.xml @@ -303,7 +303,7 @@ ldsl.id = ldsld.stock_list_id AND ldrsl.reservation_id = ldsld.reservation_id ) AS plannedQuantity, - ( SELECT COALESCE ( count(*), 0 ) FROM logpm_distribution_stock lds WHERE ldsl.id = lds.stock_list_id AND lds.reservation_id =ldrsl.reservation_id AND lds.tenant_id = '627683' ) AS readyStock, + ( SELECT COALESCE ( count(*), 0 ) FROM logpm_distribution_stock lds WHERE ldsl.id = lds.stock_list_id AND lds.reservation_id =ldrsl.reservation_id ) AS readyStock, ( SELECT COALESCE ( count(*), 0 ) @@ -313,7 +313,6 @@ ldsl.id = ldsld.stock_list_id AND ldrsl.reservation_id = ldsld.reservation_id AND ldsld.stock_locking_status = '20' - AND ldsld.tenant_id = '627683' ) AS loadingNumber, ( SELECT COALESCE @@ -324,7 +323,6 @@ ldsl.id = ldsld.stock_list_id AND ldrsl.reservation_id = ldsld.reservation_id AND ldsld.stock_signfo_status = '20' - AND ldsld.tenant_id = '627683' ) AS signedingNumber, ldsl.storage_location AS goodsAllocation, ldsl.cargo_number AS cargoNumber 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 69a22e5c9..22c9d9649 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 @@ -2518,18 +2518,13 @@ FROM logpm_distribution_delivery_list lddl LEFT JOIN logpm_distribution_signfor lds ON lddl.id = lds.delivery_id - AND lds.tenant_id = '627683' LEFT JOIN logpm_distribution_reservation_package ldrp ON ldrp.reservation_id = lds.reservation_id - AND ldrp.tenant_id = '627683' LEFT JOIN logpm_distribution_parcel_list ldpl ON ldpl.id = ldrp.parce_list_id - AND ldpl.tenant_id = '627683' LEFT JOIN logpm_distribution_stock_article ldsa ON ldsa.id = ldpl.stock_article_id - AND ldsa.tenant_id = '627683' WHERE lddl.id = #{deliveryId} AND lddl.warehouse_id = #{warehouseId} AND ldrp.packet_bar_status != 2 - AND lddl.tenant_id = '627683'