select id, create_by, create_by_name, create_time, update_by, update_by_name, update_time, del_flag, audit_by, audit_time, audit_state, audit_result, top_organization_id, organization_id, organization_name, order_no, order_state, sco_no, customer_id, customer, total_amount, tax_amount, in_storage_num, order_type_id, order_type, shipper_id, shipper, contract_no, project_id, project, tackl_state, tackl_time, source, org_id, org, order_time, delivery_warehouse_id, delivery_warehouse, delivery_date, customer_orders, check_inventory, rate_concession, discount_amount, file_url, remark from oms_sales_order where del_flag = 1 and audit_by = #{auditBy} and audit_time = #{auditTime} and audit_state = #{auditState} and audit_result = #{auditResult} and top_organization_id = #{topOrganizationId} and organization_id = #{organizationId} and organization_name like concat('%', #{organizationName}, '%') and order_no = #{orderNo} and order_state = #{orderState} and sco_no = #{scoNo} and customer_id = #{customerId} and customer = #{customer} and total_amount = #{totalAmount} and tax_amount = #{taxAmount} and in_storage_num = #{inStorageNum} and order_type_id = #{orderTypeId} and order_type = #{orderType} and shipper_id = #{shipperId} and shipper = #{shipper} and contract_no = #{contractNo} and project_id = #{projectId} and project = #{project} and tackl_state = #{tacklState} and tackl_time = #{tacklTime} and source = #{source} and org_id = #{orgId} and org = #{org} and order_time = #{orderTime} and delivery_warehouse_id = #{deliveryWarehouseId} and delivery_warehouse = #{deliveryWarehouse} and delivery_date = #{deliveryDate} and customer_orders = #{customerOrders} and check_inventory = #{checkInventory} and rate_concession = #{rateConcession} and discount_amount = #{discountAmount} and file_url = #{fileUrl}