فهرست منبع

Merge branch '0617' of http://114.135.61.188:53000/ZONIOT/water-iot into 0617

Xiaojh 4 سال پیش
والد
کامیت
db7b82148a
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      smart-city-platform/src/main/resources/mapper/pay/AmountWaterUsedAmountMapper.xml

+ 2 - 0
smart-city-platform/src/main/resources/mapper/pay/AmountWaterUsedAmountMapper.xml

@@ -438,6 +438,8 @@ SELECT
 	c.site_id siteId
 	from pay_base_customerandmeterrela c
 	where c.businessstate =1
+	and c.customer_id is not null  and c.site_id is not null
+	group by c.customer_id, c.site_id
 	</select>
 
 </mapper>