select supplier_id, supplier_code, supplier_name, area_id, address, linkman, linkman_phone, email, opening_bank, bank_account, supplier_simple_name, telephone, company_web, region_province, region_city, region_district, if_receive_notice, notice_style, supplier_user_id, status, wechat, tax_rate, payment_days, standby_linkman, standby_phone, standby_wechat, standby_email, regist_fund, establish_date, workers_num, client_num, last_year_operating_income, before_year_operating_income, business_scope, top_five_client, top_five_supplier, company_introduction, main_advantage, supplier_score, id_card_img_z, id_card_img_f, attachment, remark, del_flag, create_by, create_time, update_by, update_time from ims_supplier insert into ims_supplier supplier_code, supplier_name, area_id, address, linkman, linkman_phone, email, opening_bank, bank_account, supplier_simple_name, telephone, company_web, region_province, region_city, region_district, if_receive_notice, notice_style, supplier_user_id, status, wechat, tax_rate, payment_days, standby_linkman, standby_phone, standby_wechat, standby_email, regist_fund, establish_date, workers_num, client_num, last_year_operating_income, before_year_operating_income, business_scope, top_five_client, top_five_supplier, company_introduction, main_advantage, supplier_score, id_card_img_z, id_card_img_f, attachment, remark, del_flag, create_by, create_time, update_by, update_time, #{supplierCode}, #{supplierName}, #{areaId}, #{address}, #{linkman}, #{linkmanPhone}, #{email}, #{openingBank}, #{bankAccount}, #{supplierSimpleName}, #{telephone}, #{companyWeb}, #{regionProvince}, #{regionCity}, #{regionDistrict}, #{ifReceiveNotice}, #{noticeStyle}, #{supplierUserId}, #{status}, #{wechat}, #{taxRate}, #{paymentDays}, #{standbyLinkman}, #{standbyPhone}, #{standbyWechat}, #{standbyEmail}, #{registFund}, #{establishDate}, #{workersNum}, #{clientNum}, #{lastYearOperatingIncome}, #{beforeYearOperatingIncome}, #{businessScope}, #{topFiveClient}, #{topFiveSupplier}, #{companyIntroduction}, #{mainAdvantage}, #{supplierScore}, #{idCardImgZ}, #{idCardImgF}, #{attachment}, #{remark}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update ims_supplier supplier_code = #{supplierCode}, supplier_name = #{supplierName}, area_id = #{areaId}, address = #{address}, linkman = #{linkman}, linkman_phone = #{linkmanPhone}, email = #{email}, opening_bank = #{openingBank}, bank_account = #{bankAccount}, supplier_simple_name = #{supplierSimpleName}, telephone = #{telephone}, company_web = #{companyWeb}, region_province = #{regionProvince}, region_city = #{regionCity}, region_district = #{regionDistrict}, if_receive_notice = #{ifReceiveNotice}, notice_style = #{noticeStyle}, supplier_user_id = #{supplierUserId}, status = #{status}, wechat = #{wechat}, tax_rate = #{taxRate}, payment_days = #{paymentDays}, standby_linkman = #{standbyLinkman}, standby_phone = #{standbyPhone}, standby_wechat = #{standbyWechat}, standby_email = #{standbyEmail}, regist_fund = #{registFund}, establish_date = #{establishDate}, workers_num = #{workersNum}, client_num = #{clientNum}, last_year_operating_income = #{lastYearOperatingIncome}, before_year_operating_income = #{beforeYearOperatingIncome}, business_scope = #{businessScope}, top_five_client = #{topFiveClient}, top_five_supplier = #{topFiveSupplier}, company_introduction = #{companyIntroduction}, main_advantage = #{mainAdvantage}, supplier_score = #{supplierScore}, id_card_img_z = #{idCardImgZ}, id_card_img_f = #{idCardImgF}, attachment = #{attachment}, remark = #{remark}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where supplier_id = #{supplierId} update ims_supplier set del_flag = 2 where supplier_id = #{supplierId} update ims_supplier set del_flag = 2,supplier_user_id = null where supplier_id in #{supplierId}