mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-16 07:48:34 +08:00
update
This commit is contained in:
@@ -112,7 +112,6 @@ public class IdUtils {
|
|||||||
while (id > 100000000000L) {
|
while (id > 100000000000L) {
|
||||||
id /= 10;
|
id /= 10;
|
||||||
}
|
}
|
||||||
// Integer num = Integer.parseInt(id + "");
|
|
||||||
return String.valueOf(id);
|
return String.valueOf(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -230,8 +230,7 @@ public class SnowflakeIdWorker {
|
|||||||
}).start();
|
}).start();
|
||||||
}
|
}
|
||||||
Thread.sleep(3000);
|
Thread.sleep(3000);
|
||||||
log.info("map.size():{}", map.size());
|
log.info("map.size():{}, 耗时:{}", map.size(), (System.currentTimeMillis() - beginTime));
|
||||||
log.info("耗时:" + (System.currentTimeMillis() - beginTime));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user