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, company_count, social_security_count, external_invest_count, external_invest_industry, external_invest_name, first_interview_date, financial_revenue, financial_tax, financial_property, financial_rd, standard, external_invest_id, external_invest_industry_name 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, company_count, social_security_count, external_invest_count, external_invest_industry, external_invest_name, first_interview_date, financial_revenue, financial_tax, financial_property, financial_rd, standard, external_invest_id, external_invest_industry_name) values (#{uid}, #{patentCount}, #{inventionPatentCount}, #{utilityModelCount}, #{appearancePatentCount}, #{softwareWorksCount}, #{otherCount}, #{financialData}, #{earlyCommunication}, #{interviewIdeas}, #{createTime}, #{enterpriseCount}, #{channelIndicators}, #{interviewDistribution}, #{updateTime}, #{awardsTime}, #{awardsStatus}, #{companyCount}, #{socialSecurityCount}, #{externalInvestCount}, #{externalInvestIndustry}, #{externalInvestName}, #{firstInterviewDate}, #{financialRevenue}, #{financialTax}, #{financialProperty}, #{financialRd}, #{standard}, #{externalInvestId}, #{externalInvestIndustryName}) 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, company_count, social_security_count, external_invest_count, external_invest_industry, external_invest_name, first_interview_date, financial_revenue, financial_tax, financial_property, financial_rd, standard, external_invest_id, external_invest_industry_name) 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}, #{entity.companyCount}, #{entity.socialSecurityCount}, #{entity.externalInvestCount}, #{entity.externalInvestIndustry}, #{entity.externalInvestName}, #{entity.firstInterviewDate}, #{entity.financialRevenue}, #{entity.financialTax}, #{entity.financialProperty}, #{entity.financialRd}, #{entity.standard}, #{entity.externalInvestId}, #{entity.externalInvestIndustryName}) 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, company_count, social_security_count, external_invest_count, external_invest_industry, external_invest_name, first_interview_date, financial_revenue, financial_tax, financial_property, financial_rd, standard, external_invest_id, external_invest_industry_name) 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}, #{entity.companyCount}, #{entity.socialSecurityCount}, #{entity.externalInvestCount}, #{entity.externalInvestIndustry}, #{entity.externalInvestName}, #{entity.firstInterviewDate}, #{entity.financialRevenue}, #{entity.financialTax}, #{entity.financialProperty}, #{entity.financialRd}, #{entity.standard}, #{entity.externalInvestId}, #{entity.externalInvestIndustryName}) 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), company_count = values(company_count), social_security_count = values(social_security_count), external_invest_count = values(external_invest_count), external_invest_industry = values(external_invest_industry), external_invest_name = values(external_invest_name), first_interview_date = values(first_interview_date), financial_revenue = values(financial_revenue), financial_tax = values(financial_tax), financial_property = values(financial_property), financial_rd = values(financial_rd), standard = values(standard), external_invest_id = values(external_invest_id), external_invest_industry_name = values(external_invest_industry_name) 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}, company_count = #{companyCount}, social_security_count = #{socialSecurityCount}, external_invest_count = #{externalInvestCount}, external_invest_industry = #{externalInvestIndustry}, external_invest_name = #{externalInvestName}, first_interview_date = #{firstInterviewDate}, financial_revenue = #{financialRevenue}, financial_tax = #{financialTax}, financial_property = #{financialProperty}, financial_rd = #{financialRd}, standard = #{standard}, external_invest_id = #{externalInvestId}, external_invest_industry_name = #{externalInvestIndustryName}, where id = #{id} delete from user_archives where id = #{id} update user_archives set awards_status = 3 where awards_status = 1