|
|
@@ -921,7 +921,7 @@ public class GoodsDonController {
|
|
|
if (goodsDetailView == null) {
|
|
|
throw BusinessRuntimeException.getInstance("该平台不存在或已下架,请刷新页面");
|
|
|
}
|
|
|
- goodsDetailView.setSkuList(beanSearcher.searchAll(YhShopGoodsSkuFrontView.class, MapUtils.builder().put("condition", condition).orderBy(YhShopGoodsSkuFrontView::getOrderBy).asc().build()));
|
|
|
+ goodsDetailView.setSkuList(beanSearcher.searchAll(YhShopGoodsSkuFrontView.class, MapUtils.builder().put("condition", condition).orderBy(YhShopGoodsSkuFrontView::getSorted).asc().build()));
|
|
|
goodsDetailView.setSpecs(beanSearcher.searchFirst(GoodsDonSpecFrontView.class, MapUtils.builder().field(GoodsDonSpecFrontView::getGoodsId, goodsDetailView.getId()).build()));
|
|
|
OrderCommentFrontView comments = beanSearcher.searchFirst(OrderCommentFrontView.class, MapUtils.builder()
|
|
|
.field(OrderCommentFrontView::getGoodsId, goodsDetailView.getId())
|