From 81da61b828e29b7745e1382dfbbaeb685dc083ef Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 23 一月 2024 17:17:55 +0800 Subject: [PATCH] 抖音转链修改 --- fanli/src/main/java/com/yeshi/fanli/service/inter/goods/GoodsClassService.java | 216 ++++++++++++++++++++++++++++-------------------------- 1 files changed, 112 insertions(+), 104 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 a56a124..af5a6bd 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,104 +1,112 @@ -package com.yeshi.fanli.service.inter.goods; - -import java.util.List; -import java.util.Map; - -import org.springframework.web.multipart.MultipartFile; - -import com.yeshi.fanli.entity.bus.clazz.GoodsClass; -import com.yeshi.fanli.exception.goods.GoodsClassException; - -public interface GoodsClassService { - - public GoodsClass getGoodsClass(long gcid); - - - public GoodsClass getGoodsClassCache(long gcid); - - - /** - * 鑾峰彇鎵�鏈夊垎绫� - * @return - */ - public List<GoodsClass> getGoodsClassAll(); - - /** - * - * 鏂规硶璇存槑: 閫氳繃id鑾峰彇鍟嗗搧绫诲瀷鐨凨ey - * @author mawurui - * createTime 2018骞�4鏈�26鏃� 涓嬪崍3:51:56 - * @param id - * @return - */ - public String getKeysById(Long id); - - /** - * 涓婁紶鍥剧墖 - * @param record - * @param file - * @return - * @throws Exception - */ - public void uploadPicture(GoodsClass record, MultipartFile file) throws Exception; - - - public void deleteGoodsClass(long id); - - public void removePicture(GoodsClass record) throws Exception; - - - public List<GoodsClass> listquery(Integer sex) throws Exception; - - - - /** - * 閫夋嫨鎬ф洿鏂� - * @param record - * @return - */ - public int updateByPrimaryKeySelective(GoodsClass record); - - - int updateByPrimaryKey(GoodsClass record); - - - public GoodsClass selectByPrimaryKey(Long gcid); - - - /** - * 鏌ヨ鎵�鏈夋湁鏁堝垎绫�-鍔犲叆缂撳瓨 - * @param systemId 绯荤粺ID - * @return - * @throws Exception - */ - public List<GoodsClass> getEffectiveClassCache(); - - /** - * 鏌ヨ鎵�鏈夊垎绫汇�佷富瀛愮被鐩� - * @param systemId - * @return - * @throws Exception - */ - public List<Map<String, Object>> getClassListAllCache(boolean changePicture) 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; - - -} +package com.yeshi.fanli.service.inter.goods; + +import java.util.List; +import java.util.Map; + +import org.springframework.web.multipart.MultipartFile; + +import com.yeshi.fanli.entity.bus.clazz.GoodsClass; +import com.yeshi.fanli.exception.goods.GoodsClassException; + +public interface GoodsClassService { + + public GoodsClass getGoodsClass(long gcid); + + + public GoodsClass getGoodsClassCache(long gcid); + + + /** + * 鑾峰彇鎵�鏈夊垎绫� + * @return + */ + public List<GoodsClass> getGoodsClassAll(); + + /** + * + * 鏂规硶璇存槑: 閫氳繃id鑾峰彇鍟嗗搧绫诲瀷鐨凨ey + * @author mawurui + * createTime 2018骞�4鏈�26鏃� 涓嬪崍3:51:56 + * @param id + * @return + */ + public String getKeysById(Long id); + + /** + * 涓婁紶鍥剧墖 + * @param record + * @param file + * @return + * @throws Exception + */ + public void uploadPicture(GoodsClass record, MultipartFile file) throws Exception; + + + public void deleteGoodsClass(long id); + + public void removePicture(GoodsClass record) throws Exception; + + + public List<GoodsClass> listquery(Integer sex) throws Exception; + + + + /** + * 閫夋嫨鎬ф洿鏂� + * @param record + * @return + */ + public int updateByPrimaryKeySelective(GoodsClass record); + + + int updateByPrimaryKey(GoodsClass record); + + + public GoodsClass selectByPrimaryKey(Long gcid); + + + /** + * 鏌ヨ鎵�鏈夋湁鏁堝垎绫�-鍔犲叆缂撳瓨 + * @param systemId 绯荤粺ID + * @return + * @throws Exception + */ + public List<GoodsClass> getEffectiveClassCache(); + + /** + * 鏌ヨ鎵�鏈夊垎绫汇�佷富瀛愮被鐩� + * @param systemId + * @return + * @throws Exception + */ + public List<Map<String, Object>> getClassListAllCache(boolean changePicture) 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; + + + /** + * 鐘舵�佸垏鎹� + * @param id + * @throws GoodsClassException + */ + public void switchState(Long id) throws GoodsClassException; + + +} -- Gitblit v1.8.0