jinpengyong
2023-08-25 5b8a5f41040d81ff799d076e98523ffc920c6417
screen-manage/src/main/java/com/moral/api/controller/CruiserController.java
@@ -69,9 +69,9 @@
        if (!params.containsKey("mac") || !params.containsKey("time1")|| !params.containsKey("time2")) {
            return ResultMessage.fail(ResponseCodeEnum.PARAMETERS_IS_MISSING.getCode(), ResponseCodeEnum.PARAMETERS_IS_MISSING.getMsg());
        }
        List<CruiserDTO> data = historySecondCruiserService.getCruiserInFo(params);
        Map<String, Object> cruiserInFo = historySecondCruiserService.getCruiserInFo(params);
        return ObjectUtils.isEmpty(data)? ResultMessage.ok() : ResultMessage.ok(data);
        return ObjectUtils.isEmpty(cruiserInFo)? ResultMessage.ok() : ResultMessage.ok(cruiserInFo);
    }