DistributedAtomicInteger生成到货单号
最近研究了一下实际到货单号的使用,发现有很多的方式可以去生成,除了md5加上uuid等方式,还有DistributedAtomicInteger
Date now = new Date();
String nowtime = format.format(now);//“yyyyMMddHHmmssSSS”
DistributedAtomicInteger atomicInteger = new ...
原创
2020-04-08 09:39:04 ·
357 阅读 ·
0 评论