-@SearchBean(tables = "(select goods_id,min(price) as price from yh_shop_goods_sku where status is true and deleted is true :condition: group by goods_id) yg" +
+@SearchBean(tables = "(select ys.goods_id,min(ys.price) as price from yh_shop_goods_sku ys left join goods_don_sku sku on sku.id = ys.sku_id where sku.status is true and ys.status is true and ys.deleted is true :condition: group by ys.goods_id) yg" +
" inner join goods_don g on g.id = yg.goods_id",
" inner join goods_don g on g.id = yg.goods_id",
where = "g.deleted is true and g.status is true and g.type = 1",
where = "g.deleted is true and g.status is true and g.type = 1",