From 8cb7ec4a35a38ae91d0eed17cde711e81d2b2bbf Mon Sep 17 00:00:00 2001 From: yujian <yujian> Date: 星期二, 14 五月 2019 11:37:49 +0800 Subject: [PATCH] 合并 --- fanli/src/main/java/com/yeshi/fanli/service/inter/goods/GoodsSubClassService.java | 53 +++++++++++++++++++++-------------------------------- 1 files changed, 21 insertions(+), 32 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..89f4ccb 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,8 @@ import com.yeshi.fanli.entity.accept.AcceptData; import com.yeshi.fanli.entity.bus.clazz.GoodsSubClass; +import com.yeshi.fanli.entity.bus.clazz.GoodsSubClassLabelMap; +import com.yeshi.fanli.exception.GoodsSubClassException; public interface GoodsSubClassService { @@ -21,7 +23,6 @@ public int updateByPrimaryKeySelective(GoodsSubClass record); - public int updateByPrimaryKey(GoodsSubClass record); /** * 鎵归噺鍒犻櫎 @@ -30,24 +31,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; - /** * 鍒犻櫎鍥剧墖鏂囦欢 骞舵洿鏂板璞′俊鎭� @@ -99,19 +82,6 @@ public int countByPid(Long pid); - /** - * 缁熻涓�绾т箣涓嬬殑鎵�鏈変簩绾у垎绫绘渶澶ф潈閲� - * @param rootId 涓�绾d - * @returnL - */ - public int getMaxWeightByRootId(Long rootId); - - /** - * 缁熻浜岀骇鍒嗙被涔嬩笅鍏朵粬鍒嗙被鏈�澶ф潈閲� - * @param rootId 涓�绾d - * @return - */ - public int getMaxWeightByPid(Long pid); /** * 鑾峰彇浜岀骇鍒嗙被+ 鍔犲叆缂撳瓨 @@ -138,4 +108,23 @@ */ 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,GoodsSubClassLabelMap labelMap) + throws GoodsSubClassException, Exception; + } -- Gitblit v1.8.0