@Test public void deleteServerConfigByServerGroupId() throws Exception { int count = serverConfigDao.deleteServerConfigByServerGroupId(1L); System.out.println("deleteServerConfigByServerGroupId :-------> " + count); Assert.assertTrue(count > 0); }
public int deleteServerConfigByServerGroupId(Long serverId) throws SQLException { String sql = "DELETE FROM server_config WHERE server_id = ?"; return this.updataBysql(sql, Parameter.integerOf(StringUtils.EMPTY, serverId)); }
ServerConfigDao extends BaseDao { public int deleteServerConfigByServerGroupId(Long serverId) throws SQLException { String sql = "DELETE FROM server_config WHERE server_id = ?"; return this.updataBysql(sql, Parameter.integerOf(StringUtils.EMPTY, serverId)); } }
ServerConfigDao extends BaseDao { public int deleteServerConfigByServerGroupId(Long serverId) throws SQLException { String sql = "DELETE FROM server_config WHERE server_id = ?"; return this.updataBysql(sql, Parameter.integerOf(StringUtils.EMPTY, serverId)); }  }
ServerConfigDao extends BaseDao { public int deleteServerConfigByServerGroupId(Long serverId) throws SQLException { String sql = "DELETE FROM server_config WHERE server_id = ?"; return this.updataBysql(sql, Parameter.integerOf(StringUtils.EMPTY, serverId)); }  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 int deleteServerConfigByServerGroupId(Long serverId) throws SQLException { String sql = "DELETE FROM server_config WHERE server_id = ?"; return this.updataBysql(sql, Parameter.integerOf(StringUtils.EMPTY, serverId)); }  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);  }