tangchuanxing_branch
CR7 10 months ago
parent a753700ddf
commit 305d551bf7

@ -0,0 +1,44 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.bean.model.CategoryBrand;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* Mapper
*
* @author lanhai
*/
public interface CategoryBrandMapper extends BaseMapper<CategoryBrand> {
/**
*
* @param categoryId ID
* @param brandIds ID
*/
void insertCategoryBrand(@Param("categoryId") Long categoryId, @Param("brandIds") List<Long> brandIds);
/**
* ID
* @param categoryId ID
*/
void deleteByCategoryId(Long categoryId);
/**
* ID
* @param brandId ID
*/
void deleteByBrandId(Long brandId);
}
Loading…
Cancel
Save