a.out_task_order_id, a.organization_id, a.organization_name, a.top_organization_id, a.serial_number, a.task_number, a.status, a.type, a.warehouse_id,
a.warehouse_code, a.warehouse_name, a.shipper_id, a.shipper_name, a.order_number, a.picking_order_number, a.quantity, a.material_quantity, a.picking_quantity, a.picking_material_quantity, a.collection_location,
a.abnormal, a.operators_by, a.operators_name, a.operators_end_time, a.storage_section_id, a.storage_code, a.storage_name, a.storage_location_id, a.storage_location_code, a.storage_location_name, 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
and a.organization_id = #{organizationId}
and a.organization_name like concat('%', #{organizationName}, '%')
and a.top_organization_id = #{topOrganizationId}
and a.serial_number = #{serialNumber}
and a.task_number like concat('%', #{taskNumber}, '%')
and a.status = #{status}
and a.status < #{ltStatus}
and a.status > #{gtStatus}
and a.type = #{type}
and a.task_number like 'JHZY%'
and a.task_number like 'FHZY%'
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_number like concat('%', #{orderNumber}, '%')
and a.picking_order_number like concat('%', #{pickingOrderNumber}, '%')
and a.abnormal = #{abnormal}
and a.operators_by = #{operatorsBy}
and a.operators_name like concat('%', #{operatorsName}, '%')
and a.picking_quantity = #{pickingQuantity}
and a.operators_end_time = #{operatorsEndTime}
and a.create_by_name like concat('%', #{createByName}, '%')
and a.update_by_name like concat('%', #{updateByName}, '%')
and a.storage_location_id = #{storageLocationId}
and a.storage_location_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.operators_end_time,'%Y-%m-%d') >= #{operatorsEndTimeStart}
and date_format(a.operators_end_time,'%Y-%m-%d') <= #{operatorsEndTimeEnd}
and a.del_flag = #{delFlag} and a.del_flag = 1