package com.macro.mall.demo.service;

import com.macro.mall.demo.dto.PmsBrandDto;
import com.macro.mall.model.PmsBrand;

import java.util.List;

/**
 * DemoService接口
 */
public interface DemoService {
    List<PmsBrand> listAllBrand();

    int createBrand(PmsBrandDto pmsBrandDto);

    int updateBrand(Long id, PmsBrandDto pmsBrandDto);

    int deleteBrand(Long id);

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

    PmsBrand getBrand(Long id);
}

@@ -159,16 +159,49 @@
 rvice%E6%8E%A5%E5%8F%A3%0A
+ * Created by macro on 2019/4/8.%0A
  */%0Apubl

Update DemoService.java