diff --git a/op-modules/op-energy/src/main/resources/mapper/report/ReportPointDnbMapper.xml b/op-modules/op-energy/src/main/resources/mapper/report/ReportPointDnbMapper.xml index 167a98d68..c2711964e 100644 --- a/op-modules/op-energy/src/main/resources/mapper/report/ReportPointDnbMapper.xml +++ b/op-modules/op-energy/src/main/resources/mapper/report/ReportPointDnbMapper.xml @@ -286,6 +286,9 @@ and bmi.monitor_hierarchy = #{monitorHierarchy} + + and bmi.subentry_id = #{subentryId} + group by blm.monitor_id,