diff --git a/yami-shop-service/src/main/resources/mapper/CategoryBrandMapper.xml b/yami-shop-service/src/main/resources/mapper/CategoryBrandMapper.xml new file mode 100644 index 0000000..674df73 --- /dev/null +++ b/yami-shop-service/src/main/resources/mapper/CategoryBrandMapper.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + insert into tz_category_brand (category_id,brand_id) values + + + (#{categoryId},#{brandId}) + + + + + delete from tz_category_brand where category_id = #{categoryId} + + + + + delete from tz_category_brand where brand_id = #{brandId} + + \ No newline at end of file