@ -462,11 +462,11 @@ public class HwMonitorPlatformController extends BaseController {
@RequiresPermissions ( "business:monitor:alarm" )
public void AlarmInfosExport ( HttpServletResponse response , Date startTime , Date endTime ) throws IOException , NoSuchFieldException , IllegalAccessException {
List < Long > list1 = hwAlarmInfoService . selectUnitId ( ) ;
HashMap < Lo ng, List < LinkedHashMap > > map = new HashMap < > ( ) ;
HashMap < Stri ng, List < LinkedHashMap > > map = new HashMap < > ( ) ;
for ( Long unitId : list1 ) {
List < AlarmInfoExportVo > list2 = hwAlarmInfoService . selectAlarmInfoExport1 ( unitId , startTime , endTime ) ;
List < HwMonitorUnitAttribute > attributes = hwMonitorUnitAttributeService . selectAttributes ( unitId ) ;
HwMonitorUnit hwMonitorUnit = hwMonitorUnitService . selectHwMonitorUnitByMonitorUnitId ( unitId ) ;
List < LinkedHashMap > excelMap = new ArrayList < LinkedHashMap > ( ) ;
LinkedHashMap attributeMap = new LinkedHashMap ( ) ;
for ( HwMonitorUnitAttribute attribute : attributes ) {
@ -502,7 +502,7 @@ public class HwMonitorPlatformController extends BaseController {
excelMap . add ( voMap ) ;
}
if ( CollectionUtil . isNotEmpty ( excelMap ) ) {
map . put ( unitId , excelMap ) ;
map . put ( hwMonitorUnit. getMonitorUnitName ( ) , excelMap ) ;
}
}