select material_detail_id, organization_id, organization_name, top_organization_id, unique_id, wave_order_number, material_base_info_id, material_code, material_name, bar_code, weight_limit, volume_limit, quantity, inventory_quantity, allocation_quantity, already_gen_picking_quantity, picking_quantity, check_quantity, pack_id, pack_code, pack_name, pack_detail_id, unit_code, unit_name, unit_number, material_warehouse_control_id, serial_number_manage, warehouse_id, warehouse_code, warehouse_name, storage_section_id, storage_code, storage_name, storage_location_id, storage_location_code, storage_location_name, level, parent_unique_id, remark, create_time, create_by, create_by_name, update_time, update_by, update_by_name, del_flag from wave_material_detail and organization_id = #{organizationId} and organization_name like concat('%', #{organizationName}, '%') and top_organization_id = #{topOrganizationId} and unique_id = #{uniqueId} and wave_order_number = #{waveOrderNumber} and material_base_info_id = #{materialBaseInfoId} and material_code = #{materialCode} and material_name like concat('%', #{materialName}, '%') and bar_code = #{barCode} and weight_limit = #{weightLimit} and volume_limit = #{volumeLimit} and quantity = #{quantity} and inventory_quantity = #{inventoryQuantity} and allocation_quantity = #{allocationQuantity} and already_gen_picking_quantity = #{alreadyGenPickingQuantity} and picking_quantity = #{pickingQuantity} and check_quantity = #{checkQuantity} and pack_id = #{packId} and pack_code = #{packCode} and pack_name like concat('%', #{packName}, '%') and pack_detail_id = #{packDetailId} and unit_code = #{unitCode} and unit_name like concat('%', #{unitName}, '%') and unit_number = #{unitNumber} and material_warehouse_control_id = #{materialWarehouseControlId} and serial_number_manage = #{serialNumberManage} and warehouse_id = #{warehouseId} and warehouse_code = #{warehouseCode} and warehouse_name like concat('%', #{warehouseName}, '%') and storage_section_id = #{storageSectionId} and storage_code = #{storageCode} and storage_name like concat('%', #{storageName}, '%') and storage_location_id = #{storageLocationId} and storage_location_code = #{storageLocationCode} and storage_location_name like concat('%', #{storageLocationName}, '%') and level = #{level} and parent_unique_id = #{parentUniqueId} and create_by_name like concat('%', #{createByName}, '%') and update_by_name like concat('%', #{updateByName}, '%')