Commit 95fa97e3 authored by Marco Descher's avatar Marco Descher 🏔

Update misthios.js

parent f29ae6df
......@@ -2,7 +2,7 @@ logger = Polyglot.import("logger");
coreModelService = Polyglot.import("coreModelService");
const Collectors = Java.type("java.util.stream.Collectors");
const sql = "SELECT CONCAT( cast(count(*) as char), ',' , MandantId) FROM BEHANDLUNGEN group by MandantId";
const sql = "SELECT CONCAT( cast(count(*) as char), ',' , MandantId) FROM behandlungen group by MandantId";
var stream = coreModelService.executeNativeQuery(sql);
var result = Java.from(stream.toArray());
print(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