代码提交
This commit is contained in:
@@ -3,5 +3,5 @@ spring:
|
||||
url: http://192.168.1.16:8086
|
||||
user: admin
|
||||
password: 123456
|
||||
database: pqsbase_sjzx
|
||||
database: pqsbase_zl
|
||||
mapper-location: com.njcn.influx.imapper
|
||||
@@ -1,7 +1,9 @@
|
||||
package com.njcn.influx;
|
||||
|
||||
import com.njcn.influx.imapper.CldStatisticsFlowMapper;
|
||||
import com.njcn.influx.pojo.dto.StatisticalDataDTO;
|
||||
import com.njcn.influx.pojo.po.DataV;
|
||||
import com.njcn.influx.service.CommonService;
|
||||
import com.njcn.influx.service.DataFlickerService;
|
||||
import com.njcn.influx.service.IDataVService;
|
||||
import lombok.SneakyThrows;
|
||||
@@ -26,12 +28,19 @@ public class DemoTest extends BaseJunitTest {
|
||||
@Autowired
|
||||
private IDataVService dataVService;
|
||||
|
||||
@Autowired
|
||||
private CommonService commonService;
|
||||
|
||||
@SneakyThrows
|
||||
@Test
|
||||
public void test() {
|
||||
// dataFlickerService.getDataFlicker("ff2d9674c1f1ecce7f33a5bf17fc4f2d","2023-05-02 00:00:00","2023-05-02 23:59:59");
|
||||
List<DataV> ss = dataVService.getDataV("ff2d9674c1f1ecce7f33a5bf17fc4f2d", "2023-05-02 00:00:00", "2023-05-02 23:59:59");
|
||||
System.out.println(ss);
|
||||
// List<DataV> ss = dataVService.getDataV("ff2d9674c1f1ecce7f33a5bf17fc4f2d", "2023-05-02 00:00:00", "2023-05-02 23:59:59");
|
||||
// System.out.println(ss);
|
||||
|
||||
StatisticalDataDTO statisticalDataDTO = commonService.getLineRtData("4","data_harmpower_p","W","A","max");
|
||||
System.out.println("statisticalDataDTO==:" + statisticalDataDTO);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user