diff --git a/epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/stats/DimAgencyDao.xml b/epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/stats/DimAgencyDao.xml index ac14010373..5869a269a6 100644 --- a/epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/stats/DimAgencyDao.xml +++ b/epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/stats/DimAgencyDao.xml @@ -22,6 +22,7 @@ dim_agency WHERE del_flag = '0' + AND AGENCY_DIM_TYPE = 'all' AND customer_id = #{customerId} @@ -119,6 +120,7 @@ WHERE DEL_FLAG = '0' AND CUSTOMER_ID = #{customerId,jdbcType=VARCHAR} + AND AGENCY_DIM_TYPE = 'all' @@ -234,6 +236,7 @@ dim_agency WHERE del_flag = '0' + AND AGENCY_DIM_TYPE = 'all' AND customer_id = #{customerId}