2024-11-14(属性组 商品规格 品类信息)
parent
c4464794cc
commit
8409d7efd6
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue