|
|
@@ -180,6 +180,7 @@ public class EventServiceImpl extends ServiceImpl<EventMapper, Event> |
|
|
|
//查询出对应事件对应的最新三张图片 |
|
|
|
List<TargetData> targetData = targetDataMapper.selectList(Wrappers.<TargetData>lambdaQuery() |
|
|
|
.eq(TargetData::getTargetId, event.getTargetId()) |
|
|
|
.eq(TargetData::getTenantId,CurrentUserUtil.getTenantId()) |
|
|
|
.orderByDesc(BaseEntity::getCreateTime).last("limit 3")); |
|
|
|
//拼接域名 |
|
|
|
targetData = targetData.stream().map(t -> { |
|
|
@@ -206,7 +207,7 @@ public class EventServiceImpl extends ServiceImpl<EventMapper, Event> |
|
|
|
} |
|
|
|
//图片集合 |
|
|
|
List<TargetData> targetData = targetDataMapper.selectList(Wrappers.<TargetData>lambdaQuery() |
|
|
|
//.eq(TargetData::getTenantId,CurrentUserUtil.getTenantId()) |
|
|
|
.eq(TargetData::getTenantId,CurrentUserUtil.getTenantId()) |
|
|
|
.eq(TargetData::getTargetId, event.getTargetId())); |
|
|
|
List<String> list = new ArrayList<>(); |
|
|
|
//经纬度集合 |