| | |
| | | import com.yeshi.fanli.entity.bus.lable.Label;
|
| | | import com.yeshi.fanli.entity.bus.lable.LabelGoods;
|
| | | import com.yeshi.fanli.entity.common.AdminUser;
|
| | | import com.yeshi.fanli.exception.LabelException;
|
| | | import com.yeshi.fanli.exception.goods.quality.LabelException;
|
| | |
|
| | | public interface LabelService {
|
| | |
|
| | |
| | | public List<LabelGoods> getByGoodsId(Long goodsId);
|
| | |
|
| | |
|
| | | public List<Label> selectByTitleCache(String labKey, String title) throws LabelException;
|
| | | public Label getByTitleCache(String labKey, String title) throws LabelException;
|
| | |
|
| | | /**
|
| | | * 新建标签
|
| | |
| | | * @return
|
| | | */
|
| | | public List<Label> addBatchByNames(String lableNames, AdminUser admin) throws LabelException;
|
| | |
|
| | | /**
|
| | | * 多个标签查询
|
| | | * @param list
|
| | | * @return
|
| | | */
|
| | | public List<Label> listByTitlesCache(List<String> list);
|
| | |
|
| | | }
|