influxDB测试
This commit is contained in:
@@ -4,9 +4,11 @@ import com.njcn.influx.mapper.CldStatisticsFlowMapper;
|
||||
import com.njcn.influx.pojo.po.CldStatisFlow;
|
||||
import com.njcn.influx.query.InfluxQueryWrapper;
|
||||
import com.njcn.influx.service.DataFlickerService;
|
||||
import com.njcn.influx.service.IDataVService;
|
||||
import lombok.SneakyThrows;
|
||||
import org.junit.Test;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -17,21 +19,20 @@ import java.util.List;
|
||||
*/
|
||||
public class DemoTest extends BaseJunitTest {
|
||||
|
||||
|
||||
@Autowired
|
||||
private CldStatisticsFlowMapper cldStatisticsFlowMapper;
|
||||
|
||||
|
||||
@Autowired
|
||||
private DataFlickerService dataFlickerService;
|
||||
|
||||
|
||||
@Autowired
|
||||
private IDataVService dataVService;
|
||||
|
||||
@SneakyThrows
|
||||
@Test
|
||||
public void test() {
|
||||
dataFlickerService.getDataFlicker("ff2d9674c1f1ecce7f33a5bf17fc4f2d","2023-05-02 00:00:00","2023-05-02 23:59:59");
|
||||
|
||||
// dataFlickerService.getDataFlicker("ff2d9674c1f1ecce7f33a5bf17fc4f2d","2023-05-02 00:00:00","2023-05-02 23:59:59");
|
||||
dataVService.getDataV("ff2d9674c1f1ecce7f33a5bf17fc4f2d","2023-05-02 00:00:00","2023-05-02 23:59:59");
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user