From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 25 二月 2025 16:41:22 +0800 Subject: [PATCH] 淘宝转链接口更新 --- fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassService.java | 108 +++++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 87 insertions(+), 21 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassService.java index d698317..338d76e 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassService.java @@ -1,21 +1,87 @@ -package com.yeshi.fanli.service.inter.brand; - -import com.yeshi.fanli.entity.brand.BrandClass; -import com.yeshi.fanli.exception.brand.BrandClassException; - -/** - * 鍝佺墝鍒嗙被鏈嶅姟 - * - * @author Administrator - * - */ -public interface BrandClassService { - - /** - * 娣诲姞鍝佺墝鍒嗙被 - * @param brandClass - * @throws BrandClassException - */ - public void addBrandClass(BrandClass brandClass) throws BrandClassException; - -} +package com.yeshi.fanli.service.inter.brand; + +import java.util.List; + +import com.yeshi.fanli.entity.SystemEnum; +import com.yeshi.fanli.entity.brand.BrandClass; +import com.yeshi.fanli.exception.brand.BrandClassException; + +/** + * 鍝佺墝鍒嗙被鏈嶅姟 + * + * @author Administrator + * + */ +public interface BrandClassService { + + /** + * 鏌ヨ鏈夋晥鍒嗙被 + * @return + */ + public List<BrandClass> listEffective(SystemEnum system); + + /** + * 鏌ヨ鏈夋晥鍒嗙被 + * @return + */ + public List<BrandClass> listBrandClassEffectiveCache(SystemEnum system); + + /** + * 淇濆瓨鍝佺墝淇℃伅 + * @param record + * @throws BrandClassException + * @throws Exception + */ + public void saveObject(BrandClass record,List<SystemEnum> systemList) throws BrandClassException, Exception; + + /** + * 鏌ヨ鍒楄〃 + * @param start + * @param count + * @param key + * @param state + * @return + */ + public List<BrandClass> listQuery(long start, int count, String key, Integer state,SystemEnum system); + + public long countQuery(String key, Integer state,SystemEnum system); + + /** + * 淇敼鎺掑簭 + * @param id + * @param moveType + * @throws BrandClassException + * @throws Exception + */ + public void updateOrder(Long id, Integer moveType,SystemEnum system) throws BrandClassException, Exception; + + /** + * 鎵归噺鍒犻櫎 + * @param list + * @return + */ + public int deleteBatchByPrimaryKey(List<Long> list); + + /** + * 鎵归噺鍒犻櫎鏄犲皠 + * @param list + * @param system + */ + public void deleteSystemMapBatch(List<Long> list,SystemEnum system); + + /** + * + * @param id + * @return + */ + public BrandClass selectByPrimaryKey(Long id); + + /** + * 鐘舵�佸垏鎹� + * @param id + * @throws BrandClassException + */ + public void switchState(Long id) throws BrandClassException; + + +} -- Gitblit v1.8.0