|
@@ -223,7 +223,7 @@
|
|
|
left join rmcp_measurement_record u on c.watermeter_id = u.device_id
|
|
|
left join rmcp_measurement_instance ri on u.plan_id=ri.id
|
|
|
<where>
|
|
|
- c.businessstate = '1'
|
|
|
+ c.businessstate = '1' and u.approval_status=0
|
|
|
<if test="beforDate != null ">
|
|
|
and w.read_date =#{beforDate}
|
|
|
</if>
|