a.out_order_id, a.organization_id, a.organization_name, a.top_organization_id, a.receipt_notice_id, a.notice_number, a.out_order_number, a.status, a.audit_status, a.audit_remark, a.audit_by, a.audit_by_name, a.audit_time, a.warehouse_id, a.warehouse_code, a.warehouse_name, a.shipper_id, a.shipper_code, a.shipper_name, a.order_type_code, a.order_type_name, a.customer_id, a.customer_code, a.customer_name, a.expect_time, a.supply_chain_number, a.priority_level_code, a.priority_level_name, a.direct_warehouse, a.review, a.annex_url, a.material_quantity, a.quantity, a.weight_limit, a.volume_limit, a.check_quantity, a.cancel_order, a.cancel_remark, a.cancel_by, a.cancel_by_name, a.cancel_time, a.close_order, a.close_remark, a.close_by, a.close_by_name, a.close_time, a.check_status,a.BUSINESS_ORDER_NO, a.check_task_distribution, a.check_task_distribution_time, a.check_operators_by, a.check_operators_name, a.mobilize_code, a.remark, a.create_time, a.create_by, a.create_by_name, a.update_time, a.update_by, a.update_by_name, a.del_flag, over_stock_id, over_stock_status, over_stock_type,a."TO", a.CONTACT_PERSON,a.VEHICLE_MODEL_PLATE,a.ENTRUST_NO,a.TEL,a.DRIVER_SIGN,a.FAX,a.DECLARE_CUSTOMS,a.MANUFACTURER, a.CUSTOMS_DECLARER_INFO,a.DELIVERY_ADDR,a.ENTRY_EXIT_CUSTOMS,a.DEPARTURE_ARRIVAL_COUNTRY,a.CARRIER,a.CONTAINER_NO,a.CONTAINER_NO_NAME,a.OUTBOUND_DATE, a.COMPLETE_TIME,a.ORDER_DATE,a.TRANSPORT_MODE_CODE,a.TRANSPORT_MODE_NAME,a.SUPERVISION_MODE_CODE,a.SUPERVISION_MODE_NAME, a.CUSTOMS_INSPECTION_FLAG,a.NEED_DECLARE_FLAG,a.NEED_TRANSPORT_FLAG,a.picture_app,a.reservation_audit_time,a.reservation_audit_name ,a.reservation_audit_id,a.issue_name,a.issue_id,a.issue_time,a.issue_status,a.tms_order_number, a.DIRECTOR_NAME ,a.DIRECTOR_PHONE,a.DIRECTOR_ID,a.RESERVATION_ORDER_SOURCE,a.OUTBOUND_TIME ,b.notice_number, b.out_order_number, b.warehouse_id, b.warehouse_code, b.warehouse_name, b.shipper_id, b.shipper_code, b.shipper_name, b.order_type_code, b.order_type_name, b.customer_id, b.customer_name, b.expect_time, b.supply_chain_number, b.priority_level_code, b.priority_level_name, b.direct_warehouse, b.review, b.annex_url, b.quantity ,b.notice_number, b.out_order_number, b.warehouse_id, b.warehouse_code, b.warehouse_name, b.shipper_id, b.shipper_code, b.shipper_name, b.order_type_code, b.order_type_name, b.customer_id, b.customer_name, b.expect_time, b.supply_chain_number, b.priority_level_code, b.priority_level_name, b.direct_warehouse, b.review, b.annex_url and a.out_order_id = #{outOrderId} and a.organization_id = #{organizationId} and a.tms_order_number like concat('%', #{tmsOrderNumber}, '%') and a.organization_name like concat('%', #{organizationName}, '%') and a.top_organization_id = #{topOrganizationId} and a.notice_number = #{noticeNumber} and a.out_order_number like concat('%', #{outOrderNumber}, '%') and a.status IN (3, 4, 5, 6, 7, 8) and a.status = #{status} and a.status > #{gtStatus} and a.status < #{ltStatus} and a.audit_status = #{auditStatus} and a.audit_remark = #{auditRemark} and a.check_task_distribution = #{checkTaskDistribution} and a.issue_status = #{issueStatus} and a.audit_by = #{auditBy} and a.audit_by_name like concat('%', #{auditByName}, '%') and a.audit_time = #{auditTime} and a.warehouse_id = #{warehouseId} and a.warehouse_code = #{warehouseCode} and a.warehouse_name like concat('%', #{warehouseName}, '%') and a.shipper_id = #{shipperId} and a.shipper_name like concat('%', #{shipperName}, '%') and a.order_type_code = #{orderTypeCode} and a.order_type_name like concat('%', #{orderTypeName}, '%') and a.customer_id = #{customerId} and a.customer_name like concat('%', #{customerName}, '%') and a.expect_time = #{expectTime} and a.supply_chain_number = #{supplyChainNumber} and a.priority_level_code = #{priorityLevelCode} and a.priority_level_name like concat('%', #{priorityLevelName}, '%') and a.direct_warehouse = #{directWarehouse} and a.review = #{review} and a.annex_url = #{annexUrl} and a.quantity = #{quantity} and a.cancel_order = #{cancelOrder} and a.cancel_remark = #{cancelRemark} and a.cancel_by = #{cancelBy} and a.cancel_by_name like concat('%', #{cancelByName}, '%') and a.cancel_time = #{cancelTime} and a.close_order = #{closeOrder} and a.close_remark = #{closeRemark} and a.close_by = #{closeBy} and a.close_by_name like concat('%', #{closeByName}, '%') and a.close_time = #{closeTime} and a.check_status = #{checkStatus} and a.check_status > #{gtCheckStatus} and a.check_status < #{ltCheckStatus} and a.create_by_name like concat('%', #{createByName}, '%') and a.update_by_name like concat('%', #{updateByName}, '%') and a.check_operators_by = #{checkOperatorsBy} and a.out_order_id in #{item} and date_format(a.create_time,'%Y-%m-%d') >= #{createTimeStart} and date_format(a.create_time,'%Y-%m-%d') <= #{createTimeEnd} and date_format(a.audit_time,'%Y-%m-%d') >= #{auditTimeStart} and date_format(a.audit_time,'%Y-%m-%d') <= #{auditTimeEnd} and a.NEED_DECLARE_FLAG = #{needDeclareFlag} and a.del_flag = #{delFlag} and a.del_flag = 1