diff --git a/epmet-module/data-report/data-report-server/src/main/resources/mapper/group/GroupDao.xml b/epmet-module/data-report/data-report-server/src/main/resources/mapper/group/GroupDao.xml index 84f000a53c..607fc0819c 100644 --- a/epmet-module/data-report/data-report-server/src/main/resources/mapper/group/GroupDao.xml +++ b/epmet-module/data-report/data-report-server/src/main/resources/mapper/group/GroupDao.xml @@ -74,6 +74,7 @@ AND agency_id = #{agencyId} ORDER BY date_id DESC + LIMIT 90 @@ -83,12 +84,13 @@ group_incr AS value, '小组数量' AS type FROM - fact_group_agency_daily + fact_group_agency_monthly WHERE del_flag = '0' AND agency_id = #{agencyId} ORDER BY month_id DESC + LIMIT 12 \ No newline at end of file diff --git a/epmet-module/data-report/data-report-server/src/main/resources/mapper/topic/TopicDao.xml b/epmet-module/data-report/data-report-server/src/main/resources/mapper/topic/TopicDao.xml index 6945fb4baa..169227cff9 100644 --- a/epmet-module/data-report/data-report-server/src/main/resources/mapper/topic/TopicDao.xml +++ b/epmet-module/data-report/data-report-server/src/main/resources/mapper/topic/TopicDao.xml @@ -156,6 +156,7 @@ AND agency_id = #{agencyId} ORDER BY date_id DESC + LIMIT 270 @@ -187,6 +188,7 @@ AND agency_id = #{agencyId} ORDER BY month_id DESC + LIMIT 36