select material_bar_code_id, organization_id, organization_name, top_organization_id, material_base_info_id, bar_code, pack_id, pack_code, pack_name, remark, create_time, create_by, create_by_name, update_time, update_by, update_by_name, del_flag from material_bar_code and organization_id = #{organizationId} and organization_name like concat('%', #{organizationName}, '%') and top_organization_id = #{topOrganizationId} and material_base_info_id = #{materialBaseInfoId} and bar_code = #{barCode} and pack_id = #{packId} and pack_code = #{packCode} and pack_name like concat('%', #{packName}, '%') and create_by_name like concat('%', #{createByName}, '%') and update_by_name like concat('%', #{updateByName}, '%') and del_flag = #{delFlag} and del_flag = 1