select id, order_id, goods_id, product_id, goods_name, goods_img, product_name, price, total, comment, del_flag, commission, return_total, return_status, returnable_quantity, integral,batch_id from mall_orderback_goods
insert into mall_orderback_goods
order_id,
goods_id,
product_id,
goods_name,
goods_img,
product_name,
price,
total,
comment,
del_flag,
commission,
return_total,
return_status,
returnable_quantity,
integral,
batch_id,
#{orderId},
#{goodsId},
#{productId},
#{goodsName},
#{goodsImg},
#{productName},
#{price},
#{total},
#{comment},
#{delFlag},
#{commission},
#{returnTotal},
#{returnStatus},
#{returnableQuantity},
#{integral},
#{batchId},
update mall_orderback_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},
commission = #{commission},
return_total = #{returnTotal},
return_status = #{returnStatus},
returnable_quantity = #{returnableQuantity},
integral = #{integral},
batch_id = #{batchId},
where id = #{id}
delete from mall_orderback_goods where id = #{id}
delete from mall_orderback_goods where id in
#{id}