Browse Source

修改查询不可见逻辑删除数据

小车车 3 months ago
parent
commit
ef1ca4b57f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      yudao-module-iscs/src/main/resources/mapper/MapPointMapper.xml

+ 1 - 0
yudao-module-iscs/src/main/resources/mapper/MapPointMapper.xml

@@ -26,6 +26,7 @@
         LEFT JOIN isc_workstation w ON w.id = p.entity_id
         LEFT JOIN isc_workstation w ON w.id = p.entity_id
         LEFT JOIN isc_isolation_point ip ON ip.id = p.entity_id
         LEFT JOIN isc_isolation_point ip ON ip.id = p.entity_id
         <where>
         <where>
+            p.deleted = 0
             <if test="vo.mapId != null">
             <if test="vo.mapId != null">
                 and p.map_id = #{vo.mapId}
                 and p.map_id = #{vo.mapId}
             </if>
             </if>