diff --git a/dc3-center/dc3-center-manager/src/main/resources/mapping/PointMapper.xml b/dc3-center/dc3-center-manager/src/main/resources/mapping/PointMapper.xml index 43b93b76c076ceae9d9d9efb187f556135ecf46a..932c83cd71c6cf6fa64ec4402bf3d3bfe64137e7 100644 --- a/dc3-center/dc3-center-manager/src/main/resources/mapping/PointMapper.xml +++ b/dc3-center/dc3-center-manager/src/main/resources/mapping/PointMapper.xml @@ -43,6 +43,7 @@ from dc3_point dp inner join dc3_profile_bind dpb on dp.profile_id = dpb.profile_id and dpb.device_id = #{deviceId} + and dpb.deleted = 0 ${ew.customSqlSegment} diff --git a/dc3-center/dc3-center-manager/src/main/resources/mapping/ProfileMapper.xml b/dc3-center/dc3-center-manager/src/main/resources/mapping/ProfileMapper.xml index ba0c815eca9f1fcfc33f5e8f0c25a242b0baaa8d..d45badf1cdeef672708ff2258be40b763a156e8b 100644 --- a/dc3-center/dc3-center-manager/src/main/resources/mapping/ProfileMapper.xml +++ b/dc3-center/dc3-center-manager/src/main/resources/mapping/ProfileMapper.xml @@ -37,6 +37,7 @@ from dc3_profile dp inner join dc3_profile_bind dpb on dp.id = dpb.profile_id + and dpb.deleted = 0 inner join dc3_device dd on dpb.device_id = dd.id and dd.id = #{deviceId} ${ew.customSqlSegment}