Browse Source

修改支付机构sql

hym 3 years ago
parent
commit
912dfd9f88

+ 1 - 1
zoniot-pay/zoniot-pay-core/src/main/resources/mapper/pay/MeasurementInstanceMapper.xml

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