From 98b1a0affd69bbe63223c21fdd2c404e8bedfccb Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 20 五月 2020 17:25:08 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/div' into 2.1.2 --- fanli/src/main/java/com/yeshi/fanli/service/inter/lable/LabelGoodsService.java | 46 +++------------------------------------------- 1 files changed, 3 insertions(+), 43 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/lable/LabelGoodsService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/lable/LabelGoodsService.java index f644c73..b04885d 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/lable/LabelGoodsService.java +++ b/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; /** * 鑾峰彇鏍囩鍟嗗搧鍏宠仈鏁伴噺 -- Gitblit v1.8.0