admin
2019-07-11 3824cbcaec6e6c67418d5280a53e9c2fedeef6f9
fanli/src/main/java/com/yeshi/fanli/service/impl/brand/BrandClassServiceImpl.java
@@ -13,6 +13,7 @@
import com.yeshi.fanli.entity.bus.clazz.GoodsClass;
import com.yeshi.fanli.exception.brand.BrandClassException;
import com.yeshi.fanli.service.inter.brand.BrandClassService;
import com.yeshi.fanli.service.inter.brand.BrandClassShopService;
import com.yeshi.fanli.service.inter.goods.GoodsClassService;
@Service
@@ -24,6 +25,9 @@
   @Resource
   private GoodsClassService goodsClassService;
   @Resource
   private BrandClassShopService brandClassShopService;
   @Override
   public List<BrandClass> listEffective() {
      return brandClassMapper.listEffective();
@@ -110,6 +114,9 @@
   
   @Override
   public int deleteBatchByPrimaryKey(List<Long> list) {
      // 删除已匹配的分类关系
      brandClassShopService.deleteBatchByClassId(list);
      return brandClassMapper.deleteBatchByPrimaryKey(list);
   }