@Test public void insertServerAppConfig() throws Exception { Long id = serverConfigDao.insertServerAppConfig(serverConfig); System.out.println("insertServerAppConfig :-------> " + id); Assert.assertTrue(id > 0); }
public Long insertServerAppConfig(ServerConfig serverAppConfig) throws SQLException { if (serverAppConfig == null) { return 0L; } this.getDasClient().insert(serverAppConfig); return serverAppConfig.getId(); }
ServerConfigDao extends BaseDao { public Long insertServerAppConfig(ServerConfig serverAppConfig) throws SQLException { if (serverAppConfig == null) { return 0L; } this.getDasClient().insert(serverAppConfig); return serverAppConfig.getId(); } }
ServerConfigDao extends BaseDao { public Long insertServerAppConfig(ServerConfig serverAppConfig) throws SQLException { if (serverAppConfig == null) { return 0L; } this.getDasClient().insert(serverAppConfig); return serverAppConfig.getId(); }  }
ServerConfigDao extends BaseDao { public Long insertServerAppConfig(ServerConfig serverAppConfig) throws SQLException { if (serverAppConfig == null) { return 0L; } this.getDasClient().insert(serverAppConfig); return serverAppConfig.getId(); }  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); }
ServerConfigDao extends BaseDao { public Long insertServerAppConfig(ServerConfig serverAppConfig) throws SQLException { if (serverAppConfig == null) { return 0L; } this.getDasClient().insert(serverAppConfig); return serverAppConfig.getId(); }  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);  }