|
@@ -169,6 +169,26 @@ public class ItemService {
|
|
|
return itemVoList;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 获取product
|
|
|
+ * @param merchantId
|
|
|
+ * @param productIdList
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ /*
|
|
|
+ protected List<Product> findProduct(String merchantId, List<String> productIdList){
|
|
|
+ if (CollectionUtils.isEmpty(productIdList)) {
|
|
|
+ return new ArrayList<>();
|
|
|
+ }
|
|
|
+
|
|
|
+ List<MerchantProduct> merchantProductList = merchantProductRepository.findByPidsAndMerchantId(productIdList, merchantId);
|
|
|
+ }
|
|
|
+
|
|
|
+ public List<ItemVo> findMerchant(String merchantId, List<String> productIdList){
|
|
|
+
|
|
|
+ }
|
|
|
+ */
|
|
|
+
|
|
|
public List<ItemVo> findByIds(String merchantId, List<String> productIdList) {
|
|
|
if (CollectionUtils.isEmpty(productIdList)) {
|
|
|
return new ArrayList<>();
|