class ServerConfigDao extends BaseDao {

    public List<ServerConfig> getServerAppConfigByServerId(Long serverId) throws SQLException {
        String sql = "SELECT id, server_id, keya, value, comment, insert_time, update_time  FROM server_config WHERE server_id = ?";
        return this.queryBySql(sql, ServerConfig.class, Parameter.integerOf(StringUtils.EMPTY, serverId));
    }

}