select vendor_id, vendor_code, vendor_name, vendor_nick, vendor_en, vendor_des, vendor_logo, vendor_level, vendor_score, address, website, email, tel, contact1, contact1_tel, contact1_email, contact2, contact2_tel, contact2_email, credit_code, enable_flag, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from md_vendor insert into md_vendor vendor_code, vendor_name, vendor_nick, vendor_en, vendor_des, vendor_logo, vendor_level, vendor_score, address, website, email, tel, contact1, contact1_tel, contact1_email, contact2, contact2_tel, contact2_email, credit_code, enable_flag, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time, #{vendorCode}, #{vendorName}, #{vendorNick}, #{vendorEn}, #{vendorDes}, #{vendorLogo}, #{vendorLevel}, #{vendorScore}, #{address}, #{website}, #{email}, #{tel}, #{contact1}, #{contact1Tel}, #{contact1Email}, #{contact2}, #{contact2Tel}, #{contact2Email}, #{creditCode}, #{enableFlag}, #{remark}, #{attr1}, #{attr2}, #{attr3}, #{attr4}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update md_vendor vendor_code = #{vendorCode}, vendor_name = #{vendorName}, vendor_nick = #{vendorNick}, vendor_en = #{vendorEn}, vendor_des = #{vendorDes}, vendor_logo = #{vendorLogo}, vendor_level = #{vendorLevel}, vendor_score = #{vendorScore}, address = #{address}, website = #{website}, email = #{email}, tel = #{tel}, contact1 = #{contact1}, contact1_tel = #{contact1Tel}, contact1_email = #{contact1Email}, contact2 = #{contact2}, contact2_tel = #{contact2Tel}, contact2_email = #{contact2Email}, credit_code = #{creditCode}, enable_flag = #{enableFlag}, remark = #{remark}, attr1 = #{attr1}, attr2 = #{attr2}, attr3 = #{attr3}, attr4 = #{attr4}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where vendor_id = #{vendorId} delete from md_vendor where vendor_id = #{vendorId} delete from md_vendor where vendor_id in #{vendorId}