Mercurial > lada > lada-server
annotate src/main/resources/probequery.json @ 775:95fa207dbd54
Fixed status values on messung create.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 12 Nov 2015 12:19:34 +0100 |
parents | b79afbdadbf7 |
children | 54462abc373c |
rev | line source |
---|---|
636
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
1 [ |
690 | 2 { "id": "0", |
636
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
3 "name": "Kein Filter", |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
4 "description": "Abfrage der Proben ohne Filter", |
690 | 5 "sql": "select p.id as id, pt.probe_id_alt as probeId, p.netzbetreiber_id as netzbetreiberId, p.mst_id as mstId, p.umw_id as umwId, p.hauptproben_nr as hauptprobenNr from land.probe p join land.probe_translation pt on p.id = pt.probe_id", |
636
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
6 "result": [ |
690 | 7 {"dataIndex": "probeId", "header": "ProbeId", "width": 120}, |
8 {"dataIndex": "netzbetreiberId", "header": "Land", "width": 50}, | |
9 {"dataIndex": "mstId", "header": "MST", "width": 60}, | |
10 {"dataIndex": "umwId", "header": "Umw-ID", "width": 60}, | |
11 {"dataIndex": "hauptprobenNr", "header": "Proben-Nr", "width": 120} | |
636
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
12 ], |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
13 "filters": [ |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
14 ] |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
15 }, |
690 | 16 { "id": "1", |
739
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
17 "name": "HP-Nr-Filer", |
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
18 "description": "Abfrage der Proben mit Wildcardfilter fuer die Hauptproben-Nr.", |
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
19 "sql": "select p.id as id, pt.probe_id_alt as probeId, p.netzbetreiber_id as netzbetreiberId, p.mst_id as mstId, p.umw_id as umwId, p.hauptproben_nr as hauptprobenNr from land.probe p join land.probe_translation pt on p.id = pt.probe_id where (p.hauptproben_nr like :hp_nr_id or '' = :hp_nr_id)", |
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
20 "result": [ |
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
21 {"dataIndex": "probeId", "header": "ProbeId", "width": 120}, |
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
22 {"dataIndex": "netzbetreiberId", "header": "Land", "width": 50}, |
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
23 {"dataIndex": "mstId", "header": "MST", "width": 60}, |
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
24 {"dataIndex": "umwId", "header": "Umw-ID", "width": 60}, |
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
25 {"dataIndex": "hauptprobenNr", "header": "Proben-Nr", "width": 120} |
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
26 ], |
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
27 "filters": [ |
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
28 {"dataIndex": "hp_nr_id", "type": "text", "label": "Probe_id-Filter"} |
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
29 ] |
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
30 }, |
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
31 { "id": "2", |
690 | 32 "name": "Probe-ID-Filer", |
33 "description": "Abfrage der Proben mit Wildcardfilter fuer die Probe_id", | |
34 "sql": "select p.id as id, pt.probe_id_alt as probeId, p.netzbetreiber_id as netzbetreiberId, p.mst_id as mstId, p.umw_id as umwId, p.hauptproben_nr as hauptprobenNr from land.probe p join land.probe_translation pt on p.id = pt.probe_id where (pt.probe_id_alt like :probe_id or '' = :probe_id)", | |
35 "result": [ | |
36 {"dataIndex": "probeId", "header": "ProbeId", "width": 120}, | |
37 {"dataIndex": "netzbetreiberId", "header": "Land", "width": 50}, | |
38 {"dataIndex": "mstId", "header": "MST", "width": 60}, | |
39 {"dataIndex": "umwId", "header": "Umw-ID", "width": 60}, | |
40 {"dataIndex": "hauptprobenNr", "header": "Proben-Nr", "width": 120} | |
41 ], | |
42 "filters": [ | |
43 {"dataIndex": "probe_id", "type": "text", "label": "Probe_id-Filter"} | |
44 ] | |
45 }, | |
739
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
46 { "id": "3", |
636
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
47 "name": "MST und UMW", |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
48 "description": "Abfrage der Proben gefiltert nach Messtellen ID und ID des Umweltbereichs", |
690 | 49 "sql": "select p.id as id, pt.probe_id_alt as probeId, p.netzbetreiber_id as netzbetreiberId, p.mst_id as mstId, p.umw_id as umwId, p.hauptproben_nr as hauptprobenNr from land.probe p join land.probe_translation pt on p.id = pt.probe_id where (p.mst_id = :mst_id OR '' = :mst_id) and (p.umw_id = :umw_id OR '' = :umw_id)", |
636
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
50 "result": [ |
690 | 51 {"dataIndex": "probeId", "header": "ProbeId", "width": 120}, |
52 {"dataIndex": "netzbetreiberId", "header": "Land", "width": 50}, | |
53 {"dataIndex": "mstId", "header": "MST", "width": 60}, | |
54 {"dataIndex": "umwId", "header": "Umw-ID", "width": 60}, | |
55 {"dataIndex": "hauptprobenNr", "header": "Proben-Nr", "width": 120} | |
636
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
56 ], |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
57 "filters": [ |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
58 {"dataIndex": "mst_id", "type": "listmst", "label": "Messstelle"}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
59 {"dataIndex": "umw_id", "type": "listumw", "label": "Umweltbereich"} |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
60 ] |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
61 }, |
739
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
62 { "id": "4", |
636
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
63 "name": "Proben pro Land", |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
64 "description": "Proben gefiltert nach Ländern", |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
65 "sql": "select p.id as id, pt.probe_id_alt as probeId, p.netzbetreiber_id as netzbetreiberId, p.mst_id as mstId, p.umw_id as umwId, p.hauptproben_nr as hauptprobenNr from land.probe p join land.probe_translation pt on p.id = pt.probe_id where (netzbetreiber_id = :netz OR '' = :netz)", |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
66 "result": [ |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
67 {"dataIndex": "probeId", "header": "ProbeId", "width": 100}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
68 {"dataIndex": "netzbetreiberId", "header": "Land", "width": 100}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
69 {"dataIndex": "mstId", "header": "MST", "width": 100}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
70 {"dataIndex": "umwId", "header": "Umweltbereich", "width": 100}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
71 {"dataIndex": "hauptprobenNr", "header": "Proben-Nr", "width": 100} |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
72 ], |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
73 "filters": [ |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
74 {"dataIndex": "netz", "type": "listnetz", "label": "Land"} |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
75 ] |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
76 }, |
739
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
77 { "id": "5", |
636
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
78 "name": "alle Proben mit Ort", |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
79 "description": "alle Proben mit Entnahmeort", |
638
76f08c40a13a
Added column probe_id_alt in query 4 in probequery.json
Michael Stanko <mstanko@bfs.de>
parents:
636
diff
changeset
|
80 "sql": "select p.id as id, pt.probe_id_alt as probeId, p.netzbetreiber_id as netzbetreiberId, p.mst_id as mstId, p.umw_id as umwId, p.hauptproben_nr as hauptprobenNr, so.gem_id as gemId, v.bezeichnung as bezeichnung from land.probe p join land.probe_translation pt on p.id = pt.probe_id left outer join land.ort o on (p.id = o.probe_id) left outer join stammdaten.ort so on (o.ort_id = so.id) left outer join stammdaten.verwaltungseinheit v on (so.gem_id = v.id) where o.orts_typ = 'E' or o.orts_typ is null", |
636
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
81 "result": [ |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
82 {"dataIndex": "probeId", "header": "ProbeId", "width": 100}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
83 {"dataIndex": "netzbetreiberId", "header": "Land", "width": 50}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
84 {"dataIndex": "mstId", "header": "MST", "width": 60}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
85 {"dataIndex": "umwId", "header": "Umweltbereich", "width": 100}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
86 {"dataIndex": "hauptprobenNr", "header": "Proben-Nr", "width": 100}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
87 {"dataIndex": "gemId", "header": "Gem-ID", "width": 100}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
88 {"dataIndex": "bezeichnung", "header": "Gemeinde", "flex": 1} |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
89 ], |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
90 "filters": [ |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
91 ] |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
92 }, |
739
add3e994b4c4
add new search 'HP-Nr-Filter'
Michael Stanko <mstanko@bfs.de>
parents:
690
diff
changeset
|
93 { "id": "6", |
636
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
94 "name": "Proben pro Land und UMW (Multiselect)", |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
95 "description": "Abfrage aller Proben gefiltert pro Land und Umweltbereich (mit Mehrfachauswahl)", |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
96 "sql": "select p.id as id, pt.probe_id_alt as probeId, p.netzbetreiber_id as netzbetreiberId, p.mst_id as mstId, to_char(p.probeentnahme_beginn,'YYYY-mm-dd HH24:MI') entnahmeVon, to_char(p.probeentnahme_ende,'YYYY-mm-dd HH24:MI') entnahmeBis, p.umw_id as umwId, p.hauptproben_nr as hauptprobenNr, o.orts_typ as ortsTyp, so.gem_id as gemId, v.bezeichnung as bezeichnung from land.probe p join land.probe_translation pt on p.id = pt.probe_id left outer join land.ort o on (p.id = o.probe_id) left outer join stammdaten.ort so on (o.ort_id = so.id) left outer join stammdaten.verwaltungseinheit v on (so.gem_id = v.id) where (o.orts_typ = 'E' or o.orts_typ is null) and (p.netzbetreiber_id = :netz OR '' =:netz) and (p.umw_id similar to (:umw_id) OR '' = :umw_id)", |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
97 "result": [ |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
98 {"dataIndex": "probeId", "header": "ProbeId", "width": 100}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
99 {"dataIndex": "netzbetreiberId", "header": "Land", "width": 50}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
100 {"dataIndex": "mstId", "header": "MST", "width": 50}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
101 {"dataIndex": "entnahmeVon", "header": "Entnahme von", "width": 120}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
102 {"dataIndex": "entnahmeBis", "header": "Entnahme bis", "width": 120}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
103 {"dataIndex": "umwId", "header": "Umweltbereich", "width": 100}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
104 {"dataIndex": "hauptprobenNr", "header": "Proben-Nr", "width": 100}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
105 {"dataIndex": "ortsTyp", "header": "Ortstyp", "width": 50}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
106 {"dataIndex": "genId", "header": "Gemeinde-ID", "width": 100}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
107 {"dataIndex": "bezeichnung", "header": "Gemeinde", "flex": 1} |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
108 ], |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
109 "filters": [ |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
110 {"dataIndex": "netz", "type": "listnetz", "label": "Land"}, |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
111 {"dataIndex": "umw_id", "type": "listumw", "label": "Umweltbereich", "multiselect":true} |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
112 ] |
740
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
113 }, |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
114 { "id": "7", |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
115 "name": "Proben und Messungen pro Land und UMW (Multiselect)", |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
116 "description": "Abfrage aller Proben/Messungen gefiltert pro Land und Umweltbereich (mit Mehrfachauswahl)", |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
117 "sql": "select p.id as id, pt.probe_id_alt as probeId, p.netzbetreiber_id as netzbetreiberId, p.mst_id as mstId, to_char(p.probeentnahme_beginn,'YYYY-mm-dd HH24:MI') entnahmeVon, to_char(p.probeentnahme_ende,'YYYY-mm-dd HH24:MI') entnahmeBis, m.mmt_id as mmtId, p.umw_id as umwId, p.hauptproben_nr as hauptprobenNr, o.orts_typ as ortsTyp, so.gem_id as gemId, v.bezeichnung as bezeichnung from land.probe p left outer join land.probe_translation pt on p.id = pt.probe_id left outer join land.messung m on p.id = m.probe_id left outer join land.ort o on (p.id = o.probe_id) left outer join stammdaten.ort so on (o.ort_id = so.id) left outer join stammdaten.verwaltungseinheit v on (so.gem_id = v.id) where (o.orts_typ = 'E' or o.orts_typ is null) and (p.netzbetreiber_id = :netz OR '' =:netz) and (p.umw_id similar to (:umw_id) OR '' = :umw_id)", |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
118 "result": [ |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
119 {"dataIndex": "probeId", "header": "ProbeId", "width": 100}, |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
120 {"dataIndex": "netzbetreiberId", "header": "Land", "width": 50}, |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
121 {"dataIndex": "mstId", "header": "MST", "width": 50}, |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
122 {"dataIndex": "entnahmeVon", "header": "Entnahme von", "width": 120}, |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
123 {"dataIndex": "entnahmeBis", "header": "Entnahme bis", "width": 120}, |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
124 {"dataIndex": "mmtId", "header": "MMT", "width": 50}, |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
125 {"dataIndex": "umwId", "header": "Umweltbereich", "width": 100}, |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
126 {"dataIndex": "hauptprobenNr", "header": "Proben-Nr", "width": 100}, |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
127 {"dataIndex": "ortsTyp", "header": "Ortstyp", "width": 50}, |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
128 {"dataIndex": "genId", "header": "Gemeinde-ID", "width": 100}, |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
129 {"dataIndex": "bezeichnung", "header": "Gemeinde", "flex": 1} |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
130 ], |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
131 "filters": [ |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
132 {"dataIndex": "netz", "type": "listnetz", "label": "Land"}, |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
133 {"dataIndex": "umw_id", "type": "listumw", "label": "Umweltbereich", "multiselect":true} |
b79afbdadbf7
add new entry in probenquery
Michael Stanko <mstanko@bfs.de>
parents:
739
diff
changeset
|
134 ] |
636
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
135 } |
cdcb7a141529
Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
136 ] |