使用UUID获取唯一的Long类型的值 sepy 2023-02-06 277 阅读1分钟 1. 使用UUID获取唯一的Long类型的值 方法 Long fileId = (long) Math.abs(UUID.randomUUID().hashCode());