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 | 52 +++++++++++++++++++++++++--------------------------- 1 files changed, 25 insertions(+), 27 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 c9c013c..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 @@ -7,6 +7,7 @@ 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,6 +62,10 @@ */ public int updateByPrimaryKeySelective(GoodsClass record); + + int updateByPrimaryKey(GoodsClass record); + + public GoodsClass selectByPrimaryKey(Long gcid); @@ -107,4 +86,23 @@ 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