26 lines
707 B
Java
26 lines
707 B
Java
package database;
|
|
|
|
import database.transaction.Transaction;
|
|
import database.transaction.TransactionDao;
|
|
import org.junit.Ignore;
|
|
import org.junit.Test;
|
|
|
|
import java.util.List;
|
|
|
|
@Ignore
|
|
public class TransactionTest {
|
|
@Test
|
|
public void getTransactionBetween(){
|
|
TransactionDao transactionDao = new TransactionDao();
|
|
try{
|
|
List<Transaction> list = transactionDao.getAllTransactionBetweenDate("$2a$10$dmrOFohMnbeVzVHMGc5JnuQ7MMTObn3lHTrMSe/IonD3VTeM.muo.","1555180582250","1555186015913",2);
|
|
for(Transaction t : list){
|
|
System.out.println(t.toString());
|
|
}
|
|
}catch (Exception e){
|
|
e.printStackTrace();
|
|
}
|
|
|
|
}
|
|
}
|