yujian
2019-03-27 2bcdc1bacd38ec716a6e94dd9d863b5809bb7212
fanli/src/main/java/com/yeshi/fanli/service/inter/goods/GoodsClassService.java
@@ -7,6 +7,7 @@
import com.yeshi.fanli.entity.admin.GoodsClassAdmin;
import com.yeshi.fanli.entity.bus.clazz.GoodsClass;
import com.yeshi.fanli.exception.GoodsClassException;
public interface GoodsClassService {
   
@@ -15,16 +16,10 @@
   
   public GoodsClass getGoodsClassCache(long gcid);
   public List<GoodsClassAdmin> getGoodsClassAdmins(int i, String platform,
         String packages, String key);
   public int getCount(String platform, String packages, String key);
   public Integer addGoodsClass(GoodsClass goodsClass);
   public void deleteGoodsClasss(long[] gcids);
   public Integer updateGoodsClass(GoodsClass goodsClass);
   /**
    * 获取所有分类
    * @return
@@ -39,7 +34,7 @@
    * @param id
    * @return
    */
   public String getKwById(Long id);
   public String getKeysById(Long id);
   /**
    * 上传图片
@@ -50,14 +45,6 @@
    */
   public void uploadPicture(GoodsClass record, MultipartFile file) throws Exception;
   
   /**
    * 新增类别
    * @param record
    * @param file
    * @return
    * @throws Exception
    */
   public long saveAdd(GoodsClass record, MultipartFile file) throws Exception;
   public void deleteGoodsClass(long id);
@@ -66,19 +53,7 @@
   
   public List<GoodsClass> queryAll(String platform, String packages) throws Exception;
   
   /**
    * 根据排序id查询
    * @param orderby
    * @return
    */
   public List<GoodsClass> getByorderby(int orderby);
   /**
    * 查询所有
    * @return
    */
   public List<GoodsClass> queryAll();
   /**
    * 选择性更新
@@ -87,6 +62,10 @@
    */
   public int updateByPrimaryKeySelective(GoodsClass record);
   int updateByPrimaryKey(GoodsClass record);
   public GoodsClass selectByPrimaryKey(Long gcid);
@@ -107,4 +86,23 @@
   public List<Map<String, Object>> getClassListAllCache(Long systemId) throws Exception;
   /**
    * 保存分类信息
    * @param file
    * @param record
    * @throws GoodsClassException
    * @throws Exception
    */
   public void saveObject(MultipartFile file, GoodsClass record) throws GoodsClassException, Exception;
   /**
    * 后台顺序调整
    * @param id
    * @param moveType
    * @throws GoodsClassException
    */
   public void updateOrder(Long id, Integer moveType) throws GoodsClassException;
}