|
@@ -20,7 +20,7 @@ import java.util.List;
|
|
|
@SearchBean(tables = "goods_don g inner join goods_don_category_relate gcr on gcr.goods_id = g.id" +
|
|
@SearchBean(tables = "goods_don g inner join goods_don_category_relate gcr on gcr.goods_id = g.id" +
|
|
|
" inner join goods_don_category gc on gc.id = gcr.category",
|
|
" inner join goods_don_category gc on gc.id = gcr.category",
|
|
|
where = "g.status is true",
|
|
where = "g.status is true",
|
|
|
- orderBy = "g.id")
|
|
|
|
|
|
|
+ orderBy = "gc.id,g.id")
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
public class CategoryGoodsCascadeView {
|
|
public class CategoryGoodsCascadeView {
|
|
|
@DbField("gc.id")
|
|
@DbField("gc.id")
|