From 8409d7efd6f22cd943ebb97405f90bfb8c5868c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=AC=A8=E8=9B=8B?=
<14958938+qianqiao5-6-7@user.noreply.gitee.com>
Date: Fri, 15 Nov 2024 03:51:42 +0800
Subject: [PATCH] =?UTF-8?q?2024-11-14=EF=BC=88=E5=B1=9E=E6=80=A7=E7=BB=84?=
=?UTF-8?q?=20=E5=95=86=E5=93=81=E8=A7=84=E6=A0=BC=20=20=E5=93=81=E7=B1=BB?=
=?UTF-8?q?=E4=BF=A1=E6=81=AF=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../mapper/product/AsCategoryBrandMapper.xml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/muyu-modules/muyu-product/muyu-product-server/src/main/resources/mapper/product/AsCategoryBrandMapper.xml b/muyu-modules/muyu-product/muyu-product-server/src/main/resources/mapper/product/AsCategoryBrandMapper.xml
index 048317d..8465e15 100644
--- a/muyu-modules/muyu-product/muyu-product-server/src/main/resources/mapper/product/AsCategoryBrandMapper.xml
+++ b/muyu-modules/muyu-product/muyu-product-server/src/main/resources/mapper/product/AsCategoryBrandMapper.xml
@@ -18,4 +18,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, category_id, brand_id, remark, create_by, create_time, update_by, update_time from as_category_brand
+
+ INSERT INTO `product`.`as_category_brand` (`id`, `category_id`, `brand_id`, `remark`, `create_by`,
+ `create_time`, `update_by`, `update_time`)
+ VALUES (0, #{categoryId}, #{brandId}, NULL, NULL, NULL, NULL, NULL);
+
+
+ delete from `as_category_brand` where category_id=#{id}
+
+