| | |
| | | if (Cools.isEmpty(map)){ |
| | | return new HashMap<>(); |
| | | } |
| | | map.entrySet().removeIf(next -> next.getKey().equals("curr") |
| | | || next.getKey().equals("limit") |
| | | || next.getKey().equals("orderByField") |
| | | || next.getKey().equals("orderByType") |
| | | || next.getKey().equals("condition") |
| | | || Cools.isEmpty(next.getValue())); |
| | | map.entrySet().removeIf(next -> next.getKey().equals("curr") || next.getKey().equals("limit") || next.getKey().equals("orderByField") || next.getKey().equals("orderByType") || next.getKey().equals("condition") || Cools.isEmpty(next.getValue())); |
| | | return map; |
| | | } |
| | | |