12345678910111213141516 |
- package com.sinosoft.cm.chart.util;
- import java.util.UUID;
- public class UUIDUtil {
- public static String getFdObjectId(){
- UUID uuid= UUID.randomUUID();
- String uuidStr=uuid.toString();
- uuidStr=uuidStr.replace("-", "");
- return uuidStr;
- }
- public static void main(String[] args) {
- System.out.println(UUIDUtil.getFdObjectId());
- }
- }
|