@@ -85,9 +86,12 @@ public class DemoController extends BaseController {
...
@@ -85,9 +86,12 @@ public class DemoController extends BaseController {
@ApiOperation(value="demo测试influxdb")
@ApiOperation(value="demo测试influxdb")
@GetMapping("/test3")
@GetMapping("/test3")
publicvoiddemoTest2(){
publicvoiddemoTest2(){
Stringsql="SELECT createdTime ,gatewayId,address,valueLabel FROM \"iot_data\" WHERE equipmentSpecificName=~/.*27风机.*/ and gatewayId='1668801435891929089' GROUP BY equipmentIndex ORDER BY time desc LIMIT 600";
Stringsql="SELECT * FROM indicators_1668801435891929089";