Many DB queries and conditions I don't know it is some design pattern for it or I can't do it in a different way the code looks like this:
Iteam iteam = itemRepository.findByNameAndNoAndCountryCodeAndCurrencyCode(name, countryCode, currencyCode);
    if(item == null){
        item = itemRepository.findByNameAndNoAndCountryCodeAndCurrencyCode(name, &quot;US&quot;, currrencyCode)
    }
    if(item == null){
        item = itemRepository.findByNameAndNoAndCountryCodeAndCurrencyCode(name, countryCode, &quot;USD&quot;)
    }
    if(item == null){
        item = itemRepository.findByNameAndCountryCode(name, countryCode)
    }
    if(item == null){
        item = itemRepository.findByNameAndCurrencyCode(name, currrencyCode)
    }

And I have a lot of this (like 15) kind of queries with the condition it is possible to do not make to many conditions and use some trick for this code?
As suggested by @911992, why not moving that &quot;logic&quot; into the database. Not as a function/stored-procedure/view but as a combination of all your queries :
SELECT * FROM items WHERE name=? AND country_code=? AND currencyCode=?
UNION
SELECT * FROM items WHERE name=? AND country_code='US' AND currencyCode=?
UNION
SELECT * FROM items WHERE name=? AND country_code=? AND currencyCode='USD'
UNION
SELECT * FROM items WHERE name=? AND country_code=?    
UNION
SELECT * FROM items WHERE name=? AND currencyCode=?

You can limit that query to one row to avoid too much results.
If want to keep everything into the code and are looking for a design pattern, you can search for the chain of responsibility.