|
@@ -77,6 +77,8 @@ public class MsgAlarmController extends BaseController {
|
|
|
private BaseTerminalService baseTerminalService;
|
|
|
@Autowired
|
|
|
private CameraUtil cameraUtil;
|
|
|
+ @Resource
|
|
|
+ private MsgAlarmExtService msgAlarmExtService;
|
|
|
|
|
|
/**
|
|
|
* web更多消息-总数,已读数
|
|
@@ -208,6 +210,11 @@ public class MsgAlarmController extends BaseController {
|
|
|
String name = stringBuilder.toString();
|
|
|
o.setTrainNumName(name.substring(0, stringBuilder.lastIndexOf(",")));
|
|
|
}
|
|
|
+ List<MsgAlarmExt> list1 = msgAlarmExtService.list(new LambdaQueryWrapper<MsgAlarmExt>().eq(MsgAlarmExt::getAlarmId, o.getAlarmId()));
|
|
|
+ if (!ObjectUtils.isEmpty(list1)) {
|
|
|
+ List<String> collect = list1.stream().map(MsgAlarmExt::getAlarmAttPath).collect(Collectors.toList());
|
|
|
+ o.setImageUrls(collect);
|
|
|
+ }
|
|
|
return o;
|
|
|
}).collect(Collectors.toList());
|
|
|
page.setRecords(dto1);
|