Update CategoryBrandMapper.java

cyj
pbvfus8to 2 months ago
parent 4c484e70d5
commit 8fb5e770ae

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