소스 검색

Merge branch 'ga' of wangfan/adweb3-server into master

wangfan 5 달 전
부모
커밋
f2fa840f0a

+ 2 - 3
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/dmp/dto/google/analytics/report/data/DateViewData.java

@@ -2,7 +2,6 @@ package org.jeecg.modules.adweb.dmp.dto.google.analytics.report.data;
 
 import lombok.Data;
 
-import java.math.BigDecimal;
 import java.time.format.DateTimeFormatter;
 
 /**
@@ -23,7 +22,7 @@ public class DateViewData implements GAReportDataDTO {
 
     private int pageViews;
 
-    private BigDecimal bounceRate;
+    private double bounceRate;
 
-    private BigDecimal avgSessionDuration;
+    private double avgSessionDuration;
 }

+ 2 - 4
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/dmp/dto/google/analytics/report/data/PagePathViewData.java

@@ -2,8 +2,6 @@ package org.jeecg.modules.adweb.dmp.dto.google.analytics.report.data;
 
 import lombok.Data;
 
-import java.math.BigDecimal;
-
 /**
  * @author wfansh
  */
@@ -12,9 +10,9 @@ public class PagePathViewData implements GAReportDataDTO {
 
     private String pagePath;
 
-    private BigDecimal engagementRate;
+    private double engagementRate;
 
     private int pageViews;
 
-    private BigDecimal avgTimeOnPage;
+    private double avgTimeOnPage;
 }

+ 3 - 5
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/dmp/dto/google/analytics/report/data/SourceMediaViewData.java

@@ -2,8 +2,6 @@ package org.jeecg.modules.adweb.dmp.dto.google.analytics.report.data;
 
 import lombok.Data;
 
-import java.math.BigDecimal;
-
 /**
  * @author wfansh
  */
@@ -18,9 +16,9 @@ public class SourceMediaViewData implements GAReportDataDTO {
 
     private int sessions;
 
-    private BigDecimal bounceRate;
+    private double bounceRate;
 
-    private BigDecimal avgSessionDuration;
+    private double avgSessionDuration;
 
-    private BigDecimal pageViewsPerSession;
+    private double pageViewsPerSession;
 }