|
@@ -21,7 +21,7 @@ import java.util.Date;
|
|
|
@Setter
|
|
@Setter
|
|
|
@SearchBean(tables = "goods_don g left join yh_shop_user_plat_distribute_rate ydr on g.id = ydr.goods_id :uid:" +
|
|
@SearchBean(tables = "goods_don g left join yh_shop_user_plat_distribute_rate ydr on g.id = ydr.goods_id :uid:" +
|
|
|
" left join yh_shop_general_goods_rate ygr on ygr.goods_id = g.id",
|
|
" left join yh_shop_general_goods_rate ygr on ygr.goods_id = g.id",
|
|
|
- where = "g.type = 1 and g.status is true and g.deleted is true")
|
|
|
|
|
|
|
+ where = "g.type = 1 and g.status is true and g.deleted is true and g.is_distribute is true")
|
|
|
public class YhShopUserPlatDistributeRate {
|
|
public class YhShopUserPlatDistributeRate {
|
|
|
@TableId(value = "id", type = IdType.AUTO)
|
|
@TableId(value = "id", type = IdType.AUTO)
|
|
|
@DbField("ydr.id")
|
|
@DbField("ydr.id")
|