select id, order_id, goods_id, product_id, goods_name, goods_img, product_name, price, total, comment, del_flag from mall_order_goods
insert into mall_order_goods
order_id,
goods_id,
product_id,
goods_name,
goods_img,
product_name,
price,
total,
comment,
del_flag,
#{orderId},
#{goodsId},
#{productId},
#{goodsName},
#{goodsImg},
#{productName},
#{price},
#{total},
#{comment},
#{delFlag},
update mall_order_goods
order_id = #{orderId},
goods_id = #{goodsId},
product_id = #{productId},
goods_name = #{goodsName},
goods_img = #{goodsImg},
product_name = #{productName},
price = #{price},
total = #{total},
comment = #{comment},
del_flag = #{delFlag},
where id = #{id}
delete from mall_order_goods where id = #{id}
delete from mall_order_goods where id in
#{id}