| | |
| | | import java.util.List;
|
| | | import java.util.Map;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | | import org.springframework.cache.annotation.Cacheable;
|
| | | import org.springframework.web.multipart.MultipartFile;
|
| | |
|
| | | 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;
|
| | |
|
| | | /**
|
| | | * 新建标签
|
| | | * @param lableNames 空格隔开
|
| | | * @param admin
|
| | | * @return
|
| | | */
|
| | | public List<Label> addBatchByNames(String lableNames, AdminUser admin) throws LabelException;
|
| | |
|
| | | /**
|
| | | * 多个标签查询
|
| | | * @param list
|
| | | * @return
|
| | | */
|
| | | public List<Label> listByTitlesCache(List<String> list);
|
| | |
|
| | | }
|