ServerConfigDao extends BaseDao { public List<ServerConfig> findServerAppConfigPageList(Paging<ServerConfig> paging) throws SQLException { String sql = "SELECT id, server_id, keya, value, comment, insert_time, update_time FROM server_config " + appenCondition(paging); log.info("findServerAppConfigPageList-----> " + sql); return this.queryBySql(sql, ServerConfig.class); }  Long insertServerAppConfig(ServerConfig serverAppConfig); int deleteServerAppConfig(ServerConfig serverAppConfig); int updateServerAppConfig(ServerConfig serverAppConfig); int deleteServerConfigByServerGroupId(Long serverId); List<ServerConfig> getServerAppConfigByServerId(Long serverId); Long getServerAppConfigTotalCount(Paging<ServerConfig> paging); List<ServerConfig> findServerAppConfigPageList(Paging<ServerConfig> paging);  }
@Test public void findServerAppConfigPageList() throws Exception { List<ServerConfig> list = serverConfigDao.findServerAppConfigPageList(paging); System.out.println("findServerAppConfigPageList :-------> " + list); Assert.assertTrue(list.size() > 0); }