From 2bcdc1bacd38ec716a6e94dd9d863b5809bb7212 Mon Sep 17 00:00:00 2001
From: yujian <yujian>
Date: 星期三, 27 三月 2019 14:41:44 +0800
Subject: [PATCH] 店铺地址 手动处理

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/goods/GoodsClassService.java |   71 +++++++++++++++++++++--------------
 1 files changed, 43 insertions(+), 28 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/GoodsClassService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/GoodsClassService.java
index af7a267..8dab207 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/GoodsClassService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/GoodsClassService.java
@@ -1,12 +1,13 @@
 package com.yeshi.fanli.service.inter.goods;
 
 import java.util.List;
+import java.util.Map;
 
-import org.springframework.cache.annotation.Cacheable;
 import org.springframework.web.multipart.MultipartFile;
 
 import com.yeshi.fanli.entity.admin.GoodsClassAdmin;
 import com.yeshi.fanli.entity.bus.clazz.GoodsClass;
+import com.yeshi.fanli.exception.GoodsClassException;
 
 public interface GoodsClassService {
 	
@@ -15,16 +16,10 @@
 	
 	public GoodsClass getGoodsClassCache(long gcid);
 
-	public List<GoodsClassAdmin> getGoodsClassAdmins(int i, String platform,
-			String packages, String key);
 
 	public int getCount(String platform, String packages, String key);
 
-	public Integer addGoodsClass(GoodsClass goodsClass);
 
-	public void deleteGoodsClasss(long[] gcids);
-
-	public Integer updateGoodsClass(GoodsClass goodsClass);
 	/**
 	 * 鑾峰彇鎵�鏈夊垎绫�
 	 * @return
@@ -39,7 +34,7 @@
 	 * @param id
 	 * @return
 	 */
-	public String getKwById(Long id);
+	public String getKeysById(Long id);
 
 	/**
 	 * 涓婁紶鍥剧墖
@@ -50,14 +45,6 @@
 	 */
 	public void uploadPicture(GoodsClass record, MultipartFile file) throws Exception;
 	
-	/**
-	 * 鏂板绫诲埆
-	 * @param record
-	 * @param file
-	 * @return
-	 * @throws Exception
-	 */
-	public long saveAdd(GoodsClass record, MultipartFile file) throws Exception;
 
 	public void deleteGoodsClass(long id);
 
@@ -66,19 +53,7 @@
 	
 	public List<GoodsClass> queryAll(String platform, String packages) throws Exception;
 	
-	/**
-	 * 鏍规嵁鎺掑簭id鏌ヨ
-	 * @param orderby
-	 * @return
-	 */
-	public List<GoodsClass> getByorderby(int orderby);
 
-	
-	/**
-	 * 鏌ヨ鎵�鏈�
-	 * @return
-	 */
-	public List<GoodsClass> queryAll();
 
 	/**
 	 * 閫夋嫨鎬ф洿鏂�
@@ -87,7 +62,47 @@
 	 */
 	public int updateByPrimaryKeySelective(GoodsClass record);
 
+	
+	int updateByPrimaryKey(GoodsClass record);
+	
+	
 	public GoodsClass selectByPrimaryKey(Long gcid);
 
 
+	/**
+	 *    鏍规嵁绯荤粺ID鏌ヨ鎵�鏈夊垎绫�-鍔犲叆缂撳瓨
+	 * @param systemId 绯荤粺ID
+	 * @return
+	 * @throws Exception
+	 */
+	public List<GoodsClass> getListClassCache(Long systemId) throws Exception;
+
+	/**
+	 * 鏌ヨ鎵�鏈夊垎绫汇�佷富瀛愮被鐩�
+	 * @param systemId
+	 * @return
+	 * @throws Exception
+	 */
+	public List<Map<String, Object>> getClassListAllCache(Long systemId) throws Exception;
+
+
+	/**
+	 * 淇濆瓨鍒嗙被淇℃伅
+	 * @param file
+	 * @param record
+	 * @throws GoodsClassException
+	 * @throws Exception
+	 */
+	public void saveObject(MultipartFile file, GoodsClass record) throws GoodsClassException, Exception;
+
+
+	/**
+	 * 鍚庡彴椤哄簭璋冩暣
+	 * @param id
+	 * @param moveType
+	 * @throws GoodsClassException
+	 */
+	public void updateOrder(Long id, Integer moveType) throws GoodsClassException;
+
+
 }

--
Gitblit v1.8.0