Commit f46f998d authored by chenzhao's avatar chenzhao

修改返回的异常信息

parent fcd49c43
...@@ -506,7 +506,7 @@ public class VideoServiceImpl extends ServiceImpl<VideoMapper, Video> implements ...@@ -506,7 +506,7 @@ public class VideoServiceImpl extends ServiceImpl<VideoMapper, Video> implements
// 处理监控和多个电力设备关系(1个摄像头对多个电力装备) // 处理监控和多个电力设备关系(1个摄像头对多个电力装备)
videoImportantEquipments.addAll(this.buildVideoImportantEquipment(fireMap, video.getId(), x.getImportantEquipmentCodes(), rowNum)); videoImportantEquipments.addAll(this.buildVideoImportantEquipment(fireMap, video.getId(), x.getImportantEquipmentCodes(), rowNum));
}catch (Exception e) { }catch (Exception e) {
throw new RuntimeException("系统异常!"); throw new RuntimeException(e.getMessage());
} }
} }
if (!videoSources.isEmpty()) { if (!videoSources.isEmpty()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment