From 01597125df02b65ddef6489adde6642da8d85b47 Mon Sep 17 00:00:00 2001
From: yujian <yujian@123.com>
Date: 星期二, 10 九月 2019 14:04:28 +0800
Subject: [PATCH] 券记录 + 专题加入时间控制
---
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