This commit is contained in:
Redkale
2017-12-16 10:42:50 +08:00
parent 37df0af56c
commit 6196c05f12

View File

@@ -286,7 +286,7 @@ public final class EntityCache<T> {
rs = rs2;
} else if (func == DISTINCTCOUNT) {
Map rs2 = new LinkedHashMap();
rs.forEach((x, y) -> rs2.put(x, ((Set) y).size()));
rs.forEach((x, y) -> rs2.put(x, ((Set) y).size() + 0L));
rs = rs2;
}
return rs;