jpy
2023-05-27 8e84131f3ee2391fbb4b177977101a65ef13f96a
screen-api/src/main/java/com/moral/api/controller/MonitorPointController.java
@@ -22,6 +22,7 @@
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
@@ -96,10 +97,9 @@
            return ResultMessage.fail(ResponseCodeEnum.PARAMETERS_IS_MISSING.getCode(), ResponseCodeEnum.PARAMETERS_IS_MISSING.getMsg());
        }
        String[] monitorPointIds = params.remove("monitorPointIds").toString().split(",");
        List<String> collect = Arrays.stream(monitorPointIds).filter(o -> !o.equals("60")).collect(Collectors.toList());
        params.put("monitorPointIds", collect);
        List<Object> response = historyFiveMinutelyService.getAreaWindData(params);
        return ResultMessage.ok(response);
        params.put("monitorPointIds", monitorPointIds);
        //List<Object> response = historyFiveMinutelyService.getAreaWindData(params);
        return ResultMessage.ok(new ArrayList<>());
    }
    /**