소스 검색

Merge remote-tracking branch 'origin/0617' into 0617

lin 5 년 전
부모
커밋
63208747f5
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>