id, uid, patent_count, invention_patent_count, utility_model_count, appearance_patent_count, software_works_count, other_count, financial_data, early_communication, interview_ideas, create_time, enterprise_count, channel_indicators, interview_distribution, update_time, awards_time, awards_status insert into user_archives(uid, patent_count, invention_patent_count, utility_model_count, appearance_patent_count, software_works_count, other_count, financial_data, early_communication, interview_ideas, create_time, enterprise_count, channel_indicators, interview_distribution, update_time, awards_time, awards_status) values (#{uid}, #{patentCount}, #{inventionPatentCount}, #{utilityModelCount}, #{appearancePatentCount}, #{softwareWorksCount}, #{otherCount}, #{financialData}, #{earlyCommunication}, #{interviewIdeas}, #{createTime}, #{enterpriseCount}, #{channelIndicators}, #{interviewDistribution}, #{updateTime}, #{awardsTime}, #{awardsStatus}) insert into user_archives(uid, patent_count, invention_patent_count, utility_model_count, appearance_patent_count, software_works_count, other_count, financial_data, early_communication, interview_ideas, create_time, enterprise_count, channel_indicators, interview_distribution, update_time, awards_time, awards_status) values (#{entity.uid}, #{entity.patentCount}, #{entity.inventionPatentCount}, #{entity.utilityModelCount}, #{entity.appearancePatentCount}, #{entity.softwareWorksCount}, #{entity.otherCount}, #{entity.financialData}, #{entity.earlyCommunication}, #{entity.interviewIdeas}, #{entity.createTime}, #{entity.enterpriseCount}, #{entity.channelIndicators}, #{entity.interviewDistribution}, #{entity.updateTime}, #{entity.awardsTime}, #{entity.awardsStatus}) insert into user_archives(uid, patent_count, invention_patent_count, utility_model_count, appearance_patent_count, software_works_count, other_count, financial_data, early_communication, interview_ideas, create_time, enterprise_count, channel_indicators, interview_distribution, update_time, awards_time, awards_status) values (#{entity.uid}, #{entity.patentCount}, #{entity.inventionPatentCount}, #{entity.utilityModelCount}, #{entity.appearancePatentCount}, #{entity.softwareWorksCount}, #{entity.otherCount}, #{entity.financialData}, #{entity.earlyCommunication}, #{entity.interviewIdeas}, #{entity.createTime}, #{entity.enterpriseCount}, #{entity.channelIndicators}, #{entity.interviewDistribution}, #{entity.updateTime}, #{entity.awardsTime}, #{entity.awardsStatus}) on duplicate key update uid = values(uid), patent_count = values(patent_count), invention_patent_count = values(invention_patent_count), utility_model_count = values(utility_model_count), appearance_patent_count = values(appearance_patent_count), software_works_count = values(software_works_count), other_count = values(other_count), financial_data = values(financial_data), early_communication = values(early_communication), interview_ideas = values(interview_ideas), create_time = values(create_time), enterprise_count = values(enterprise_count), channel_indicators = values(channel_indicators), interview_distribution = values(interview_distribution), update_time = values(update_time), awards_time = values(awards_time), awards_status = values(awards_status) update user_archives uid = #{uid}, patent_count = #{patentCount}, invention_patent_count = #{inventionPatentCount}, utility_model_count = #{utilityModelCount}, appearance_patent_count = #{appearancePatentCount}, software_works_count = #{softwareWorksCount}, other_count = #{otherCount}, financial_data = #{financialData}, early_communication = #{earlyCommunication}, interview_ideas = #{interviewIdeas}, create_time = #{createTime}, enterprise_count = #{enterpriseCount}, channel_indicators = #{channelIndicators}, interview_distribution = #{interviewDistribution}, update_time = #{updateTime}, awards_time = #{awardsTime}, awards_status = #{awardsStatus}, where id = #{id} delete from user_archives where id = #{id} update user_archives set awards_status = 3 where awards_status = 1