浏览代码

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

小车车 3 月之前
父节点
当前提交
ef1ca4b57f
共有 1 个文件被更改,包括 1 次插入0 次删除
  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_isolation_point ip ON ip.id = p.entity_id
         <where>
+            p.deleted = 0
             <if test="vo.mapId != null">
                 and p.map_id = #{vo.mapId}
             </if>