diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataClientMapper.xml b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataClientMapper.xml index 66a072ba7..dbde7070e 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataClientMapper.xml +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataClientMapper.xml @@ -50,7 +50,7 @@ logpm_basicdata_client lbc JOIN logpm_basicdata_storage_services lbss ON lbss.client_id = lbc.id LEFT JOIN logpm_basicdata_store_brand lbsb on lbsb.client_id = lbc.id - WHERE lbc.client_type = '2' and lbss.serve_warehouse_id = #{id} + WHERE lbc.client_type = '2' and lbc.is_deleted = 0 and lbss.serve_warehouse_id = #{id} GROUP BY lbc.id