zhanghua
2023-11-13 0eb28afa74627a5ecf7b91de3106df539a09fe46
ycl-platform/src/main/java/com/ycl/controller/smoke/OdsStatisticsController.java
@@ -82,8 +82,8 @@
    @ResponseBody
    @LogSave(operationType = "油烟模块", contain = "监测报警统计&运维情况报表")
    public CommonResult<String> getDetectorDailyStatsDocument(@RequestParam(value = "field", required = false) String field,
                                                              @RequestParam(value = "mn", required = false) String mn) {
        OdsLocaleDocument odsLocaleDocument = documentService.getByLocaleId(mn);
                                                              @RequestParam(value = "localeId", required = false) String localeId) {
        OdsLocaleDocument odsLocaleDocument = documentService.getByLocaleId(localeId);
        String value = getFieldValueByFieldName(field, odsLocaleDocument);
        return CommonResult.success(value);
    }