From 77602de9c796b5fd42b74003727d934df14152fa Mon Sep 17 00:00:00 2001 From: yujian <yujian> Date: 星期五, 26 四月 2019 12:24:28 +0800 Subject: [PATCH] 品牌店铺信息管理 +前端接口 --- fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassService.java | 54 +++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 49 insertions(+), 5 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 5c83c64..67f0fb3 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,5 +1,7 @@ package com.yeshi.fanli.service.inter.brand; +import java.util.List; + import com.yeshi.fanli.entity.brand.BrandClass; import com.yeshi.fanli.exception.brand.BrandClassException; @@ -12,10 +14,52 @@ public interface BrandClassService { /** - * 娣诲姞鍝佺墝鍒嗙被 - * - * @param brandClass - * @throws BrandClassException + * 鏌ヨ鏈夋晥鍒嗙被 + * @return */ - public void addBrandClass(BrandClass brandClass) throws BrandClassException; + public List<BrandClass> listEffective(); + + /** + * 鏌ヨ鏈夋晥鍒嗙被 + * @return + */ + public List<BrandClass> listBrandClassEffectiveCache(); + + /** + * 淇濆瓨鍝佺墝淇℃伅 + * @param record + * @throws BrandClassException + * @throws Exception + */ + public void saveObject(BrandClass record) throws BrandClassException, Exception; + + /** + * 鏌ヨ鍒楄〃 + * @param start + * @param count + * @param key + * @param state + * @return + */ + public List<BrandClass> listQuery(long start, int count, String key, Integer state); + + public long countQuery(String key, Integer state); + + /** + * 淇敼鎺掑簭 + * @param id + * @param moveType + * @throws BrandClassException + * @throws Exception + */ + public void updateOrder(Long id, Integer moveType) throws BrandClassException, Exception; + + /** + * 鎵归噺鍒犻櫎 + * @param list + * @return + */ + public int deleteBatchByPrimaryKey(List<Long> list); + + } -- Gitblit v1.8.0