id,
item_cover,
item_title,
agreement_title,
agreement_customization_time,
agreement_content,
construction_community_id,
estimated_time,
creation_time,
update_time,
user_id,
status,
start_time,
community_id
insert into new_fight_community_construction
id,
item_cover,
item_title,
agreement_title,
agreement_customization_time,
agreement_content,
construction_community_id,
estimated_time,
user_id,
community_id,
status,
start_time,
creation_time
values
#{item.id},
#{item.itemCover},
#{item.itemTitle},
#{item.agreementTitle},
#{item.agreementCustomizationTime},
#{item.agreementContent},
#{item.constructionCommunityId},
#{item.estimatedTime},
#{item.userId},
#{item.communityId},
#{item.status},
#{item.startTime},
sysdate()
update new_fight_community_construction
id=#{item.id},
item_cover=#{item.itemCover},
item_title=#{item.itemTitle},
agreement_title=#{item.agreementTitle},
agreement_customization_time=#{item.agreementCustomizationTime},
agreement_content=#{item.agreementContent},
construction_community_id=#{item.constructionCommunityId},
estimated_time=#{item.estimatedTime},
user_id=#{item.userId},
community_id=#{item.communityId},
status=#{item.status},
start_time=#{item.startTime},
update_time=sysdate()
where id=#{item.id}
delete from new_fight_community_construction where id=#{id}