Commit 469372ed by 郑永强

字段错误

parent 846af049
......@@ -34,9 +34,6 @@ public class AdNewsMessageStatistic extends BaseEntity {
private Long createUser;
@ApiModelProperty("内容来源")
private String contentFroms;
@ApiModelProperty("insert时父子表标识")
private Integer insertMark;
}
......@@ -47,9 +47,6 @@ public class AdNewsMessageStatisticVO {
@ApiModelProperty("目的Id")
private Long purLabelId;
@ApiModelProperty("内容来源")
private Integer contentFrom;
@ApiModelProperty("发送消息数")
private Integer messageCount;
......@@ -62,4 +59,7 @@ public class AdNewsMessageStatisticVO {
@ApiModelProperty("点击人数")
private Long userCount;
@ApiModelProperty("内容来源")
private String contentFroms;
}
......@@ -37,7 +37,7 @@
b.pur_label_id purLabelId,
a.message_count messageCount,
a.create_time createTime,
(select GROUP_CONCAT(distinct ad_news_id SEPARATOR ',') FROM ad_news_group_record WHERE message_statistic_id=a.id) content_froms,
(select GROUP_CONCAT(distinct ad_news_id SEPARATOR ',') FROM ad_news_group_record WHERE message_statistic_id=a.id) contentFroms,
(SELECT COUNT(1) FROM ad_news_click_record x WHERE x.message_statistic_id=a.id) clickCount,
(SELECT COUNT(DISTINCT wechat_user_id) FROM ad_news_click_record x WHERE x.message_statistic_id=a.id) userCount
FROM
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment