From 884196860ac5970eb1ac33386c65378284df4679 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 29 四月 2019 09:00:02 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
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