Bladeren bron

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

小车车 3 maanden geleden
bovenliggende
commit
ef1ca4b57f
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  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>