comparison src/main/resources/probequery.json @ 638:76f08c40a13a

Added column probe_id_alt in query 4 in probequery.json
author Michael Stanko <mstanko@bfs.de>
date Wed, 29 Apr 2015 22:55:14 +0200
parents cdcb7a141529
children 6441bb4a90f0
comparison
equal deleted inserted replaced
637:4211a1e32f51 638:76f08c40a13a
41 ] 41 ]
42 }, 42 },
43 { "id": "4", 43 { "id": "4",
44 "name": "alle Proben mit Ort", 44 "name": "alle Proben mit Ort",
45 "description": "alle Proben mit Entnahmeort", 45 "description": "alle Proben mit Entnahmeort",
46 "sql": "select p.id as id, 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 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", 46 "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",
47 "result": [ 47 "result": [
48 {"dataIndex": "probeId", "header": "ProbeId", "width": 100}, 48 {"dataIndex": "probeId", "header": "ProbeId", "width": 100},
49 {"dataIndex": "netzbetreiberId", "header": "Land", "width": 50}, 49 {"dataIndex": "netzbetreiberId", "header": "Land", "width": 50},
50 {"dataIndex": "mstId", "header": "MST", "width": 60}, 50 {"dataIndex": "mstId", "header": "MST", "width": 60},
51 {"dataIndex": "umwId", "header": "Umweltbereich", "width": 100}, 51 {"dataIndex": "umwId", "header": "Umweltbereich", "width": 100},
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)