# Baixa o repositório/projeto na sua maquina. O projeto será criado em uma pasta de mesmo nome que o repositório.
$ git clone [uri_do_repositorio]
# Para que o projeto seja criado em uma pasta com outro nome basta no fim do comando especificar o nome desejado:
$ git clone [uri_do_repositorio] [nome_da_pasta]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################## | |
## Java | |
############################## | |
.mtj.tmp/ | |
*.class | |
*.jar | |
*.war | |
*.ear | |
*.nar | |
hs_err_pid* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Criteria criteria = new Criteria().andOperator( | |
where("warehouse").is(warehouse), | |
where("date").gte(currentYear.getStart()), | |
where("date").lte(currentYear.getEnd()) | |
); | |
ProjectionOperation dateProjection = project() | |
.and("amount").as("amount") | |
.and("date").extractYear().as("year") | |
.and("date").extractMonth().as("month"); |