清除分类商品缓存
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package com.czg.product.service;
|
||||
|
||||
import com.czg.product.vo.ProductVO;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -36,4 +38,13 @@ public interface ProductRpcService {
|
||||
* @param dataList 库存恢复数据
|
||||
*/
|
||||
void orderRefundReturnStock(Long shopId, Long orderId, List<Map<String, Object>> dataList);
|
||||
|
||||
List<ProductVO> listAndLowPrice(Long shopId, List<Long> productIds);
|
||||
|
||||
/**
|
||||
* 清除分类商品缓存
|
||||
* @param shopId 店铺id
|
||||
* @param categoryId 商品分类id
|
||||
*/
|
||||
void cleanCategoryProduct(Long shopId, Long categoryId);
|
||||
}
|
||||
|
||||
@@ -5,7 +5,6 @@ import com.czg.product.entity.Product;
|
||||
import com.czg.product.entity.ProductStockFlow;
|
||||
import com.czg.product.param.*;
|
||||
import com.czg.product.vo.ProductStatisticsVo;
|
||||
import com.czg.product.vo.ProductVO;
|
||||
import com.mybatisflex.core.paginate.Page;
|
||||
import com.mybatisflex.core.service.IService;
|
||||
|
||||
@@ -142,13 +141,4 @@ public interface ProductService extends IService<Product> {
|
||||
*/
|
||||
void refreshProductStock(ProductDTO param, List<ProductDTO> records);
|
||||
|
||||
List<ProductVO> listAndLowPrice(Long shopId, List<Long> productIds);
|
||||
|
||||
/**
|
||||
* 清除分类商品缓存
|
||||
* @param shopId 店铺id
|
||||
* @param categoryId 商品分类id
|
||||
*/
|
||||
void cleanCategoryProduct(Long shopId, Long categoryId);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user