Commit 94d44c29 authored by macro's avatar macro
Browse files

Update PmsProductAttributeService.java

parent 31191553
...@@ -14,7 +14,8 @@ import java.util.List; ...@@ -14,7 +14,8 @@ import java.util.List;
public interface PmsProductAttributeService { public interface PmsProductAttributeService {
/** /**
* 根据分类分页获取商品属性 * 根据分类分页获取商品属性
* @param cid 分类id *
* @param cid 分类id
* @param type 0->属性;2->参数 * @param type 0->属性;2->参数
*/ */
List<PmsProductAttribute> getList(Long cid, Integer type, Integer pageSize, Integer pageNum); List<PmsProductAttribute> getList(Long cid, Integer type, Integer pageSize, Integer pageNum);
...@@ -35,8 +36,14 @@ public interface PmsProductAttributeService { ...@@ -35,8 +36,14 @@ public interface PmsProductAttributeService {
*/ */
PmsProductAttribute getItem(Long id); PmsProductAttribute getItem(Long id);
/**
* 批量删除商品属性
*/
@Transactional @Transactional
int delete(List<Long> ids); int delete(List<Long> ids);
/**
* 获取和分类相关的商品属性
*/
List<ProductAttrInfo> getProductAttrInfo(Long productCategoryId); List<ProductAttrInfo> getProductAttrInfo(Long productCategoryId);
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment