insert into new_fight_shopping
id,
good_name,
good_price,
good_type,
cover_img_url,
content,
community_id,
creation_time
values
#{item.id},
#{item.goodName},
#{item.goodPrice},
#{item.goodType},
#{item.coverImgUrl},
#{item.content},
#{item.communityId},
sysdate()
update new_fight_shopping
id=#{item.id},
good_name=#{item.goodName},
good_price=#{item.goodPrice},
good_type=#{item.goodType},
cover_img_url=#{item.coverImgUrl},
content=#{item.content},
community_id=#{item.communityId},
update_time=sysdate()
where id = #{item.id}
delete from new_fight_shopping where id=#{id}