admin
2020-05-19 744594ef1a2f530fc3e86ea9dc48b62247f79420
fanli/src/main/java/com/yeshi/fanli/service/inter/lable/LabelGoodsService.java
@@ -5,8 +5,8 @@
import com.yeshi.fanli.entity.bus.lable.LabelGoods;
import com.yeshi.fanli.entity.common.AdminUser;
import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief;
import com.yeshi.fanli.exception.LabelClassException;
import com.yeshi.fanli.exception.LabelGoodsException;
import com.yeshi.fanli.exception.goods.quality.LabelClassException;
import com.yeshi.fanli.exception.goods.quality.LabelGoodsException;
public interface LabelGoodsService {
@@ -17,25 +17,7 @@
    * @return
    * @throws LabelGoodsException
    */
   public int insert(LabelGoods record) throws LabelGoodsException;
   /**
    * 更新当前对象所有数据
    *
    * @param record
    * @return
    * @throws LabelGoodsException
    */
   public int updateByPrimaryKey(LabelGoods record) throws LabelGoodsException;
   /**
    * 选择性更新内容——不为空则更新该字段
    *
    * @param record
    * @return
    * @throws LabelGoodsException
    */
   public int updateByPrimaryKeySelective(LabelGoods record) throws LabelGoodsException;
   public int insertSelective(LabelGoods record) throws LabelGoodsException;
   /**
    * 根据id删除当前对象
@@ -63,16 +45,6 @@
    */
   public int deleteBatchById(long[] ids) throws LabelGoodsException;
   /**
    * 商品贴标签
    *
    * @param arrtitle
    * @param ids
    * @param admin
    * @return
    * @throws LabelGoodsException
    */
   public void setGoodsLabel(String[] arrtitle, List<String> goodsIds, AdminUser admin) throws Exception;
   /**
    * 根据商品id 删除商品对应的所有标签信息
@@ -82,18 +54,6 @@
    */
   public void deleteByGoodsId(List<String> ids) throws LabelGoodsException;
   /**
    * 批量添加商品标签
    *
    * @param label
    * @param goodsIdList
    * @param admin
    * @param weight
    * @param weightSmall
    * @param weightLarge
    */
   public void addBatchRandom(String[] lables, List<String> idList, AdminUser admin, Integer weight,
         Integer weightSmall, Integer weightLarge) throws Exception;
   /**
    * 获取标签商品关联数量