|
@@ -20,7 +20,7 @@ import java.util.Date;
|
|
|
@SearchBean(tables = "yh_shop ys left join yh_shop_user_distribute_shared us on us.shop_user_id = ys.user_id" +
|
|
@SearchBean(tables = "yh_shop ys left join yh_shop_user_distribute_shared us on us.shop_user_id = ys.user_id" +
|
|
|
" left join order_don od on od.yhs_id = ys.id and od.status not in ('noPayment', 'close') :time:",
|
|
" left join order_don od on od.yhs_id = ys.id and od.status not in ('noPayment', 'close') :time:",
|
|
|
where = "ys.verify_status = 'success'",
|
|
where = "ys.verify_status = 'success'",
|
|
|
- groupBy = "ys.id,ys.user_id,ys.business_id,ys.created_time,ys.update_time")
|
|
|
|
|
|
|
+ groupBy = "ys.id,ys.user_id,ys.business_id,ys.custom_id,ys.created_time,ys.update_time")
|
|
|
public class YhShopDistributeView {
|
|
public class YhShopDistributeView {
|
|
|
@DbField("ys.id")
|
|
@DbField("ys.id")
|
|
|
private Long id;
|
|
private Long id;
|
|
@@ -40,6 +40,9 @@ public class YhShopDistributeView {
|
|
|
@DbField("count(yp.order_id)")
|
|
@DbField("count(yp.order_id)")
|
|
|
private Integer orders;
|
|
private Integer orders;
|
|
|
|
|
|
|
|
|
|
+ @DbField("ys.custom_id")
|
|
|
|
|
+ private String customId;
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 分销人数
|
|
* 分销人数
|
|
|
* 其中拉新用户购买一单又退款,且无后续下单动作的不算分销用户,不统计在此字段内
|
|
* 其中拉新用户购买一单又退款,且无后续下单动作的不算分销用户,不统计在此字段内
|