package com.macro.mall.service;

import com.macro.mall.dto.PmsBrandParam;
import com.macro.mall.model.PmsBrand;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 商品品牌Service
 * Created by macro on 2018/4/26.
 */
public interface PmsBrandService {
    List<PmsBrand> listAllBrand();

    int createBrand(PmsBrandParam pmsBrandParam);
    @Transactional
    int updateBrand(Long id, PmsBrandParam pmsBrandParam);

    int deleteBrand(Long id);

    int deleteBrand(List<Long> ids);

    List<PmsBrand> listBrand(String keyword, int pageNum, int pageSize);

    PmsBrand getBrand(Long id);

    int updateShowStatus(List<Long> ids, Integer showStatus);

    int updateFactoryStatus(List<Long> ids, Integer factoryStatus);
}

@@ -287,16 +287,46 @@
 rvice %7B%0A
+    /**%0A     * %E8%8E%B7%E5%8F%96%E6%89%80%E6%9C%89%E5%93%81%E7%89%8C%0A     */%0A
     List
@@ -349,24 +349,52 @@
 llBrand();%0A%0A
+    /**%0A     * %E5%88%9B%E5%BB%BA%E5%93%81%E7%89%8C%0A     */%0A
     int crea
@@ -430,16 +430,45 @@
 dParam);
+%0A%0A    /**%0A     * %E4%BF%AE%E6%94%B9%E5%93%81%E7%89%8C%0A     */
 %0A    @Tr
@@ -535,24 +535,52 @@
 andParam);%0A%0A
+    /**%0A     * %E5%88%A0%E9%99%A4%E5%93%81%E7%89%8C%0A     */%0A
     int dele
@@ -590,32 +590,62 @@
 rand(Long id);%0A%0A
+    /**%0A     * %E6%89%B9%E9%87%8F%E5%88%A0%E9%99%A4%E5%93%81%E7%89%8C%0A     */%0A
     int deleteBr
@@ -662,24 +662,54 @@
 ong%3E ids);%0A%0A
+    /**%0A     * %E5%88%86%E9%A1%B5%E6%9F%A5%E8%AF%A2%E5%93%81%E7%89%8C%0A     */%0A
     List%3CPms
@@ -766,24 +766,52 @@
 pageSize);%0A%0A
+    /**%0A     * %E8%8E%B7%E5%8F%96%E5%93%81%E7%89%8C%0A     */%0A
     PmsBrand
@@ -827,24 +827,54 @@
 (Long id);%0A%0A
+    /**%0A     * %E4%BF%AE%E6%94%B9%E6%98%BE%E7%A4%BA%E7%8A%B6%E6%80%81%0A     */%0A
     int upda
@@ -920,24 +920,57 @@
 owStatus);%0A%0A
+    /**%0A     * %E4%BF%AE%E6%94%B9%E5%8E%82%E5%AE%B6%E5%88%B6%E9%80%A0%E5%95%86%E7%8A%B6%E6%80%81%0A     */%0A
     int upda

Update PmsBrandService.java