id, merchant_name, merchant_level, parent_id, address, status, delay_mode, organization_code, manager_name, manager_phone, service_phone, logo_url, app_id, dept_id, create_by, create_time, update_by, update_time, del_flag select from pile_merchant_info insert into pile_merchant_info id, merchant_name, merchant_level, parent_id, address, status, delay_mode, organization_code, manager_name, manager_phone, service_phone, logo_url, app_id, dept_id, create_by, create_time, update_by, update_time, del_flag, #{id}, #{merchantName}, #{merchantLevel}, #{parentId}, #{address}, #{status}, #{delayMode}, #{organizationCode}, #{managerName}, #{managerPhone}, #{servicePhone}, #{logoUrl}, #{appId}, #{deptId}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{delFlag}, update pile_merchant_info merchant_name = #{merchantName}, merchant_level = #{merchantLevel}, parent_id = #{parentId}, address = #{address}, status = #{status}, delay_mode = #{delayMode}, organization_code = #{organizationCode}, manager_name = #{managerName}, manager_phone = #{managerPhone}, service_phone = #{servicePhone}, logo_url = #{logoUrl}, app_id = #{appId}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, del_flag = #{delFlag}, where id = #{id} update pile_merchant_info set del_flag = '1' where id = #{id} update pile_merchant_info set del_flag = '1' where id in #{id}