فهرست منبع

修改支付机构sql

hym 3 سال پیش
والد
کامیت
912dfd9f88
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      zoniot-pay/zoniot-pay-core/src/main/resources/mapper/pay/MeasurementInstanceMapper.xml

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