|
@@ -19,10 +19,12 @@ import cn.iocoder.yudao.module.pms.service.inspect.IotInspectOrderService;
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.google.common.collect.ImmutableMap;
|
|
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
+import org.apache.commons.lang3.StringUtils;
|
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PathVariable;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
@@ -293,4 +295,13 @@ public class IotStaticController {
|
|
|
});
|
|
|
return CommonResult.success(resultMap);
|
|
|
}
|
|
|
+
|
|
|
+ @GetMapping("/td/chart/{identifier}")
|
|
|
+ public CommonResult<Map<String, String>> getTdChart(@PathVariable("identifier") String identifier) {
|
|
|
+ if (StringUtils.isBlank(identifier)) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
}
|