diff --git a/yami-shop-service/src/main/resources/mapper/CategoryPropMapper.xml b/yami-shop-service/src/main/resources/mapper/CategoryPropMapper.xml new file mode 100644 index 0000000..987e341 --- /dev/null +++ b/yami-shop-service/src/main/resources/mapper/CategoryPropMapper.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + insert into tz_category_prop (category_id,prop_id) values + + + (#{categoryId},#{propId}) + + + + + + delete from tz_category_prop where category_id = #{categoryId} + + + + + delete from tz_category_prop where prop_id = #{propId} + + \ No newline at end of file