id, serial_number, data_category, name, keyword, info_sources, industry_category_a, industry_category_b, industry_category_c, demand_type, problem_des, technical_requirements, picture_url, text_file_url, video_url, fixed_budget, fixed_cycle, people_number, fixed_scheme, cost_escrow, budget_cost, validity_period, employer_id, employer_name, employer_address, employer_contacts, employer_contacts_mobile, employer_contacts_mailbox, contacts, status, release_status, release_date, create_time, principal_id, deleted_sign, audit_status, tech_broker_id,boutique,urgent_money,urgent_days delete from demand where id = #{id,jdbcType=VARCHAR} insert into demand (id, serial_number, data_category, name, keyword, info_sources, industry_category_a, industry_category_b, industry_category_c, demand_type, problem_des, technical_requirements, picture_url, text_file_url, video_url, fixed_budget, fixed_cycle, people_number, fixed_scheme, cost_escrow, budget_cost, validity_period, employer_id, employer_name, employer_address, employer_contacts, employer_contacts_mobile, employer_contacts_mailbox, contacts, status, release_status, release_date, create_time, principal_id, deleted_sign, audit_status, tech_broker_id,boutique,remark,urgent_days,urgent_money,contact_mobile) values (#{id,jdbcType=VARCHAR}, #{serialNumber,jdbcType=INTEGER}, #{dataCategory,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{keyword,jdbcType=VARCHAR}, #{infoSources,jdbcType=INTEGER}, #{industryCategoryA,jdbcType=INTEGER}, #{industryCategoryB,jdbcType=INTEGER}, #{industryCategoryC,jdbcType=INTEGER}, #{demandType,jdbcType=INTEGER}, #{problemDes,jdbcType=VARCHAR}, #{technicalRequirements,jdbcType=VARCHAR}, #{pictureUrl,jdbcType=LONGVARCHAR}, #{textFileUrl,jdbcType=VARCHAR}, #{videoUrl,jdbcType=VARCHAR}, #{fixedBudget,jdbcType=DECIMAL}, #{fixedCycle,jdbcType=VARCHAR}, #{peopleNumber,jdbcType=INTEGER}, #{fixedScheme,jdbcType=VARCHAR}, #{costEscrow,jdbcType=DECIMAL}, #{budgetCost,jdbcType=DECIMAL}, #{validityPeriod,jdbcType=TIMESTAMP}, #{employerId,jdbcType=VARCHAR}, #{employerName,jdbcType=VARCHAR}, #{employerAddress,jdbcType=VARCHAR}, #{employerContacts,jdbcType=VARCHAR}, #{employerContactsMobile,jdbcType=VARCHAR}, #{employerContactsMailbox,jdbcType=VARCHAR}, #{contacts,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{releaseStatus,jdbcType=INTEGER}, #{releaseDate,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, #{principalId,jdbcType=VARCHAR}, #{deletedSign,jdbcType=INTEGER}, #{auditStatus,jdbcType=INTEGER}, #{techBrokerId,jdbcType=VARCHAR},#{boutique,jdbcType=INTEGER},#{remark,jdbcType=VARCHAR},#{urgentDays,jdbcType=VARCHAR},#{urgentMoney,jdbcType=VARCHAR},#{contactMobile,jdbcType=VARCHAR}) insert into demand id, serial_number, data_category, name, keyword, info_sources, industry_category_a, industry_category_b, industry_category_c, demand_type, problem_des, technical_requirements, picture_url, text_file_url, video_url, fixed_budget, fixed_cycle, people_number, fixed_scheme, cost_escrow, budget_cost, validity_period, employer_id, employer_name, employer_address, employer_contacts, employer_contacts_mobile, employer_contacts_mailbox, contacts, status, release_status, release_date, create_time, principal_id, deleted_sign, audit_status, tech_broker_id, boutique, remark, #{id,jdbcType=VARCHAR}, #{serialNumber,jdbcType=INTEGER}, #{dataCategory,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{keyword,jdbcType=VARCHAR}, #{infoSources,jdbcType=INTEGER}, #{industryCategoryA,jdbcType=INTEGER}, #{industryCategoryB,jdbcType=INTEGER}, #{industryCategoryC,jdbcType=INTEGER}, #{demandType,jdbcType=INTEGER}, #{problemDes,jdbcType=VARCHAR}, #{technicalRequirements,jdbcType=VARCHAR}, #{pictureUrl,jdbcType=LONGVARCHAR}, #{textFileUrl,jdbcType=VARCHAR}, #{videoUrl,jdbcType=VARCHAR}, #{fixedBudget,jdbcType=DECIMAL}, #{fixedCycle,jdbcType=VARCHAR}, #{peopleNumber,jdbcType=INTEGER}, #{fixedScheme,jdbcType=VARCHAR}, #{costEscrow,jdbcType=DECIMAL}, #{budgetCost,jdbcType=DECIMAL}, #{validityPeriod,jdbcType=TIMESTAMP}, #{employerId,jdbcType=VARCHAR}, #{employerName,jdbcType=VARCHAR}, #{employerAddress,jdbcType=VARCHAR}, #{employerContacts,jdbcType=VARCHAR}, #{employerContactsMobile,jdbcType=VARCHAR}, #{employerContactsMailbox,jdbcType=VARCHAR}, #{contacts,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{releaseStatus,jdbcType=INTEGER}, #{releaseDate,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, #{principalId,jdbcType=VARCHAR}, #{deletedSign,jdbcType=INTEGER}, #{auditStatus,jdbcType=INTEGER}, #{techBrokerId,jdbcType=VARCHAR}, #{boutique,jdbcType=INTEGER}, #{remark,jdbcType=VARCHAR}, update demand serial_number = #{serialNumber,jdbcType=INTEGER}, data_category = #{dataCategory,jdbcType=INTEGER}, name = #{name,jdbcType=VARCHAR}, keyword = #{keyword,jdbcType=VARCHAR}, info_sources = #{infoSources,jdbcType=INTEGER}, industry_category_a = #{industryCategoryA,jdbcType=INTEGER}, industry_category_b = #{industryCategoryB,jdbcType=INTEGER}, industry_category_c = #{industryCategoryC,jdbcType=INTEGER}, demand_type = #{demandType,jdbcType=INTEGER}, problem_des = #{problemDes,jdbcType=VARCHAR}, technical_requirements = #{technicalRequirements,jdbcType=VARCHAR}, picture_url = #{pictureUrl,jdbcType=LONGVARCHAR}, text_file_url = #{textFileUrl,jdbcType=VARCHAR}, video_url = #{videoUrl,jdbcType=VARCHAR}, fixed_budget = #{fixedBudget,jdbcType=DECIMAL}, fixed_cycle = #{fixedCycle,jdbcType=VARCHAR}, people_number = #{peopleNumber,jdbcType=INTEGER}, fixed_scheme = #{fixedScheme,jdbcType=VARCHAR}, cost_escrow = #{costEscrow,jdbcType=DECIMAL}, budget_cost = #{budgetCost,jdbcType=DECIMAL}, validity_period = #{validityPeriod,jdbcType=TIMESTAMP}, employer_id = #{employerId,jdbcType=VARCHAR}, employer_name = #{employerName,jdbcType=VARCHAR}, employer_address = #{employerAddress,jdbcType=VARCHAR}, employer_contacts = #{employerContacts,jdbcType=VARCHAR}, employer_contacts_mobile = #{employerContactsMobile,jdbcType=VARCHAR}, employer_contacts_mailbox = #{employerContactsMailbox,jdbcType=VARCHAR}, contacts = #{contacts,jdbcType=VARCHAR}, contact_mobile = #{contactMobile ,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, release_status = #{releaseStatus,jdbcType=INTEGER}, release_date = #{releaseDate,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP}, principal_id = #{principalId,jdbcType=VARCHAR}, deleted_sign = #{deletedSign,jdbcType=INTEGER}, audit_status = #{auditStatus,jdbcType=INTEGER}, tech_broker_id = #{techBrokerId,jdbcType=VARCHAR}, boutique = #{boutique,jdbcType=INTEGER}, remark = #{remark,jdbcType=VARCHAR}, is_urgent = #{isUrgent,jdbcType=INTEGER}, urgent_days = #{urgentDays,jdbcType=INTEGER}, urgent_money = #{urgentMoney,jdbcType=VARCHAR}, research_type = #{researchType,jdbcType=VARCHAR}, where id = #{id,jdbcType=VARCHAR} update demand set serial_number = #{serialNumber,jdbcType=INTEGER}, data_category = #{dataCategory,jdbcType=INTEGER}, name = #{name,jdbcType=VARCHAR}, keyword = #{keyword,jdbcType=VARCHAR}, info_sources = #{infoSources,jdbcType=INTEGER}, industry_category_a = #{industryCategoryA,jdbcType=INTEGER}, industry_category_b = #{industryCategoryB,jdbcType=INTEGER}, industry_category_c = #{industryCategoryC,jdbcType=INTEGER}, demand_type = #{demandType,jdbcType=INTEGER}, problem_des = #{problemDes,jdbcType=VARCHAR}, technical_requirements = #{technicalRequirements,jdbcType=VARCHAR}, picture_url = #{pictureUrl,jdbcType=LONGVARCHAR}, text_file_url = #{textFileUrl,jdbcType=VARCHAR}, video_url = #{videoUrl,jdbcType=VARCHAR}, fixed_budget = #{fixedBudget,jdbcType=DECIMAL}, fixed_cycle = #{fixedCycle,jdbcType=VARCHAR}, people_number = #{peopleNumber,jdbcType=INTEGER}, fixed_scheme = #{fixedScheme,jdbcType=VARCHAR}, cost_escrow = #{costEscrow,jdbcType=DECIMAL}, budget_cost = #{budgetCost,jdbcType=DECIMAL}, validity_period = #{validityPeriod,jdbcType=TIMESTAMP}, employer_id = #{employerId,jdbcType=VARCHAR}, employer_name = #{employerName,jdbcType=VARCHAR}, employer_address = #{employerAddress,jdbcType=VARCHAR}, employer_contacts = #{employerContacts,jdbcType=VARCHAR}, employer_contacts_mobile = #{employerContactsMobile,jdbcType=VARCHAR}, employer_contacts_mailbox = #{employerContactsMailbox,jdbcType=VARCHAR}, contacts = #{contacts,jdbcType=INTEGER}, status = #{status,jdbcType=INTEGER}, release_status = #{releaseStatus,jdbcType=INTEGER}, release_date = #{releaseDate,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP}, principal_id = #{principalId,jdbcType=VARCHAR}, deleted_sign = #{deletedSign,jdbcType=INTEGER}, audit_status = #{auditStatus,jdbcType=INTEGER}, tech_broker_id = #{techBrokerId,jdbcType=VARCHAR}, boutique = #{boutique,jdbcType=INTEGER} where id = #{id,jdbcType=VARCHAR} update demand set deleted_sign = 1 where id in #{item} update demand set release_date = null where id = #{id,jdbcType=VARCHAR} insert into demand (id, deleted_sign, audit_status, status, release_status, create_time, keyword, data_category, name, demand_type, problem_des, employer_name, employer_contacts, employer_contacts_mobile, employer_contacts_mailbox, info_sources,tech_broker_id,remark,urgent_days ,urgent_money) values ( #{item.id,jdbcType=VARCHAR}, #{item.deletedSign,jdbcType=INTEGER}, #{item.auditStatus,jdbcType=INTEGER}, #{item.status,jdbcType=INTEGER}, #{item.releaseStatus,jdbcType=INTEGER}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.keyword,jdbcType=VARCHAR}, #{item.dataCategory,jdbcType=INTEGER}, #{item.name,jdbcType=VARCHAR}, #{item.demandType,jdbcType=INTEGER}, #{item.problemDes,jdbcType=VARCHAR}, #{item.employerName,jdbcType=VARCHAR}, #{item.employerContacts,jdbcType=VARCHAR}, #{item.employerContactsMobile,jdbcType=VARCHAR}, #{item.employerContactsMailbox,jdbcType=VARCHAR}, #{item.infoSources,jdbcType=INTEGER},#{item.techBrokerId,jdbcType=VARCHAR},#{item.remark,jdbcType=VARCHAR},,#{item.urgentDays,jdbcType=VARCHAR},#{item.urgentMoney,jdbcType=VARCHAR} ) update demand set employer_id = null where id = #{id,jdbcType=VARCHAR}