コード例 #1
0
 @Test
 public void findByPage() throws Exception {
   Object result = dao.findByPage(5, 0);
   System.out.println(JacksonUtil.toJson(result).replace("{", "\n{"));
 }
コード例 #2
0
 @Test
 public void update() throws Exception {
   Visit model = new Visit();
   Object result = dao.update(model);
   System.out.println(JacksonUtil.toJson(result).replace("{", "\n{"));
 }
コード例 #3
0
 @Test
 public void countAll() throws Exception {
   Object result = dao.countAll();
   System.out.println(JacksonUtil.toJson(result).replace("{", "\n{"));
 }
コード例 #4
0
 @Test
 public void insert() throws Exception {
   DeviceBinding model = new DeviceBinding();
   Object result = dao.insert(model);
   System.out.println(JacksonUtil.toJson(result).replace("{", "\n{"));
 }