ConnRecordServiceImpl implements ConnRecordService { @Override public Page<ConnRecord> queryConnRecordPage(String mobile, Long pageSize, Long currentPage) { Page pageConfig = Page.page(pageSize, currentPage); return connRecordDAO.queryConnRecordPage(mobile,pageConfig); }  void setConnTypeDAO(ConnTypeDAO connTypeDAO); @Override Long saveConnRecord(ConnRecord connRecord); void setConnRecordDAO(ConnRecordDAO connRecordDAO); @Override Page<ConnRecord> queryConnRecordPage(String mobile,
			Long pageSize, Long currentPage); @Override Page<ConnRecord> queryConnRecordPage(Long userId,
			Long pageSize, Long currentPage); @Override List<ConnType> queryConnTypeCallBack(String callBack); @Override List<ConnType> quueryConnTypeByConnType(ConnType connType); @Override Page<ConnRecord> queryConnRecordWithPage(ConnRecord connRecord, long pageSize, int page);  }
@Test public void testQueryConnRecord() { String mobile = "13044102235"; Page<ConnRecord> connRecordList = connRecordService.queryConnRecordPage(mobile, 10L, 1L); System.out.println("connRecordList:"+connRecordList.getItems().size()); Assert.assertTrue((connRecordList.getItems().size()>0?true:false)); }