yuanchao hai 1 mes
pai
achega
77087bd144

+ 6 - 0
yudao-module-pms/yudao-module-pms-biz/src/main/resources/mapper/static/IotOpeationFillMapper.xml

@@ -27,6 +27,12 @@
             c.id = d.device_id
           and
             c.device_status in ('sg','dm')
+          and
+            a.deleted = 0
+          and
+            c.deleted = 0
+          and
+            d.deleted = 0
     </select>
 
     <select id="getFillById" parameterType="cn.iocoder.yudao.module.pms.dal.dataobject.iotopeationfill.IotOpeationFillDO"