@@ -43,6 +43,7 @@ public class RandomUtil {
set.add(id);
}
finalList.addAll(set);
+ set.clear();
randomMap.put(workId, finalList);
long end = System.currentTimeMillis();
LOGGER.info("workId:{},生成随机数耗时:{},数据长度为:{}", workId, (end - start) / 1000 + "s", finalList.size());