耗材绑定关系
This commit is contained in:
@@ -185,9 +185,9 @@ public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> impl
|
||||
lowMemberPriceIsPresent.ifPresent(record::setLowMemberPrice);
|
||||
}
|
||||
record.setSkuList(skuList);
|
||||
record.setProdConsRelations(prodConsRelationService.list(query()
|
||||
record.setConsList(prodConsRelationService.listAs(query()
|
||||
.eq(ProdConsRelation::getProductId, record.getId())
|
||||
.eq(ProdConsRelation::getShopId, record.getShopId())));
|
||||
.eq(ProdConsRelation::getShopId, record.getShopId()), ProdConsRelationDTO.class));
|
||||
});
|
||||
return records;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user