Ejemplo n.º 1
0
 @Test
 public void queryTest() {
   List<CashAccountLoginResult> queryLoginResult = accountLoginResultDao.queryLoginResult();
   Assert.assertEquals("haitong", queryLoginResult.get(0).getBroker());
   Assert.assertEquals("12345678", queryLoginResult.get(0).getCashAccountId());
   Assert.assertEquals("³É¹¦", queryLoginResult.get(0).getResult());
   System.out.println(queryLoginResult.get(0).getLogin_time());
 }
Ejemplo n.º 2
0
 @Test
 public void createTest() {
   CashAccountLoginResult result = new CashAccountLoginResult();
   result.setBroker("haitong");
   result.setCashAccountId("12345678");
   result.setResult("³É¹¦");
   result.setLogin_time(SystemTime.asDate());
   accountLoginResultDao.recordLoginResult(result);
 }
Ejemplo n.º 3
0
 @Test
 public void truncateTest() {
   accountLoginResultDao.truncateTable();
 }