2024-11-14(属性组 商品规格 品类信息)

backups
笨蛋 2024-11-15 03:51:42 +08:00
parent c4464794cc
commit 8409d7efd6
1 changed files with 11 additions and 0 deletions

View File

@ -18,4 +18,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<sql id="selectAsCategoryBrandVo">
select id, category_id, brand_id, remark, create_by, create_time, update_by, update_time from as_category_brand
</sql>
<insert id="addAsCategoryBrandMapper">
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);
</insert>
<delete id="deleteAsCategoryBrandMapper">
delete from `as_category_brand` where category_id=#{id}
</delete>
<select id="selectAsCategoryBrandList" resultType="java.lang.Long">
select brand_id from `as_category_brand` where category_id=#{id}
</select>
</mapper>