From f4a0f2acc63d7785eab108419a4e16f5f688cb95 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 18 一月 2020 12:06:27 +0800 Subject: [PATCH] 用户注册信息 --- fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassService.java | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 55 insertions(+), 4 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..00b4678 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,59 @@ 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); + + /** + * + * @param id + * @return + */ + public BrandClass selectByPrimaryKey(Long id); + + } -- Gitblit v1.8.0