|
|
@@ -13,7 +13,7 @@ import java.util.List;
|
|
|
* @date 2023/9/14 14:20
|
|
|
*/
|
|
|
@Data
|
|
|
-@SearchBean(tables = "goods_don g",
|
|
|
+@SearchBean(tables = "goods_don g left join goods_don_category gc on gc.id = g.category",
|
|
|
where = "g.status = true and g.deleted = true")
|
|
|
public class YhShopGoodsRateView {
|
|
|
@DbField("g.id")
|
|
|
@@ -23,7 +23,10 @@ public class YhShopGoodsRateView {
|
|
|
private String title;
|
|
|
|
|
|
@DbField("g.category")
|
|
|
- private Integer category;
|
|
|
+ private Long category;
|
|
|
+
|
|
|
+ @DbField("gc.name")
|
|
|
+ private String categoryName;
|
|
|
|
|
|
@DbIgnore
|
|
|
private List<YhShopGoodsSkuRateView> list;
|