|
|
@@ -286,15 +286,11 @@ public class FsStoreScrmServiceImpl implements IFsStoreScrmService
|
|
|
FsStoreProductScrm fsStoreProductScrm = new FsStoreProductScrm();
|
|
|
fsStoreProductScrm.setStoreId(store.getStoreId());
|
|
|
fsStoreProductScrm.setIsAudit("1");//审核通过
|
|
|
- fsStoreProductScrm.setIsGood(1);//推荐
|
|
|
+ fsStoreProductScrm.setIsBest(1);//推荐
|
|
|
fsStoreProductScrm.setIsShow(1);//上架
|
|
|
fsStoreProductScrm.setIsDel(0);
|
|
|
List<FsStoreProductScrm> fsStoreProductScrms = fsStoreProduct.selectFsStoreProductList(fsStoreProductScrm);
|
|
|
- if (fsStoreProductScrms != null && !fsStoreProductScrms.isEmpty()) {
|
|
|
- return FsStoreRecommendListVO.builder().store(store).recommendProductList(fsStoreProductScrms).build();
|
|
|
- } else {
|
|
|
- return null;
|
|
|
- }
|
|
|
+ return FsStoreRecommendListVO.builder().store(store).recommendProductList(fsStoreProductScrms).build();
|
|
|
}).collect(Collectors.toList());
|
|
|
}
|
|
|
|