|
|
@ -137,6 +137,12 @@ public class CerePlatformShopServiceImpl implements CerePlatformShopService { |
|
|
|
product.setPrice(activityProduct.getPrice()); |
|
|
|
product.setUsers(activityProduct.getUsers()); |
|
|
|
} |
|
|
|
|
|
|
|
CereBuyerCollect collect = cereBuyerCollectService.findByUserProduct(user.getBuyerUserId(),product.getProductId()); |
|
|
|
if(collect!=null){ |
|
|
|
product.setCollectId(collect.getCollectId()); |
|
|
|
product.setIfCollect(collect.getState()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
PageInfo<Product> pageInfo=new PageInfo<>(list); |
|
|
|