insert into mall_product(
`goods_id`,
`goods_specification_ids`,
`goods_specification_name_value`,
`goods_sn`,
`goods_number`,
`goods_default`
)
values(
#{goodsId},
#{goodsSpecificationIds},
#{goodsSpecificationNameValue},
#{goodsSn},
#{goodsNumber},
#{goodsDefault}
)
update mall_product
`goods_id` = #{goodsId},`goods_specification_ids` = #{goodsSpecificationIds},`goods_specification_name_value` =
#{goodsSpecificationNameValue},
`goods_sn` = #{goodsSn},`goods_number` = #{goodsNumber},`goods_default` = #{goodsDefault},
where id = #{id}
delete from mall_product where id = #{id}
delete from mall_product where goods_id = #{goodsId}
delete from mall_product where id in
#{id}