screen-api/src/main/java/com/moral/api/controller/MonitorPointController.java
@@ -22,7 +22,6 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.ArrayList; import java.util.List; import java.util.Map; @@ -96,8 +95,8 @@ } String[] monitorPointIds = params.remove("monitorPointIds").toString().split(","); params.put("monitorPointIds", monitorPointIds); //List<Object> response = historyFiveMinutelyService.getAreaWindData(params); return ResultMessage.ok(new ArrayList<>()); List<Object> response = historyFiveMinutelyService.getAreaWindData(params); return ResultMessage.ok(response); } /** screen-api/src/main/java/com/moral/api/service/impl/HistoryFiveMinutelyServiceImpl.java
@@ -25,6 +25,7 @@ import com.moral.util.DateUtils; import com.moral.util.MybatisPLUSUtils; import io.lettuce.core.GeoCoordinates; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.stereotype.Service; @@ -41,6 +42,7 @@ * @since 2021-07-15 */ @Service @Slf4j public class HistoryFiveMinutelyServiceImpl extends ServiceImpl<HistoryFiveMinutelyMapper, HistoryFiveMinutely> implements HistoryFiveMinutelyService { @Autowired @@ -159,7 +161,7 @@ //风场数据 windData = historyFiveMinutelyMapper.getAreaWindData(params); } log.info("风场数据:{}", windData); return getWindData(windData); }