id,
title,
unit_id,
merit_id,
img_url,
phone,
linkman,
creation_time,
update_time,
community_id
insert into new_fight_resource_sharing
id,
title,
unit_id,
merit_id,
img_url,
phone,
linkman,
community_id,
creation_time
values
#{item.id},
#{item.title},
#{item.unitId},
#{item.meritId},
#{item.imgUrl},
#{item.phone},
#{item.linkman},
#{item.communityId},
sysdate()
update new_fight_resource_sharing
id=#{item.id},
title=#{item.title},
unit_id=#{item.unitId},
merit_id=#{item.meritId},
img_url=#{item.imgUrl},
phone=#{item.phone},
linkman=#{item.linkman},
community_id=#{item.communityId},
update_time=sysdate()
where id = #{item.id}
delete from new_fight_resource_sharing
1=1
and id=#{id}