From 24a8d17e007545f7426c48352109aa1a9c6587ee Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 06 五月 2020 12:02:09 +0800 Subject: [PATCH] IOS上线隐藏我的界面的banner与超级会员升级信息 --- fanli/src/main/java/com/yeshi/fanli/service/inter/goods/GoodsSubClassService.java | 63 ++++++++++++++----------------- 1 files changed, 29 insertions(+), 34 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/GoodsSubClassService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/GoodsSubClassService.java index 865e390..1e023e9 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/GoodsSubClassService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/GoodsSubClassService.java @@ -7,6 +7,7 @@ import com.yeshi.fanli.entity.accept.AcceptData; import com.yeshi.fanli.entity.bus.clazz.GoodsSubClass; +import com.yeshi.fanli.exception.goods.GoodsSubClassException; public interface GoodsSubClassService { @@ -21,7 +22,6 @@ public int updateByPrimaryKeySelective(GoodsSubClass record); - public int updateByPrimaryKey(GoodsSubClass record); /** * 鎵归噺鍒犻櫎 @@ -30,24 +30,6 @@ */ public void deleteByPrimaryKeyBatch(List<String> recordIds) throws Exception ; - /** - * 淇濆瓨鍒嗙被淇℃伅 - * @param record - * @param file - * @throws Exception - */ - public int save(GoodsSubClass record, MultipartFile file) throws Exception; - - - /** - * 涓婁紶鍥剧墖鏂囦欢 骞舵洿鏂板璞′俊鎭� - * @param file - * @param record - * @return - * @throws Exception - */ - public int uploadPicture(GoodsSubClass record, MultipartFile file) throws Exception; - /** * 鍒犻櫎鍥剧墖鏂囦欢 骞舵洿鏂板璞′俊鎭� @@ -89,7 +71,7 @@ * @return * @throws Exception */ - public List<GoodsSubClass> getGoodsSecondClass(Long rootId, Integer state) throws Exception; + public List<GoodsSubClass> getGoodsSecondClass(Long rootId, Integer state,Integer month) throws Exception; public List<GoodsSubClass> queryByRootIdAndWeight(Long rootId, int type, int weight) throws Exception; @@ -99,19 +81,6 @@ public int countByPid(Long pid); - /** - * 缁熻涓�绾т箣涓嬬殑鎵�鏈変簩绾у垎绫绘渶澶ф潈閲� - * @param rootId 涓�绾d - * @returnL - */ - public int getMaxWeightByRootId(Long rootId); - - /** - * 缁熻浜岀骇鍒嗙被涔嬩笅鍏朵粬鍒嗙被鏈�澶ф潈閲� - * @param rootId 涓�绾d - * @return - */ - public int getMaxWeightByPid(Long pid); /** * 鑾峰彇浜岀骇鍒嗙被+ 鍔犲叆缂撳瓨 @@ -120,7 +89,7 @@ * @return * @throws Exception */ - public List<GoodsSubClass> getSubClassCache(Long rootId, Integer state) throws Exception; + public List<GoodsSubClass> getSubClassCache(Long rootId, Integer state,Integer month) throws Exception; /** * 缁熻鍓嶇 鐐瑰嚮娆℃暟 @@ -138,4 +107,30 @@ */ public GoodsSubClass getSubClassByPrimaryKeyCache(Long id) throws Exception; + /** + * 鏌ヨ涓�绾т笅鐨勫瓙绫� + * @param list + * @return + */ + public List<GoodsSubClass> queryByListCid(List<Long> list); + + /** + * 淇濆瓨鍒嗙被淇℃伅 + * @param file + * @param record + * @param type + * @param pid + * @throws GoodsSubClassException + * @throws Exception + */ + public void saveObject(MultipartFile file,MultipartFile file2, GoodsSubClass record, Integer type, Long pid,Long labelId) + throws GoodsSubClassException, Exception; + + /** + * 鐘舵�佸垏鎹� + * @param id + * @throws GoodsSubClassException + */ + public void switchState(Long id) throws GoodsSubClassException; + } -- Gitblit v1.8.0