dao: add condition package