id, announcement_type, announcement_title, project_code, is_relevant, purchase_unit, final_user,
natural_customer_id, customer_group, category, project_name, tender_agent, tender_agent_phone,
match_keywords, bid_document_deadline, bid_opening_date, announcement_url, jianyu_url, budget,
tender_info_publish_time, branch_company, industry, business_category, business_demand,
opportunity_id, is_participate, not_participate_reason, is_aware, rbg_label, discard_approval_number,
publish_time, create_time, update_time, data_source
insert into freemarket (
announcement_type,
announcement_title,
project_code,
is_relevant,
purchase_unit,
final_user,
natural_customer_id,
customer_group,
category,
project_name,
tender_agent,
tender_agent_phone,
match_keywords,
bid_document_deadline,
bid_opening_date,
announcement_url,
jianyu_url,
budget,
tender_info_publish_time,
branch_company,
industry,
business_category,
business_demand,
opportunity_id,
is_participate,
not_participate_reason,
is_aware,
rbg_label,
discard_approval_number,
publish_time
) values (
#{announcementType},
#{announcementTitle},
#{projectCode},
#{isRelevant},
#{purchaseUnit},
#{finalUser},
#{naturalCustomerId},
#{customerGroup},
#{category},
#{projectName},
#{tenderAgent},
#{tenderAgentPhone},
#{matchKeywords},
#{bidDocumentDeadline},
#{bidOpeningDate},
#{announcementUrl},
#{jianyuUrl},
#{budget},
#{tenderInfoPublishTime},
#{branchCompany},
#{industry},
#{businessCategory},
#{businessDemand},
#{opportunityId},
#{isParticipate},
#{notParticipateReason},
#{isAware},
#{rbgLabel},
#{discardApprovalNumber},
#{publishTime}
)
update freemarket
announcement_type = #{announcementType},
announcement_title = #{announcementTitle},
project_code = #{projectCode},
is_relevant = #{isRelevant},
purchase_unit = #{purchaseUnit},
final_user = #{finalUser},
natural_customer_id = #{naturalCustomerId},
customer_group = #{customerGroup},
category = #{category},
project_name = #{projectName},
tender_agent = #{tenderAgent},
tender_agent_phone = #{tenderAgentPhone},
match_keywords = #{matchKeywords},
bid_document_deadline = #{bidDocumentDeadline},
bid_opening_date = #{bidOpeningDate},
announcement_url = #{announcementUrl},
jianyu_url = #{jianyuUrl},
budget = #{budget},
tender_info_publish_time = #{tenderInfoPublishTime},
branch_company = #{branchCompany},
industry = #{industry},
business_category = #{businessCategory},
business_demand = #{businessDemand},
opportunity_id = #{opportunityId},
is_participate = #{isParticipate},
not_participate_reason = #{notParticipateReason},
is_aware = #{isAware},
rbg_label = #{rbgLabel},
discard_approval_number = #{discardApprovalNumber},
publish_time = #{publishTime},
where id = #{id}
delete from freemarket where id = #{id}
delete from freemarket where id in
#{id}