insert into new_fight_shopping_order
id,
order_number,
goods_id,
user_id,
cancel_type,
cancel_time,
paly_money,
abolish_time,
community_id,
merchant_id,
order_type,
remark,
creation_time
values
#{item.id},
#{item.orderNumber},
#{item.goodsId},
#{item.userId},
#{item.cancelType},
#{item.cancelTime},
#{item.palyMoney},
#{item.abolishTime},
#{item.communityId},
#{item.merchantId},
#{item.orderType},
#{item.remark},
sysdate()
update new_fight_shopping_order
id=#{item.id},
order_number=#{item.orderNumber},
goods_id=#{item.goodsId},
user_id=#{item.userId},
cancel_type=#{item.cancelType},
cancel_time=#{item.cancelTime},
paly_money=#{item.palyMoney},
abolish_time=#{item.abolishTime},
community_id=#{item.communityId},
merchant_id=#{item.merchantId},
order_type=#{item.orderType},
remark=#{item.remark},
update_time=sysdate()
where id = #{item.id}
delete from new_fight_shopping_order where id=#{id}