Browse Source

修改取值问题

syh 4 years ago
parent
commit
b1ec013043

File diff suppressed because it is too large
+ 24 - 50
jeecg-boot-module-system/src/test/java/org/jeecg/SampleTest.java


+ 1 - 1
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/report/entity/KuaishouAgentAccount.java

@@ -30,7 +30,7 @@ public class KuaishouAgentAccount {
 	@TableId(type = IdType.INPUT)
     @ApiModelProperty(value = "id")
 	@JsonProperty("accountId")
-	private Integer id;
+	private Long id;
 	/**accountId*/
 	@Excel(name = "userId", width = 15)
     @ApiModelProperty(value = "userId")

+ 2 - 1
module-toutiao/src/main/java/cn/com/ctop/toutiao/modules/report/service/impl/ReportServiceImpl.java

@@ -245,9 +245,10 @@ public class ReportServiceImpl implements IReportService {
     }
 
     private void formatCreativeData(JSONObject detail, UserAllocation allocation, RuleDataPlan plan) {
+        System.out.println(detail.toJSONString());
         //广告来源
         String source = detail.getString("source");
-        Integer isPresentedVideo = detail.getInteger("is_presented_video");
+        Integer isPresentedVideo = detail.getInteger("isPresentedVideo");
         JSONArray creatives = detail.getJSONArray("creatives");
         if(null!=creatives&&!creatives.isEmpty()){
             for(int i=0;i<creatives.size();i++){