优化代码结构

This commit is contained in:
paulGao
2022-06-10 18:42:56 +08:00
parent 4316fa8953
commit b7b278f296
3 changed files with 3 additions and 23 deletions

View File

@@ -1,19 +0,0 @@
package cn.lili.modules.goods.render;
import cn.lili.modules.goods.entity.dos.GoodsSku;
import java.util.List;
import java.util.Map;
/**
* 商品sku渲染器
*
* @author paulG
* @since 2022/5/20
**/
public interface GoodsSkuRender {
GoodsSku render(List<Map<String, Object>> skuList);
}

View File

@@ -215,7 +215,7 @@ public interface GoodsSkuService extends IService<GoodsSku> {
/**
* 删除并且新增sku即覆盖之前信息
*
* @param goodsSkus
* @param goodsSkus 商品sku集合
* @return
*/
boolean deleteAndInsertGoodsSkus(List<GoodsSku> goodsSkus);
@@ -223,8 +223,8 @@ public interface GoodsSkuService extends IService<GoodsSku> {
/**
* 统计sku总数
*
* @param storeId
* @return
* @param storeId 店铺id
* @return sku总数
*/
Long countSkuNum(String storeId);
}