| | |
| | | registry.addResourceHandler("/**").addResourceLocations("classpath:/META-INF/resources/"); |
| | | //录像视频mp4文件路径转为http url |
| | | registry.addResourceHandler("/video/**").addResourceLocations("file:/battery_system/video_system/ZLMediaKit/www/record/rtp/"); |
| | | //巡检记录文件和视频 |
| | | registry.addResourceHandler("/inspectRecord/video/**").addResourceLocations("file:/mnt/disk2/YunNan3/video/"); |
| | | registry.addResourceHandler("/inspectRecord/recordAnalysis/**").addResourceLocations("file:/mnt/disk2/YunNan3/recordAnalysis/"); |
| | | super.addResourceHandlers(registry); |
| | | |
| | | } |
| | |
| | | his.setAlmLevel(almLevel); |
| | | PageInfo pageInfo=util.getPageInfo(pageNum,pageSize, ThreadLocalUtil.parse(startTime,1),ThreadLocalUtil.parse(endTime,1) |
| | | ,"db_alarm","batt_alarm_history",his); |
| | | List<BattAlarm> list = pageInfo.getList(); |
| | | List<BattAlarmHistory> list = pageInfo.getList(); |
| | | List<BattAlarmCfg> cfgList = cfgService.getList(); |
| | | list.stream().forEach(item->{ |
| | | Integer almId = item.getAlmId(); |