| | |
| | | |
| | | @PostMapping(PREFIX + "/query-point/max-time-value") |
| | | @Operation(summary = "查询最大值(带时间)") |
| | | Map<String, Object> queryPointMaxTimeValue(ApiPointValueQueryDTO queryDto); |
| | | Map<String, Object> queryPointMaxTimeValue(@RequestBody ApiPointValueQueryDTO queryDto); |
| | | |
| | | @PostMapping(PREFIX + "/query-point/max-value-range") |
| | | @Operation(summary = "查询最大值") |
| | |
| | | InfluxPointValuePOJO pojo = new InfluxPointValuePOJO(); |
| | | pojo.setPoint(queryDto.getPointNo()); |
| | | pojo.setType(daPointDTO.getDataType()); |
| | | Object val = influxDBService.queryPointMaxTimeValue(pojo, queryDto.getStart(), queryDto.getEnd()); |
| | | result.put(queryDto.getPointNo(), val); |
| | | result = influxDBService.queryPointMaxTimeValue(pojo, queryDto.getStart(), queryDto.getEnd()); |
| | | return result; |
| | | } |
| | | |
| | |
| | | influx-db: |
| | | org: iailab |
| | | token: _338h4Kbu2KQaes5QwAyOz9pTUueXoSF9XmPi8N9oTS1SrhTZVj4J9JfSraUyWA0PfWMZOlf9QWax-USkJQR_A== |
| | | url: http://172.16.8.200:8086 |
| | | url: http://172.16.1.221:8086 |
| | | username: iailab |
| | | password: iailab2019 |
| | | password: eF7!gT6*rJ |
| | | |
| | | iems: |
| | | upload-dir: D:/DLUT/upload/ |