select id, order_id, goods_id, goods_name, goods_sn, product_id, number, price, specifications, pic_url, comment, purchase_price, counter_price, create_time, create_by, update_time, update_by, deleted from mall_order_goods insert into mall_order_goods order_id, goods_id, goods_name, goods_sn, product_id, number, price, specifications, pic_url, comment, purchase_price, counter_price, create_time, create_by, update_time, update_by, deleted, #{orderId}, #{goodsId}, #{goodsName}, #{goodsSn}, #{productId}, #{number}, #{price}, #{specifications}, #{picUrl}, #{comment}, #{purchasePrice}, #{counterPrice}, #{createTime}, #{createBy}, #{updateTime}, #{updateBy}, #{deleted}, update mall_order_goods order_id = #{orderId}, goods_id = #{goodsId}, goods_name = #{goodsName}, goods_sn = #{goodsSn}, product_id = #{productId}, number = #{number}, price = #{price}, specifications = #{specifications}, pic_url = #{picUrl}, comment = #{comment}, purchase_price = #{purchasePrice}, counter_price = #{counterPrice}, create_time = #{createTime}, create_by = #{createBy}, update_time = #{updateTime}, update_by = #{updateBy}, deleted = #{deleted}, where id = #{id} delete from mall_order_goods where id = #{id} delete from mall_order_goods where id in #{id}