| | |
| | | package com.yeshi.fanli.service.inter.goods;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import org.springframework.cache.annotation.Cacheable;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.clazz.GoodsSecondClass;
|
| | | import com.yeshi.fanli.exception.NotExistObjectException;
|
| | |
|
| | | public interface GoodsSecondClassService {
|
| | | |
| | | public List<GoodsSecondClass> getGoodsSecondClassByGoodsClassId(long id);
|
| | |
|
| | | public List<GoodsSecondClass> getSecondClassList(int i, String key,
|
| | | long cid);
|
| | |
|
| | | public int getCount(long cid, String key);
|
| | |
|
| | | public void addSecondClass(GoodsSecondClass secondClass);
|
| | |
|
| | | public void deleteSecondClass(long sid);
|
| | |
|
| | | public GoodsSecondClass getSecondClass(long scid);
|
| | |
|
| | | public void updateSecondClass(GoodsSecondClass secondClass) throws NotExistObjectException;
|
| | |
|
| | | public void deleteSecondClassByGC(long id);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.goods; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.bus.clazz.GoodsSecondClass; |
| | | import com.yeshi.fanli.exception.NotExistObjectException; |
| | | |
| | | public interface GoodsSecondClassService { |
| | | |
| | | public List<GoodsSecondClass> getGoodsSecondClassByGoodsClassId(long id); |
| | | |
| | | public List<GoodsSecondClass> getSecondClassList(int i, String key, |
| | | long cid); |
| | | |
| | | public int getCount(long cid, String key); |
| | | |
| | | public void addSecondClass(GoodsSecondClass secondClass); |
| | | |
| | | public void deleteSecondClass(long sid); |
| | | |
| | | public GoodsSecondClass getSecondClass(long scid); |
| | | |
| | | public void updateSecondClass(GoodsSecondClass secondClass) throws NotExistObjectException; |
| | | |
| | | } |