From ca3e865a9e3c22fc24c7ca4b67ad8c25d3f2ef18 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 12 十一月 2019 11:01:31 +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