package com.yeshi.fanli.service.inter.vipshop;
|
|
import java.util.List;
|
|
import com.yeshi.fanli.entity.jd.JDGoodsClass;
|
|
public interface JDGoodsClassService {
|
|
public void insertSelective(JDGoodsClass record);
|
|
public void updateByPrimaryKeySelective(JDGoodsClass record);
|
|
|
/**
|
* 查询各级分类
|
* @param pid
|
* @return
|
*/
|
List<JDGoodsClass> getByLevel(Integer level);
|
|
|
/**
|
* 查询下级分类
|
* @param pid
|
* @return
|
*/
|
List<JDGoodsClass> getByPid(Integer pid);
|
|
/**
|
* 更新分类
|
*/
|
void insertClass();
|
|
|
/**
|
* 查询三级分类信息
|
* @param cid
|
* @return
|
*/
|
JDGoodsClass getThreeClassByCid(Integer cid);
|
|
}
|