Przeglądaj źródła

导出报告

tags/V1.0.1^2
chengwang 1 rok temu
rodzic
commit
38e777b943
3 zmienionych plików z 3 dodań i 3 usunięć
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/entity/domain/AirDataExport.java
  2. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/entity/request/report/ExportReportRequest.java
  3. +1
    -1
      tuoheng-service/tuoheng-admin/src/test/java/com/tuoheng/admin/service/ExportReportServiceTest.java

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/entity/domain/AirDataExport.java Wyświetl plik

@@ -44,7 +44,7 @@ public class AirDataExport extends BaseEntity {
/**
* 网格大小
*/
private Integer gridSize;
private String gridSize;

/**
* 阿里云文件地址

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/entity/request/report/ExportReportRequest.java Wyświetl plik

@@ -27,7 +27,7 @@ public class ExportReportRequest {
/**
* 网格大小
*/
private Integer gridSize;
private String gridSize;

/**
* 采样点数量

+ 1
- 1
tuoheng-service/tuoheng-admin/src/test/java/com/tuoheng/admin/service/ExportReportServiceTest.java Wyświetl plik

@@ -36,7 +36,7 @@ public class ExportReportServiceTest {
request.setGridConcentrationMix("16000ug/m3(1187761E318291N)"); // 网格浓度最小值
request.setSinglePointConcentrationMax("25000ug/m3(1187718318252N)2022/04/29 14:06:40"); // 单点浓度最高值
request.setSinglePointConcentrationMin("16000ug/m3(1187753318286 N)2022/04/2914:02:21"); // 单点浓度最低值
request.setGridSize(1);
//request.setGridSize(1);

JSONObject json = (JSONObject) JSONObject.toJSON(request);
log.info("-----> json={}", json);

Ładowanie…
Anuluj
Zapisz