Commit f29ae6df authored by Marco Descher's avatar Marco Descher 🏔

Update misthios.js

parent b45fb103
......@@ -4,7 +4,7 @@ const Collectors = Java.type("java.util.stream.Collectors");
const sql = "SELECT CONCAT( cast(count(*) as char), ',' , MandantId) FROM BEHANDLUNGEN group by MandantId";
var stream = coreModelService.executeNativeQuery(sql);
var result = stream.toArray();
var result = Java.from(stream.toArray());
print(result);
for (var ar of result) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment