常用uuid
String uuid=UUID.randomUUID().toString();
StringBuffer Uid=new StringBuffer(uuid);
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
String date=sdf.format(new Date());
String uid=Uid.append(date).toString();
常用uuid
String uuid=UUID.randomUUID().toString();
StringBuffer Uid=new StringBuffer(uuid);
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
String date=sdf.format(new Date());
String uid=Uid.append(date).toString();