Commit 1b166f9d authored by Marco Descher's avatar Marco Descher 🏔

Update misthios.js

parent 395e1553
......@@ -4,11 +4,8 @@ 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);
print(stream);
var result = Java.from(stream.toArray());
print(result);
for (var ar of result) {
print(ar);
logger.warn(ar);
}
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