Mercurial > lada > lada-server
diff src/main/resources/messprogrammquery.json @ 636:cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 27 Apr 2015 18:50:42 +0200 |
parents | |
children | 9ed60af6e61e |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/resources/messprogrammquery.json Mon Apr 27 18:50:42 2015 +0200 @@ -0,0 +1,14 @@ +[ +{ "id": "1", + "name": "Kein Filter", + "description": "Abfrage der Messprogramme ohne Filter", + "sql": "select m.id as id, m.name as name, m.mst_id as mstId, m.umw_id as umwId from land.messprogramm m", + "result": [ + {"dataIndex": "name", "header": "Name", "width": 100}, + {"dataIndex": "mstId", "header": "MST", "width": 100}, + {"dataIndex": "umwId", "header": "Umweltbereich", "width": 100} + ], + "filters": [ + ] +} +]