Selaa lähdekoodia

去掉已经删除设备

hym 4 vuotta sitten
vanhempi
commit
9a22c4d32d

+ 1 - 1
meter-reading-sishui/read-sqlSever/src/main/resources/mysql-mapper/SendDao.xml

@@ -163,7 +163,7 @@
        <foreach collection="list" item="item" open="(" separator="," close=")">
             #{item.deviceNo}
         </foreach>
-        and relation_id is not null
+        and relation_id is not null and status=1
     </select>
     <select id="selectMeterNo" resultType="java.lang.String">
           select water_meter_no from sc_device where customer_id=#{customerId} and   relation_id is null