From 2aeddf5d098b99d28783c6a73bfa67414aa1f2fe Mon Sep 17 00:00:00 2001
From: 喻健 <喻健@Admin>
Date: 星期六, 15 十二月 2018 10:11:42 +0800
Subject: [PATCH] 精选库代码优化:更新数据加入更新时间,删除无用代码

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/lable/LabelGoodsService.java |   42 +-----------------------------------------
 1 files changed, 1 insertions(+), 41 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..ca7a3d2 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
@@ -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