Long nowmaxId = jdbcTemplate.queryForObject(String.format("SELECT MAX(user_id) FROM sys_user"), Long.class);