@@ -172,7 +172,7 @@
new_meter_start,
device_model,
metercode
- from sc_device where status=1 and metercode is not null
+ from sc_device where status=1 and metercode is not null and curr_status = 1
<if test="siteId != null"> and site_id = #{siteId,jdbcType=INTEGER}</if>
<if test="customerId != null"> and customer_id = #{customerId,jdbcType=INTEGER}</if>
</select>