|
@@ -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
|