@@ -181,11 +181,6 @@
<artifactId>pagehelper</artifactId>
<version>5.1.11</version>
</dependency>
- <dependency>
- <groupId>com.github.houbb</groupId>
- <artifactId>csv</artifactId>
- <version>0.0.6</version>
- </dependency>
</dependencies>
<dependencyManagement>
@@ -263,7 +263,7 @@ public class SampleTest {
@Test
public void testSendMessage() {
- String path = "";
+ String path = "D:\\9563226_4.csv";
List<KuaishouReportDailyCreative>creatives = CsvReadBs.newInstance(path).read(KuaishouReportDailyCreative.class);
System.out.println(creatives);
}
@@ -32,9 +32,9 @@ public class KuaishouReportDailyCampaign implements Serializable {
private Long aclick;
@JsonProperty
private Long bclick;
- @JsonProperty
+ @JsonProperty("photo_share")
private Long share;
+ @JsonProperty("photo_comment")
private Long comment;
private Long photoLike;
@@ -16,9 +16,7 @@ public class KuaishouReportDailyCreative implements Serializable {
private static final long serialVersionUID = 1L;
@TableId
private String id;
-
private Long accountId;
@JsonProperty("creative_id")
private Long creativeId;