Marlies Winterstein
1 year ago
6 changed files with 1218 additions and 0 deletions
@ -0,0 +1,729 @@ |
|||||||
|
1 cd .ssh |
||||||
|
2 ssh-keygen -t rsa |
||||||
|
3 cd .ssh |
||||||
|
4 vi authorized_keys |
||||||
|
5 exit |
||||||
|
6 cd tools/anydesk/ |
||||||
|
7 ls |
||||||
|
8 vi lizenz.txt |
||||||
|
9 exit |
||||||
|
10 ls |
||||||
|
11 sudo -i |
||||||
|
12 exit |
||||||
|
13 sudo -i |
||||||
|
14 sudo -i |
||||||
|
15 cd .ssh |
||||||
|
16 vi id_rsa.pub |
||||||
|
17 vi config |
||||||
|
18 cd ../git |
||||||
|
19 ls |
||||||
|
20 git clone ssh://superx@gitea/Memtext/Memtext-Interna.git |
||||||
|
21 ssh v1 |
||||||
|
22 wget https://superxhosting.de/superx/ip.jsp |
||||||
|
23 vi ip.jsp |
||||||
|
24 rm ip.jsp |
||||||
|
25 git clone ssh://superx@gitea/Memtext/Memtext-Interna.git |
||||||
|
26 cd .. |
||||||
|
27 cd .ssh |
||||||
|
28 vi id_rsa.pub |
||||||
|
29 cd ../git |
||||||
|
30 git clone ssh://superx@gitea/Memtext/Memtext-Interna.git |
||||||
|
31 cd |
||||||
|
32 cd .ssh |
||||||
|
33 ssh-keygen -t rsa -b 4096 -C "winterstein@superx-projekt.de" |
||||||
|
34 ls |
||||||
|
35 vi id_rsa_v1.pub |
||||||
|
36 vi id_rsa.pub |
||||||
|
37 vi config |
||||||
|
38 cd ../git |
||||||
|
39 git clone ssh://superx@gitea/Memtext/Memtext-Interna.git |
||||||
|
40 cd ../.ssh |
||||||
|
41 ls |
||||||
|
42 rm id_rsa_v1.pub |
||||||
|
43 rm id_rsa_v1 |
||||||
|
44 vi ../.ssh/config |
||||||
|
45 vi id_rsa.pub |
||||||
|
46 cd ../git |
||||||
|
47 git clone ssh://superx@gitea/Memtext/Memtext-Interna.git |
||||||
|
48 vi ../.ssh/config |
||||||
|
49 vi ../.ssh/id_rsa.pub |
||||||
|
50 git clone ssh://git@git.campussource.de:22222/SuperX/xcube.git |
||||||
|
51 git clone ssh://superx@wannabe/SuperX/xcube.git |
||||||
|
52 git clone ssh://git@git.campussource.de:22222/SuperX/xcube.git |
||||||
|
53 git config --global user.name "Marlies Winterstein" |
||||||
|
54 git config --global user.email "winterstein@superx-projekt.de" |
||||||
|
55 cd .. |
||||||
|
56 ls -a |
||||||
|
57 vi .gitconfig |
||||||
|
58 cd git |
||||||
|
59 git clone ssh://git@git.campussource.de:22222/SuperX/xcube.git |
||||||
|
60 git clone https://git.campussource.de/git/SuperX/xcube.git |
||||||
|
61 rm -r xcube/ |
||||||
|
62 rm -rf xcube/ |
||||||
|
63 git clone ssh://git@git.campussource.de:22222/SuperX/xcube.git |
||||||
|
64 ll ../.ssh |
||||||
|
65 git clone ssh://git@git.campussource.de:22222/SuperX/xcube.git |
||||||
|
66 git clone ssh://superx@gitea/Memtext/Memtext-Interna.git |
||||||
|
67 ssh --version |
||||||
|
68 ssh |
||||||
|
69 ssh --help |
||||||
|
70 ls |
||||||
|
71 git clone ssh://superx@gitea/Memtext/Memtext-Interna.git |
||||||
|
72 ls |
||||||
|
73 cd xcube/ |
||||||
|
74 git pull |
||||||
|
75 cd ../Memtext-Interna/ |
||||||
|
76 git pull |
||||||
|
77 exit |
||||||
|
78 cd .ssh |
||||||
|
79 vi config |
||||||
|
80 ssh-keygen -t ed25519 -C "winterstein@superx-projekt.de" |
||||||
|
81 -o PubkeyAcceptedAlgorithms=+ssh-rsa |
||||||
|
82 vi id_ed25519.pub |
||||||
|
83 vi config |
||||||
|
84 ssh-keygen -o PubkeyAcceptedAlgorithms=+ssh-rsa -t rsa |
||||||
|
85 ls |
||||||
|
86 exit |
||||||
|
87 ls |
||||||
|
88 cd git |
||||||
|
89 ls |
||||||
|
90 cd xcube |
||||||
|
91 git pull |
||||||
|
92 vi .git |
||||||
|
93 cd .git |
||||||
|
94 vi config |
||||||
|
95 cd .. |
||||||
|
96 git status |
||||||
|
97 exit |
||||||
|
98 vi .ssh/id_rsa.pub |
||||||
|
99 ssh journey |
||||||
|
100 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
101 exit |
||||||
|
102 cd git/xcube |
||||||
|
103 ls |
||||||
|
104 git pull |
||||||
|
105 vi .git/config |
||||||
|
106 git pull |
||||||
|
107 gitk |
||||||
|
108 git status |
||||||
|
109 git add -A |
||||||
|
110 git commit -m "TODO Dateien zerlegen" |
||||||
|
111 git push |
||||||
|
112 ssh superx@journey |
||||||
|
113 cd bin |
||||||
|
114 ls |
||||||
|
115 tunnel_journey_pg.x |
||||||
|
116 vi tunnel_journey_pg.x |
||||||
|
117 tunnel_journey_pg.x |
||||||
|
118 tunnel_journey_pg.x |
||||||
|
119 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
120 tunnel_journey_pg.x |
||||||
|
121 exit |
||||||
|
122 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
123 exit |
||||||
|
124 tunnel_journey_pg.x |
||||||
|
125 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
126 exit |
||||||
|
127 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
128 exit |
||||||
|
129 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
130 exit |
||||||
|
131 tunnel_journey_pg.x |
||||||
|
132 exit |
||||||
|
133 cd git/xcube |
||||||
|
134 git status |
||||||
|
135 git add -A |
||||||
|
136 git commit -m "Einfügen Semester als Dimension und Auswahl auf Seit Semester, bis Semester" |
||||||
|
137 git push |
||||||
|
138 exit |
||||||
|
139 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
140 cd git |
||||||
|
141 cd xcube |
||||||
|
142 git status |
||||||
|
143 git add src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql |
||||||
|
144 git commit -m "Einfügen Fach_sem_zahl bis 10 und eine Zeile(Spalte) FS>10 in xcube_dims" |
||||||
|
145 git add src-modules/module/xcube/schluesseltabellen/xcube_install.sql |
||||||
|
146 git commit -m "Einfügen Zeile attrib_nachbearbeitung für fach_sem_zahl FS>10 in xcube_dimconfig" |
||||||
|
147 git push |
||||||
|
148 cd git/xcube |
||||||
|
149 git status |
||||||
|
150 git add src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql |
||||||
|
151 git commit -m "Zusammenfassung Hochschulsemester - bis 10 einzeln, dann HS>10, Dimension HZB hinzugefügt" |
||||||
|
152 git add src-modules/module/xcube/schluesseltabellen/xcube_install.sql |
||||||
|
153 git commit -m "Zusammenfassung Hochschulsemester - bis 10 einzeln, dann HS>10,Neg. HS auf 0 gesetzt, Dimension HZB hinzugefügt" |
||||||
|
154 git push |
||||||
|
155 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
156 tunnel_journey_pg.x |
||||||
|
157 cd git |
||||||
|
158 ll |
||||||
|
159 cd ../git-Sicherung/ |
||||||
|
160 sx_select_mask 10120 |
||||||
|
161 cd /git/xcube |
||||||
|
162 cd ~/git/xcube |
||||||
|
163 git status |
||||||
|
164 git -A src-modules/module/xcube/schluesseltabellen/xcube_install.sql |
||||||
|
165 git add -A src-modules/module/xcube/schluesseltabellen/xcube_install.sql |
||||||
|
166 git commit "Umstellung für abschluss von lehr_stg_ab auf dim_studiengang" |
||||||
|
167 git commit -m "Umstellung für abschluss von lehr_stg_ab auf dim_studiengang" |
||||||
|
168 git push |
||||||
|
169 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
170 cd git |
||||||
|
171 git clone https://superx-rocks.de/git/UDE/BI-Konfiguration.git |
||||||
|
172 ls |
||||||
|
173 cd B |
||||||
|
174 cd BI-Konfiguration/ |
||||||
|
175 gitk |
||||||
|
176 ll |
||||||
|
177 cd webapps_superx/ |
||||||
|
178 ll |
||||||
|
179 cd WEB-INF/ |
||||||
|
180 ll |
||||||
|
181 cd ~/git |
||||||
|
182 git status |
||||||
|
183 cd xcube |
||||||
|
184 git status |
||||||
|
185 git add src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql |
||||||
|
186 git commit -m "Dimension Alter hinzugefügt, über SQL-Sicht" |
||||||
|
187 git add src-modules/module/xcube/schluesseltabellen/xcube_install.sql |
||||||
|
188 git commit -m "Dimension Alter hinzugefügt, Korrekturen für Dimension Wohnort" |
||||||
|
189 git add src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql |
||||||
|
190 git commit -m "Einschränkung für Parameter Wohnort hinzugefügt" |
||||||
|
191 git push |
||||||
|
192 ll |
||||||
|
193 tunnel_journey_pg.x |
||||||
|
194 cd git/xcube |
||||||
|
195 git status |
||||||
|
196 git add src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql |
||||||
|
197 git commit -m "Eintragungen für Einschränkung auf Alter" |
||||||
|
198 cd /home/superx/git/xcube/src-modules/module/xcube/masken |
||||||
|
199 ll 21000* |
||||||
|
200 sx_select_mask 21000 |
||||||
|
201 ll 21000* |
||||||
|
202 git status |
||||||
|
203 git add -A |
||||||
|
204 git add |
||||||
|
205 git add 21000_felderinfo.unl |
||||||
|
206 git commit -m "Parameter Seit Semester, Bis Semester,Wohnort, Alter hinzugefügt" |
||||||
|
207 git add 21000_masken_felder_bez.unl |
||||||
|
208 git commit -m "Parameter Seit Semester, Bis Semester,Wohnort, Alter hinzugefügt" |
||||||
|
209 git status |
||||||
|
210 cd .. |
||||||
|
211 ll |
||||||
|
212 git add xcube_sichten.sql |
||||||
|
213 git commit -m "Definition der Sicht für die Dimension Alter als SQL-Sicht" |
||||||
|
214 git push |
||||||
|
215 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
216 tunnel_journey_pg.x |
||||||
|
217 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
218 tunnel_journey_pg.x |
||||||
|
219 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
220 cd git/xcube |
||||||
|
221 git pull |
||||||
|
222 git status |
||||||
|
223 git add src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql |
||||||
|
224 git commit -m "Dimensionen Aktiv und Hörerstatus hinzugefügt" |
||||||
|
225 git add src-modules/module/xcube/schluesseltabellen/xcube_install.sql |
||||||
|
226 git commit -m "Dimensionen Aktiv und Hörerstatus hinzugefügt" |
||||||
|
227 git add src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql |
||||||
|
228 git commit -m "Einschränkung auf Parameter Studiengang hinzugefügt" |
||||||
|
229 git add src-modules/module/xcube/schluesseltabellen/create_views.sql |
||||||
|
230 git commit -m "Definition view xcube_wohnort_staat" |
||||||
|
231 git status |
||||||
|
232 git add src-modules/module/xcube/masken/21000_felderinfo.unl |
||||||
|
233 git commit -m "Felder aktiv und Hörerstatus(cifx) als unsichtbar eingefügt" |
||||||
|
234 git add src-modules/module/xcube/masken/21000_masken_felder_bez.unl |
||||||
|
235 git commit -m "Felder aktiv und Hörerstatus(cifx) eingefügt" |
||||||
|
236 git status |
||||||
|
237 git push |
||||||
|
238 tunnel_journey_pg.x |
||||||
|
239 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
240 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
241 tunnel_journey_pg.x |
||||||
|
242 cd git/xcube |
||||||
|
243 git status |
||||||
|
244 git add src-modules/module/xcube/schluesseltabellen/create_views.sql |
||||||
|
245 git commit -m "View xcube_wohnort_staat um alle und unbekannt ergänzt" |
||||||
|
246 git add src-modules/module/xcube/schluesseltabellen/sichten_fuellen.sql |
||||||
|
247 git commit -m "Sicht xcube_dim_wohnort hinzugefügt" |
||||||
|
248 git add src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql |
||||||
|
249 git commit -m "Dimensionen Beurlaubungsgrund, HZB-Note, HZB(intern) hinzugefügt" |
||||||
|
250 git add src-modules/module/xcube/schluesseltabellen/xcube_install.sql |
||||||
|
251 git commit -m "Dimensionen Beurlaubungsgrund, HZB-Note, HZB(intern) hinzugefügt" |
||||||
|
252 git status |
||||||
|
253 git add src-modules/module/xcube/masken/21000_felderinfo.unl |
||||||
|
254 git commit -m "Parameter HZB-Note (Sicht) hinzugefügt, Parameter Aktiv,Hörerstatus(intern) gelöscht (als Liste nicht notwendig)" |
||||||
|
255 git add src-modules/module/xcube/masken/21000_masken_felder_bez.unl |
||||||
|
256 git commit -m "Parameter HZB-Note (Sicht) hinzugefügt, Parameter Aktiv,Hörerstatus(intern) gelöscht (als Liste nicht notwendig)" |
||||||
|
257 git status |
||||||
|
258 git push |
||||||
|
259 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
260 cd git |
||||||
|
261 cd xcube |
||||||
|
262 git status |
||||||
|
263 tunnel_journey_pg.x |
||||||
|
264 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
265 cd git |
||||||
|
266 git status |
||||||
|
267 cd xcube |
||||||
|
268 git status |
||||||
|
269 gitk |
||||||
|
270 git add src-modules/module/xcube/masken/21000_felderinfo.unl |
||||||
|
271 git commit -m "Parameter Seit Semester auf einzeilig gestellt" |
||||||
|
272 git add src-modules/module/xcube/masken/21000_masken_felder_bez.unl |
||||||
|
273 git commit -m "eig. nichts geändert" |
||||||
|
274 git commit -m "src-modules/module/xcube/masken/21000_maskeninfo.unl |
||||||
|
275 " |
||||||
|
276 git commit -m "src-modules/module/xcube/masken/21000_maskeninfo.unl |
||||||
|
277 " |
||||||
|
278 git add src-modules/module/xcube/masken/21000_maskeninfo.unl |
||||||
|
279 git commit -m "wahrsch. Änderungen von MB" |
||||||
|
280 git add src-modules/module/xcube/schluesseltabellen/create_views.sql |
||||||
|
281 git commit -m "Änderungen bei xcube_hoererstatus |
||||||
|
282 " |
||||||
|
283 git add src-modules/module/xcube/schluesseltabellen/sichten_fuellen.sql |
||||||
|
284 git commit -m "Änderungen bei XCUBE-Hörerstatus-Sicht" |
||||||
|
285 git status |
||||||
|
286 git add src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql |
||||||
|
287 git commit -m "Änderungen bei Alter wegen Sortierung" |
||||||
|
288 git add src-modules/module/xcube/schluesseltabellen/xcube_install.sql |
||||||
|
289 git commit -m "Änderungen für Sicht Hörerstatus" |
||||||
|
290 git add src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql |
||||||
|
291 git commit -m "Korrektur bei Wohnort" |
||||||
|
292 git status |
||||||
|
293 git push |
||||||
|
294 cd git/xcube |
||||||
|
295 git status |
||||||
|
296 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
297 tunnel_journey_pg.x |
||||||
|
298 cd git |
||||||
|
299 git status |
||||||
|
300 cd xcube |
||||||
|
301 git status |
||||||
|
302 git add rc-modules/module/xcube/schluesseltabellen/xcube_install.sql |
||||||
|
303 git add src-modules/module/xcube/schluesseltabellen/xcube_install.sql |
||||||
|
304 git commit -m "Hinzufügen von weiteren Dimensionen aus dim_studiengang" |
||||||
|
305 git add src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql |
||||||
|
306 git commit -m "Einfügen von Lehreinheit in xcube_dims" |
||||||
|
307 git add src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql |
||||||
|
308 git commit -m "Korrektur bei HZB-Note" |
||||||
|
309 git status |
||||||
|
310 git push |
||||||
|
311 git status |
||||||
|
312 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
313 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
314 tunnel_journey_pg.x |
||||||
|
315 tunnel_journey_pg.x |
||||||
|
316 cd Masken-UDE/cop/masken/ |
||||||
|
317 fgrep SOS_ABS * |
||||||
|
318 fgrep SOS_ABSCHLUSSGRUPPEN * |
||||||
|
319 fgrep ABSCHLUSSGRUPPEN * |
||||||
|
320 fgrep sx_repository * |
||||||
|
321 vi 11930_maskeninfo.unl |
||||||
|
322 vi 10490_maskeninfo.unl |
||||||
|
323 vi 11930_maskeninfo.unl |
||||||
|
324 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
325 tunnel_journey_pg.x |
||||||
|
326 cd /home/superx/Masken-UDE/cop/masken |
||||||
|
327 fgrep sos_abschlu * |
||||||
|
328 fgrep bschlussgr * |
||||||
|
329 vi 10490_maskeninfo.unl |
||||||
|
330 cd git |
||||||
|
331 git status |
||||||
|
332 cd xcube |
||||||
|
333 git status |
||||||
|
334 git add -A |
||||||
|
335 git commit -m "Änderung Feld Abschluss auf Sicht" |
||||||
|
336 git push |
||||||
|
337 git status |
||||||
|
338 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
339 tunnel_journey_pg.x |
||||||
|
340 ll |
||||||
|
341 pwd |
||||||
|
342 cd Masken-UDE/masken/ |
||||||
|
343 grep inaktiv * |
||||||
|
344 grep -i aktiv * |
||||||
|
345 grep -i inaktiv * |
||||||
|
346 grep -i aktiv *|more |
||||||
|
347 grep -i aktiv *maskeninfo.unl|more |
||||||
|
348 vi 15650_maskeninfo.unl |
||||||
|
349 fgrep LAB_BEWERTET * |
||||||
|
350 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
351 cd git/xcube |
||||||
|
352 git status |
||||||
|
353 gia add src-modules/module/xcube/masken/21000_maskeninfo.unl |
||||||
|
354 git add src-modules/module/xcube/masken/21000_maskeninfo.unl |
||||||
|
355 git commit -m "Änderung im SQL durch MB" |
||||||
|
356 git push |
||||||
|
357 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
358 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
359 pwd |
||||||
|
360 ll |
||||||
|
361 cd git |
||||||
|
362 cd BI-Konfiguration/masken/MW_Masken/ |
||||||
|
363 pwd |
||||||
|
364 tunnel_journey_pg.x |
||||||
|
365 cd git |
||||||
|
366 ll |
||||||
|
367 cd BI-Konfiguration/ |
||||||
|
368 cd masken |
||||||
|
369 cd M |
||||||
|
370 cd MW_Masken/ |
||||||
|
371 git status |
||||||
|
372 cd .. |
||||||
|
373 git status |
||||||
|
374 cd BI-Konfiguration/ |
||||||
|
375 git status |
||||||
|
376 git add masken/MW_Masken |
||||||
|
377 git status |
||||||
|
378 git add -A |
||||||
|
379 git status |
||||||
|
380 tunnel_journey_pg.x |
||||||
|
381 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
382 ifconfig |
||||||
|
383 ethconfig |
||||||
|
384 cd git |
||||||
|
385 git status |
||||||
|
386 cd BI-Konfiguration/ |
||||||
|
387 git status |
||||||
|
388 git add -A -v |
||||||
|
389 git commit -m "UDE Masken" |
||||||
|
390 git push |
||||||
|
391 git status |
||||||
|
392 git push |
||||||
|
393 git pull |
||||||
|
394 git status |
||||||
|
395 git pull |
||||||
|
396 git status |
||||||
|
397 git push |
||||||
|
398 cd ../ |
||||||
|
399 mkdir tmp |
||||||
|
400 cd tmp |
||||||
|
401 git clone https://superx-rocks.de/git/UDE/BI-Konfiguration.git |
||||||
|
402 git status |
||||||
|
403 cd BI-Konfiguration/ |
||||||
|
404 git status |
||||||
|
405 cd masken/ |
||||||
|
406 ls |
||||||
|
407 cd .. |
||||||
|
408 git status |
||||||
|
409 git add -A -v |
||||||
|
410 git commit -m "UDE Masken" |
||||||
|
411 git push |
||||||
|
412 ssh journey |
||||||
|
413 vi li.log |
||||||
|
414 ssh journey |
||||||
|
415 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
416 tunnel_journey_pg.x |
||||||
|
417 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
418 cd git |
||||||
|
419 cd BI |
||||||
|
420 cd BI-Konfiguration |
||||||
|
421 git status |
||||||
|
422 git add -A |
||||||
|
423 git commit 'Spalte weg aus Ergebnis herausgenommen (nur Kontrolle), Erläuterungen ergänzt' |
||||||
|
424 git commit -m "Spalte weg aus Ergebnis herausgenommen (nur Kontrolle), Erläuterungen ergänzt" |
||||||
|
425 git push |
||||||
|
426 git status |
||||||
|
427 git add -A |
||||||
|
428 git commit -m "Dateien von der UDE erhalten, Stand 13.4.2023" |
||||||
|
429 git push |
||||||
|
430 git status |
||||||
|
431 cd |
||||||
|
432 cd git |
||||||
|
433 cd xcube |
||||||
|
434 git status |
||||||
|
435 history|grep ssh |
||||||
|
436 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
437 tunnel_journey_pg.x |
||||||
|
438 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
439 cd git/xcube |
||||||
|
440 git status |
||||||
|
441 git add src-modules/module/xcube/masken/21000_maskeninfo.unl |
||||||
|
442 git commit -m "Umbenennung Maske" |
||||||
|
443 git add src-modules/module/xcube/schluesseltabellen/sichten_fuellen.sql |
||||||
|
444 git commit -m "Sicht für Note" |
||||||
|
445 git add src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql |
||||||
|
446 git commit -m "Sicht für Note" |
||||||
|
447 git add src-modules/module/xcube/schluesseltabellen/xcube_install.sql |
||||||
|
448 git commit -m "weitere Dimensionen für Prüfungswürfel" |
||||||
|
449 git add src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql |
||||||
|
450 git commit -m "weitere Parameter für Prüfungswürfel" |
||||||
|
451 git status |
||||||
|
452 git add -A |
||||||
|
453 git commit -m "Änderungen an Abfrage Prüfungswürfel" |
||||||
|
454 git status |
||||||
|
455 git push |
||||||
|
456 tunnel_journey_pg.x |
||||||
|
457 ll |
||||||
|
458 cd git/BI-Konfiguration |
||||||
|
459 git status |
||||||
|
460 git add masken/MW_Masken/15650_maskeninfo.unl |
||||||
|
461 git commit -m "Änderung Definition aktiv/inaktiv" |
||||||
|
462 git status |
||||||
|
463 git push |
||||||
|
464 git fetch |
||||||
|
465 git push |
||||||
|
466 cd |
||||||
|
467 cd git/xcube |
||||||
|
468 git status |
||||||
|
469 git add src-modules/module/xcube/masken/21100_felderinfo.unl |
||||||
|
470 git commit -m "Parameter Prüfungsstatus eingefügt" |
||||||
|
471 git add src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql |
||||||
|
472 git commit -m "Einschränkungen für Parameter Prüfungsstatus eingefügt" |
||||||
|
473 git add -A |
||||||
|
474 git commit -m "weitere Dimensionen analog Studierende, Dimension Stud.Dauer-RSZ eingefügt" |
||||||
|
475 git status |
||||||
|
476 git push |
||||||
|
477 ssh journey |
||||||
|
478 git add -A |
||||||
|
479 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
480 cd git |
||||||
|
481 ll |
||||||
|
482 mkdir BI-Konfiguration |
||||||
|
483 ll |
||||||
|
484 cd BI-Konfiguration |
||||||
|
485 https://superx-rocks.de/git/UDE/BI-Konfiguration.git |
||||||
|
486 git clone https://superx-rocks.de/git/UDE/BI-Konfiguration.git |
||||||
|
487 ll |
||||||
|
488 git status |
||||||
|
489 cd .. |
||||||
|
490 git status |
||||||
|
491 ll |
||||||
|
492 cd BI-Konfiguration |
||||||
|
493 git status |
||||||
|
494 cd .. |
||||||
|
495 git clone https://superx-rocks.de/git/UDE/BI-Konfiguration.git |
||||||
|
496 ll |
||||||
|
497 cd BI-Konfiguration |
||||||
|
498 git status |
||||||
|
499 git add masken/MW_Masken/15650_maskeninfo.unl |
||||||
|
500 git commit -m "Logik für aktiv/inaktiv geändert" |
||||||
|
501 git push |
||||||
|
502 git status |
||||||
|
503 git add masken/MW_Masken/15650_maskeninfo.unl |
||||||
|
504 git commit -m "Logik für aktiv geändert, es wurden zuviele Prüfungen gefunden" |
||||||
|
505 git commit -m "Logik für aktiv geändert, es wurden zuviele Prüfungen gefunden"ti |
||||||
|
506 git push |
||||||
|
507 git status |
||||||
|
508 cd .. |
||||||
|
509 ll |
||||||
|
510 cd xcube |
||||||
|
511 git status |
||||||
|
512 git add src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql |
||||||
|
513 git commit -m "Einschränkung für Prüfungen auf pnr=1 raus, Überprüfung auf tid_stg in lehr_stg_ab rein" |
||||||
|
514 git push |
||||||
|
515 tunnel_journey_pg.x |
||||||
|
516 history|grep ssh |
||||||
|
517 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
518 ssh journey |
||||||
|
519 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
520 cd git |
||||||
|
521 cd xcube |
||||||
|
522 git status |
||||||
|
523 git pull |
||||||
|
524 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
525 ssh journey |
||||||
|
526 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 davy |
||||||
|
527 ssh davy |
||||||
|
528 ping 192.168.0.1 |
||||||
|
529 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
530 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 davy |
||||||
|
531 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 davy |
||||||
|
532 ping davy |
||||||
|
533 cat /etc/hosts |
||||||
|
534 ssh davy |
||||||
|
535 ping davy |
||||||
|
536 ping www.heise.de |
||||||
|
537 ssh -v davy |
||||||
|
538 ssh -v journey |
||||||
|
539 ssh -v davy |
||||||
|
540 ll *.x |
||||||
|
541 ll tunnel* |
||||||
|
542 pwd |
||||||
|
543 ll |
||||||
|
544 find -name tunnel\* -print |
||||||
|
545 tunnel_davy_pg.x |
||||||
|
546 vi bin/tunnel_davy_pg.x |
||||||
|
547 vi bin/tunnel_journey_pg.x |
||||||
|
548 vi bin/tunnel_davy_pg.x |
||||||
|
549 tunnel_davy_pg.x |
||||||
|
550 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 davy |
||||||
|
551 pwd |
||||||
|
552 cd git/xcube |
||||||
|
553 git status |
||||||
|
554 git add src-modules/module/xcube/masken/21100_felderinfo.unl |
||||||
|
555 git commit -m "Feld bis Fachsemester sichtbar gemacht, da Dimension" |
||||||
|
556 git add -A |
||||||
|
557 git commit -m "Dimensionen Prüfungsstatus, Fachsemester eingebaut" |
||||||
|
558 git status |
||||||
|
559 git push |
||||||
|
560 vi bin/tunnel_davy_pg.x |
||||||
|
561 tunnel_davy_pg.x |
||||||
|
562 cd git |
||||||
|
563 cd xcube |
||||||
|
564 git pull |
||||||
|
565 cd src-modules/module/xcube/schluesseltabellen/ |
||||||
|
566 ll -t |
||||||
|
567 DOSQL xcube_install.sql |
||||||
|
568 . /home/superx/SQL_ENV_UDE |
||||||
|
569 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 davy |
||||||
|
570 tunnel_davy_pg.x |
||||||
|
571 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
572 ll tunnel* |
||||||
|
573 ll bin/tunnel* |
||||||
|
574 tunnel_journey_pg.x |
||||||
|
575 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
576 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
577 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 davy |
||||||
|
578 tunnel_journey_pg.x |
||||||
|
579 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
580 tunnel_davy_pg.x |
||||||
|
581 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 davy |
||||||
|
582 cd /home/superx/git/BI-Konfiguration/masken/MW_Masken |
||||||
|
583 fgrep 'pnr=1' *maskeninfo.unl |
||||||
|
584 vi 10490_maskeninfo.unl |
||||||
|
585 vi 11930_maskeninfo.unl |
||||||
|
586 vi 15360_maskeninfo.unl |
||||||
|
587 vi 11930_maskeninfo.unl |
||||||
|
588 fgrep 'pnr = 1' *maskeninfo.unl |
||||||
|
589 fgrep sos_lab_stg *maskeninfo.unl|more |
||||||
|
590 vi 10620_maskeninfo.unl |
||||||
|
591 vi 11560_maskeninfo.unl |
||||||
|
592 vi 11850_maskeninfo.unl |
||||||
|
593 tunnel_journey_pg.x |
||||||
|
594 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 journey |
||||||
|
595 cd /home/superx/git/BI-Konfiguration/masken/MW_Masken |
||||||
|
596 vi 12320_maskeninfo.unl |
||||||
|
597 vi 12650_maskeninfo.unl |
||||||
|
598 vi 13230_maskeninfo.unl |
||||||
|
599 vi 13250_maskeninfo.unl |
||||||
|
600 vi 13500_maskeninfo.unl |
||||||
|
601 vi 13580_maskeninfo.unl |
||||||
|
602 vi 13600_maskeninfo.unl |
||||||
|
603 vi 15100_maskeninfo.unl |
||||||
|
604 vi 15110_maskeninfo.unl |
||||||
|
605 vi 15180_maskeninfo.unl |
||||||
|
606 vi 15360_maskeninfo.unl |
||||||
|
607 vi 15400_maskeninfo.unl |
||||||
|
608 vi 15650_maskeninfo.unl |
||||||
|
609 tunnel_davy_pg.x |
||||||
|
610 tunnel_journey_pg.x |
||||||
|
611 tunnel_davy_pg.x |
||||||
|
612 cd git |
||||||
|
613 cd xcube |
||||||
|
614 git pull |
||||||
|
615 cd git |
||||||
|
616 cd BI-Konfiguration |
||||||
|
617 cd masken/MW_Masken/ |
||||||
|
618 git pull |
||||||
|
619 git status |
||||||
|
620 git add 15650_maskeninfo.unl |
||||||
|
621 git commit -m "Änderung wegen Null bei anz_aktiv_sem, auch leere Semester anzeigen" |
||||||
|
622 git push |
||||||
|
623 /ssh |
||||||
|
624 history|grep ssh |
||||||
|
625 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 davy |
||||||
|
626 tunnel_davy_pg.x |
||||||
|
627 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 davy |
||||||
|
628 cd git |
||||||
|
629 cd xcube |
||||||
|
630 git status |
||||||
|
631 git pull |
||||||
|
632 cd src-modules/module/xcube/masken/ |
||||||
|
633 ll 21000* |
||||||
|
634 tunnel_davy_pg.x |
||||||
|
635 cd git |
||||||
|
636 cd xcube |
||||||
|
637 git pull |
||||||
|
638 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 davy |
||||||
|
639 git status |
||||||
|
640 git add src-modules/module/xcube/masken/21100_felderinfo.unl |
||||||
|
641 git commit -m "Parameter Fächer hinzugefügt" |
||||||
|
642 git add src-modules/module/xcube/masken/21100_maskeninfo.unl |
||||||
|
643 git commit -m "Änderungen von MB?" |
||||||
|
644 git status |
||||||
|
645 git add -A |
||||||
|
646 git commit -m "Änderungen für Parameter Fächer" |
||||||
|
647 git status |
||||||
|
648 git push |
||||||
|
649 git status |
||||||
|
650 cd git |
||||||
|
651 cd BI-Konfiguration |
||||||
|
652 git status |
||||||
|
653 cd .. |
||||||
|
654 ll |
||||||
|
655 git clone https://superx-rocks.de/git/UDE/BI-Konfiguration.git |
||||||
|
656 ll |
||||||
|
657 git clone https://superx-rocks.de/git/UDE/BI-Konfiguration.git |
||||||
|
658 vi li |
||||||
|
659 rm li |
||||||
|
660 cd BI-Konfiguration |
||||||
|
661 git status |
||||||
|
662 git add -A |
||||||
|
663 git commit -m "Dokumentation der UDE-Sichten" |
||||||
|
664 git status |
||||||
|
665 git push |
||||||
|
666 tunnel_davy_pg.x |
||||||
|
667 cd git/xcube |
||||||
|
668 git status |
||||||
|
669 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 v1 |
||||||
|
670 cd git |
||||||
|
671 cd xcube |
||||||
|
672 git status |
||||||
|
673 ssh v1 |
||||||
|
674 cd |
||||||
|
675 cd bin |
||||||
|
676 ls |
||||||
|
677 cp tunnel_davy_pg.x tunnel_v1_pg.x |
||||||
|
678 vi tunnel_v1_pg.x |
||||||
|
679 tunnel_v1_pg.x |
||||||
|
680 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 v1 |
||||||
|
681 ll |
||||||
|
682 tunnel_v1_pg.x |
||||||
|
683 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 v1 |
||||||
|
684 tunnel_davy_pg.x |
||||||
|
685 tunnel_v1_pg.x |
||||||
|
686 cd git |
||||||
|
687 ll |
||||||
|
688 cd BI-Konfiguration |
||||||
|
689 ll |
||||||
|
690 cd git |
||||||
|
691 cd .. |
||||||
|
692 git pull https://superx-rocks.de/git/UDE/BI-Konfiguration.git |
||||||
|
693 pwd |
||||||
|
694 git clone https://superx-rocks.de/git/UDE/BI-Konfiguration.git |
||||||
|
695 gitk /home/superx/git/BI-Konfiguration/webapps_superx/WEB-INF/conf/edustore/db/module/sos/sos_aggr_CUSTOM.sql_UDE.sql |
||||||
|
696 cd BI-Konfiguration |
||||||
|
697 gitk webapps_superx/WEB-INF/conf/edustore/db/module/sos/sos_aggr_CUSTOM.sql_UDE.sql |
||||||
|
698 cd |
||||||
|
699 ll |
||||||
|
700 cd bin |
||||||
|
701 tunnel_davy_pg.x |
||||||
|
702 history|grep ssh |
||||||
|
703 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 davy |
||||||
|
704 cd git |
||||||
|
705 cd BI-Konfiguration |
||||||
|
706 git status |
||||||
|
707 git add masken/MW_Masken/15650_maskeninfo.unl |
||||||
|
708 git commit -m "Änderung auf left join, weil Semester ohne Studenten herauskommen sollen" |
||||||
|
709 git push |
||||||
|
710 ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=1 v1 |
||||||
|
711 cd git |
||||||
|
712 cd xcube |
||||||
|
713 git status |
||||||
|
714 git add src-modules/module/xcube/schluesseltabellen/xcube_install.sql |
||||||
|
715 git commit -m "Definition Personalwürfel und erste Dimensionen" |
||||||
|
716 git add src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql |
||||||
|
717 git commit -m "erste Einschränkungen für Abfrage Personalwürfel" |
||||||
|
718 git status |
||||||
|
719 git add -A |
||||||
|
720 git commit -m "Definition Maske Personalwürfel" |
||||||
|
721 git status |
||||||
|
722 git push |
||||||
|
723 git pull |
||||||
|
724 tunnel_v1_pg.x |
||||||
|
725 tunnel_davy_pg.x |
||||||
|
726 cd git/xcube |
||||||
|
727 git status |
||||||
|
728 history |
||||||
|
729 history>li |
@ -0,0 +1,27 @@ |
|||||||
|
21200^Beschäftigungsstelle (Person)^0^0^0^150^150^1^char^30^0^12^<<SQL>>select tid,type,name,sortnr from sichten where art in ('SVA-Kostenstellen-Sicht','SVA-spez-Besch./Kostenstellen-Sicht') and aktiv=1 order by sortnr,type,name;^^^ |
||||||
|
21201^Datum^1^300^-1^100^80^1^date^10^0^0^^^<<SQL>> select today() from xdummy^ |
||||||
|
21202^Kostenstelle (Person)^3^0^0^100^150^3^char^30^0^12^<<SQL>> select tid,type,name,sortnr from sichten where art in ('SVA-Kostenstellen-Sicht','SVA-spez-Kostenstellen-Sicht','SVA-Kst-spezial') and aktiv=1 order by sortnr,type,name;^^^ |
||||||
|
21203^Dienstart^4^0^0^100^150^3^char^30^0^12^<<SQL>>select tid,type,name from sichten where art ='SVA Dienstart' and aktiv=1 order by type,name;^^^ |
||||||
|
21204^BVL-Gruppe^5^300^-1^100^150^3^char^30^0^12^<<SQL>>select tid,type,name from sichten where art ='SVA BVL-Gruppen' and aktiv=1 order by type,name;^^^ |
||||||
|
21205^Amtsbezeichnung^6^0^0^100^150^3^char^30^0^12^<<SQL>>select tid,type,name from sichten where art ='SVA Amtsdienstbez.' and aktiv=1 order by type,name;^^^ |
||||||
|
21206^Personalzählung^121^0^0^110^150^1^sql^20^1^1^<<SQL>> SELECT 'v','Vollzeit-Äquiv.' from xdummy union select 'k','Köpfe' from xdummy ;^^<<SQL>> select 'v','Vollzeit-Äquiv.' from xdummy;^ |
||||||
|
21207^Alter (bis)^11^130^-1^100^70^1^integer^5^0^0^^^^ |
||||||
|
21208^Befristet bis^12^300^-1^100^80^1^date^10^0^0^^^^ |
||||||
|
21209^Beurlaubung^3^300^-1^100^150^3^char^30^0^12^<<SQL>>select tid,type,name from sichten where art ='SVA-Beurlaubung-Sicht' and aktiv=1 order by type,name;^^^ |
||||||
|
21210^Vertragsart^7^300^-1^100^160^3^char^30^0^12^<<SQL>>select tid,type,name from sichten where art ='SVA-Vertragsart-Sicht' and aktiv=1 order by type,name;^^^ |
||||||
|
21211^Filter Personal^110^0^0^100^150^1^sql^20^0^1^<<SQL>> SELECT content,caption from sx_repository where aktiv =1 and today() between gueltig_seit and gueltig_bis and art='SVA_PERS_FILTER' order by 2;^^^ |
||||||
|
21212^Staatsangehörigkeit^120^0^0^100^120^1^sql^30^0^1^<<SQL>> select '!=0','Alle ohne Deutschland' from xdummy union select '=' || astat, trim(druck) || ' (' || trim(apnr) || ')' from sva_k_staat order by 2;^^^ |
||||||
|
21213^Geschlecht^100^300^-1^100^70^1^integer^4^0^1^<<SQL>> select tid, beschreibung from konstanten where tid in (1,2);^^^ |
||||||
|
21214^Geldgeber^115^300^-1^100^120^3^char^20^0^12^<<SQL>>select tid,type,name from sichten where art ='Geldgeber-Sicht (SVA)' and aktiv=1 order by sortnr,type,name;^^^ |
||||||
|
21220^oder Stichtag^2^0^0^100^150^1^integer^20^0^1^<<SQL>> SELECT tid,date_str(stichtag),stichtag from sva_stichtag where bereich='p' order by 3 desc;^^^ |
||||||
|
21221^Beschv.-Nr.^102^0^0^100^70^1^char^100^0^0^^^^ |
||||||
|
21222^Pers.-Nr.^101^0^0^100^70^1^char^100^0^999^^^^ |
||||||
|
21223^Ansicht in Ergebniszeilen^121^0^0^100^200^1^char^200^1^1^<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_rowdim=1 order by 2^^<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_rowdefault=1^ |
||||||
|
21224^Ansicht in Ergebnisspalten^2001^0^0^100^150^1^char^200^1^1^<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_coldim=1 order by 2^^<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_coldefault=1^ |
||||||
|
21225^Leere Zeilen ausblenden^130^350^-1^140^80^1^char^30^0^1^<<SQL>> select 'ja','ja' from xdummy union select 'nein','nein' from xdummy^ ^<<SQL>> select 'ja','ja' from xdummy^ |
||||||
|
21226^Zeilenfilter bis Ebene^140^0^0^140^80^1^integer^30^0^0^ ^^^ |
||||||
|
21227^Leere Spalten ausblenden^2020^0^0^100^100^1^char^30^0^1^<<SQL>> select 'ja','ja' from xdummy union select 'nein','nein' from xdummy^^<<SQL>> select 'ja','ja' from xdummy^ |
||||||
|
21228^Spaltenvisualisierung^10000^0^0^140^80^1^char^30^0^1^<<SQL>> select '_graph','Balken (horiz. linksb.)' from xdummy\ |
||||||
|
union select '_graphbarright','Balken (horiz. rechtsb.)' from xdummy\ |
||||||
|
union select '_graphbaralternating','Balken (horiz. rechtsb./linksb.)' from xdummy^^^ |
||||||
|
21229^Kennzahl^3000^350^-1^150^180^1^integer^200^1^1^<<SQL>> select tid,name from xcube_kennzahl where maskeninfo_id=${Maskennummer} order by sortnr,name;^hidden^<<SQL>> select tid,name from xcube_kennzahl where maskeninfo_id=${Maskennummer} and is_default=1^ |
@ -0,0 +1 @@ |
|||||||
|
21200^6^ |
@ -0,0 +1,30 @@ |
|||||||
|
21200^21200^ |
||||||
|
21200^21201^ |
||||||
|
21200^21202^ |
||||||
|
21200^21203^ |
||||||
|
21200^21204^ |
||||||
|
21200^21205^ |
||||||
|
21200^21206^ |
||||||
|
21200^21207^ |
||||||
|
21200^21208^ |
||||||
|
21200^21209^ |
||||||
|
21200^21210^ |
||||||
|
21200^21211^ |
||||||
|
21200^21212^ |
||||||
|
21200^21213^ |
||||||
|
21200^21214^ |
||||||
|
21200^21215^ |
||||||
|
21200^21216^ |
||||||
|
21200^21217^ |
||||||
|
21200^21218^ |
||||||
|
21200^21219^ |
||||||
|
21200^21220^ |
||||||
|
21200^21221^ |
||||||
|
21200^21222^ |
||||||
|
21200^21223^ |
||||||
|
21200^21224^ |
||||||
|
21200^21225^ |
||||||
|
21200^21226^ |
||||||
|
21200^21227^ |
||||||
|
21200^21228^ |
||||||
|
21200^21229^ |
@ -0,0 +1,430 @@ |
|||||||
|
21200^Personal XCUBE^--freemarker template\ |
||||||
|
-- Maskenfelder -Leere Zeilen ausblenden, leere SPalten ausblenden?\ |
||||||
|
<sqlvars>\ |
||||||
|
<sqlvar name="table_name">select table_name from xcube where maskeninfo_id=${Maskennummer}</sqlvar>\ |
||||||
|
<sqlvar name="aggrfunction">select aggrfunction from xcube_kennzahl where maskeninfo_id=${Maskennummer} and tid=<<Kennzahl>></sqlvar>\ |
||||||
|
<sqlvar name="aggrfunction_restriction">select nvl(restriction,''::char(1)) from xcube_kennzahl \ |
||||||
|
where maskeninfo_id=${Maskennummer} and tid=<<Kennzahl>>\ |
||||||
|
</sqlvar>\ |
||||||
|
<sqlvar name="datatype">select nvl(datatype,'decimal(17,2)'::varchar(30)) from xcube_kennzahl \ |
||||||
|
where maskeninfo_id=${Maskennummer} and tid=<<Kennzahl>></sqlvar>\ |
||||||
|
--benoetigt falls Kennzahlen in Zeilen oder Spalten\ |
||||||
|
<sqlvar name="kennzahlen" type="hashsequence">select apnr,aggrfunction,\ |
||||||
|
nvl(restriction,''::char(1)) as restriction \ |
||||||
|
from xcube_kennzahl where maskeninfo_id=${Maskennummer}</sqlvar>\ |
||||||
|
<sqlvar name="restriction" type="string"><![CDATA[<sximport>select restriction from xcube where maskeninfo_id=<<Maskennummer>></sximport>]]></sqlvar>\ |
||||||
|
<sqlvar name="coldef" type="hash"><![CDATA[select name,\ |
||||||
|
caption,\ |
||||||
|
foreignkey_tab,\ |
||||||
|
foreignkey_col,\ |
||||||
|
foreignkey_cap,\ |
||||||
|
nvl(foreignkey_cond,''::varchar(1))\ |
||||||
|
as foreignkey_cond,\ |
||||||
|
--nvl(C.specific_restriction,''::varchar(1)) as specific_restriction,\ |
||||||
|
sortfield,\ |
||||||
|
is_sicht,\ |
||||||
|
calc_gesamt,\ |
||||||
|
is_virtual,\ |
||||||
|
vcsql,\ |
||||||
|
nvl(attrib_nachbearbeitung,''::char(1)) as attrib_nachbearbeitung\ |
||||||
|
from xcube_dimconfig where \ |
||||||
|
maskeninfo_id=${Maskennummer} \ |
||||||
|
and name=<<Ansicht in Ergebnisspalten>>]]>\ |
||||||
|
</sqlvar>\ |
||||||
|
<sqlvar name="nichtsicht_ergspalten" type='hashsequence'><![CDATA[\ |
||||||
|
<#if coldef.is_sicht=0>\ |
||||||
|
select distinct ${coldef.foreignkey_col}::varchar(255) as apnr,\ |
||||||
|
${coldef.foreignkey_cap} as name,\ |
||||||
|
1::smallint as detailgesamtsort,\ |
||||||
|
${coldef.sortfield} as tmp_sortfield\ |
||||||
|
from ${coldef.foreignkey_tab} where \ |
||||||
|
1=1 \ |
||||||
|
<#if coldef.foreignkey_cond!=''> and ${coldef.foreignkey_cond} </#if>\ |
||||||
|
--{coldef.specific_restriction} \ |
||||||
|
--ausblenden von Spalten, die gar nicht in konkretem Teilergebnis vorkommen, geht derzeit nicht für virtuelle Spalten und nachbearbeitung, -> Kernmodul\ |
||||||
|
<#if coldef.is_virtual?number=0&&coldef.attrib_nachbearbeitung=''&&"<<Leere Spalten ausblenden>>"="'ja'">\ |
||||||
|
and ${coldef.foreignkey_col}::varchar(255) in (select distinct ${coldef.name}::varchar(255) from ${table_name} where \ |
||||||
|
${restriction} \ |
||||||
|
)\ |
||||||
|
</#if>\ |
||||||
|
<#if coldef.calc_gesamt?number=1> \ |
||||||
|
union\ |
||||||
|
select 'gesamt','Gesamt',\ |
||||||
|
2::smallint as detailgesamtsort,\ |
||||||
|
null as tmp_sortfield from xdummy\ |
||||||
|
</#if>\ |
||||||
|
order by detailgesamtsort,\ |
||||||
|
tmp_sortfield,\ |
||||||
|
name;\ |
||||||
|
<#else>\ |
||||||
|
select 'Sichtspalten aktiv' from xdummy;\ |
||||||
|
</#if>\ |
||||||
|
]]>\ |
||||||
|
</sqlvar>\ |
||||||
|
\ |
||||||
|
\ |
||||||
|
\ |
||||||
|
<sqlvar name="rowdef" type="hash"><![CDATA[select name,caption,is_sicht,calc_gesamt,foreignkey_tab,foreignkey_col,foreignkey_cap,\ |
||||||
|
nvl(foreignkey_cond,''::varchar(1)) as foreignkey_cond,\ |
||||||
|
--nvl(C.specific_restriction,''::varchar(1)) as specific_restriction,\ |
||||||
|
sortfield,is_virtual,vcsql,nvl(attrib_nachbearbeitung,''::char(1)) as attrib_nachbearbeitung\ |
||||||
|
from xcube_dimconfig C where maskeninfo_id=${Maskennummer} and name=<<Ansicht in Ergebniszeilen>>]]>\ |
||||||
|
</sqlvar>\ |
||||||
|
--nur bei wenn Ergzeilen_def nicht vom Typ Sicht relevant\ |
||||||
|
<sqlvar name="nichtsicht_ergzeilen" type='hashsequence'><![CDATA[\ |
||||||
|
<#if rowdef.is_sicht=0>\ |
||||||
|
select 1::smallint as level, \ |
||||||
|
${rowdef.foreignkey_col}::varchar(255) as key,--hier wird zur Vereinheitlichung mit Sichten Bezeichung "key" für eigentlichen Schluessel benoetigt\ |
||||||
|
${rowdef.foreignkey_cap} as name,\ |
||||||
|
${rowdef.sortfield} as tmp_sortfield \ |
||||||
|
from ${rowdef.foreignkey_tab}\ |
||||||
|
where 1=1\ |
||||||
|
<#if rowdef.foreignkey_cond!=''> and ${rowdef.foreignkey_cond} </#if>\ |
||||||
|
--{rowdef.specific_restriction} \ |
||||||
|
<#if rowdef.calc_gesamt?number=1>\ |
||||||
|
union\ |
||||||
|
select 2,'gesamt','Gesamt',null as ${rowdef.sortfield} from xdummy\ |
||||||
|
</#if>\ |
||||||
|
order by level,tmp_sortfield; \ |
||||||
|
<#else>\ |
||||||
|
select 'nicht relevant' from xdummy;</#if>\ |
||||||
|
]]>\ |
||||||
|
</sqlvar>\ |
||||||
|
\ |
||||||
|
<sqlvar name="zweiteRowDef" type="hash"><![CDATA[\ |
||||||
|
<#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">\ |
||||||
|
select name,caption,\ |
||||||
|
is_sicht,\ |
||||||
|
calc_gesamt,\ |
||||||
|
foreignkey_tab,\ |
||||||
|
foreignkey_col,\ |
||||||
|
foreignkey_cap,\ |
||||||
|
nvl(foreignkey_cond,''::varchar(1)) as foreignkey_cond,\ |
||||||
|
--nvl(C.specific_restriction,''::varchar(1)) as specific_restriction,\ |
||||||
|
C.sortfield\ |
||||||
|
from xcube_dimconfig where maskeninfo_id=${Maskennummer} and name=<<2.Ansicht in Zeilen>>\ |
||||||
|
<#else>\ |
||||||
|
select 'keine zweite RowDef' from xdummy;\ |
||||||
|
</#if>\ |
||||||
|
]]>\ |
||||||
|
</sqlvar>\ |
||||||
|
--nur bei wenn Ergzeilen_def nicht vom Typ Sicht relevant\ |
||||||
|
<sqlvar name="zweiteRow_nichtsicht_ergzeilen" type='hashsequence'><![CDATA[\ |
||||||
|
<#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>"&&zweiteRowDef.is_sicht=0>\ |
||||||
|
select 1::smallint as level, \ |
||||||
|
${zweiteRowDef.foreignkey_col}::varchar(255) as key,--hier wird zur Vereinheitlichung mit Sichten Bezeichung "key" für eigentlichen Schluessel benoetigt\ |
||||||
|
${zweiteRowDef.foreignkey_cap} as name,\ |
||||||
|
${zweiteRowDef.sortfield} as tmp_sortfield \ |
||||||
|
from ${zweiteRowDef.foreignkey_tab}\ |
||||||
|
where 1=1\ |
||||||
|
<#if zweiteRowDef.foreignkey_cond!=''> and ${zweiteRowDef.foreignkey_cond} </#if>\ |
||||||
|
--{zweiteRowDef.specific_restriction} \ |
||||||
|
<#if zweiteRowDef.calc_gesamt?number=1>\ |
||||||
|
union\ |
||||||
|
select 2,'gesamt','Gesamt',null as ${zweiteRowDef.sortfield} from xdummy\ |
||||||
|
</#if>\ |
||||||
|
order by level,tmp_sortfield; \ |
||||||
|
<#else>\ |
||||||
|
select 'nicht relevant' from xdummy;</#if>\ |
||||||
|
]]>\ |
||||||
|
</sqlvar>\ |
||||||
|
\ |
||||||
|
\ |
||||||
|
</sqlvars>\ |
||||||
|
\ |
||||||
|
<#function kennzahlInRowOrCol>\ |
||||||
|
--TODO auch 2. Dimension in Zeilen/Spalten\ |
||||||
|
<#if coldef.name="xckennzahl"||rowdef.name="xckennzahl"> <#return 1><#else> return <#return 0> </#if>\ |
||||||
|
</#function>\ |
||||||
|
\ |
||||||
|
<#function hasVirtualColumns>\ |
||||||
|
--TODO auch 2. Dimension in Zeilen/Spalten\ |
||||||
|
<#if coldef.is_virtual?number=1||rowdef.is_virtual?number=1> <#return 1><#else> return <#return 0> </#if>\ |
||||||
|
</#function>\ |
||||||
|
<#assign graph_col= "col" />\ |
||||||
|
/* <#assign graph_col=<<Spaltenvisualisierung>> /> */\ |
||||||
|
\ |
||||||
|
create temp table tmp_cellmax (maxvalue ${datatype} );\ |
||||||
|
insert into tmp_cellmax values(0);\ |
||||||
|
\ |
||||||
|
\ |
||||||
|
<#if hasVirtualColumns()=1||kennzahlInRowOrCol()=1>\ |
||||||
|
select * into temp tmp_rohdaten from \ |
||||||
|
${table_name}\ |
||||||
|
where \ |
||||||
|
${restriction};\ |
||||||
|
<#if coldef.is_virtual?number=1> alter table tmp_rohdaten add column ${coldef.name} varchar(255); ${coldef.vcsql}; </#if>\ |
||||||
|
<#if rowdef.is_virtual?number=1> alter table tmp_rohdaten add column ${rowdef.name} varchar(255); ${rowdef.vcsql}; </#if>\ |
||||||
|
--create index ix_tmp_r1 on tmp_rohdaten(${coldef.name},${rowdef.name}); --Todo nicht xckennzahl ggfs. für 2. Dimension in Spalten\ |
||||||
|
</#if>\ |
||||||
|
\ |
||||||
|
\ |
||||||
|
<#if kennzahlInRowOrCol()=0>\ |
||||||
|
create temp table tmp_cache (\ |
||||||
|
colattrib varchar(255), <@addcomment comment=coldef.caption/>\ |
||||||
|
rowattrib varchar(255), <@addcomment comment=rowdef.caption/>\ |
||||||
|
row2attrib varchar(255),\ |
||||||
|
value decimal(17,5));\ |
||||||
|
insert into tmp_cache (colattrib,rowattrib,<#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">row2attrib, </#if> value)\ |
||||||
|
select ${coldef.name}::varchar(255), \ |
||||||
|
${rowdef.name}::varchar(255),\ |
||||||
|
<#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">${zweiteRowDef.name}::varchar(255),</#if>\ |
||||||
|
${aggrfunction}\ |
||||||
|
\ |
||||||
|
<#if hasVirtualColumns()=0> \ |
||||||
|
from ${table_name} where \ |
||||||
|
${restriction}\ |
||||||
|
<#if (aggrfunction_restriction?length>0)> and ${aggrfunction_restriction} </#if>\ |
||||||
|
<#else>\ |
||||||
|
from tmp_rohdaten\ |
||||||
|
</#if>\ |
||||||
|
\ |
||||||
|
group by 1,2 <#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">,${zweiteRowDef.name}</#if> ;\ |
||||||
|
create index ix_tmp_roh1 on tmp_cache (colattrib,rowattrib,row2attrib);\ |
||||||
|
</#if>\ |
||||||
|
\ |
||||||
|
--moegliche attrib_nachbearbeitung\ |
||||||
|
<#if kennzahlInRowOrCol()=0> \ |
||||||
|
<#assign tmp_table="tmp_cache"/> <#assign rowfield="rowattrib"/> <#assign colfield="colattrib"/> \ |
||||||
|
<#else>\ |
||||||
|
<#assign tmp_table="tmp_rohdaten"/> <#assign rowfield=rowdef.name/> <#assign colfield=coldef.name/> \ |
||||||
|
</#if>\ |
||||||
|
\ |
||||||
|
<#if (rowdef.attrib_nachbearbeitung?length>1)>\ |
||||||
|
${rowdef.attrib_nachbearbeitung?replace("<<tmp_table>>",tmp_table)?replace("<<col>>",rowfield)};\ |
||||||
|
-- z.B. update tmp_cache R set rowattrib='s_'||rowattrib;\ |
||||||
|
</#if>\ |
||||||
|
<#if (coldef.attrib_nachbearbeitung?length>1)>\ |
||||||
|
${coldef.attrib_nachbearbeitung?replace("<<tmp_table>>",tmp_table)?replace("<<col>>",colfield)};\ |
||||||
|
-- z.B. update tmp_cache R set rowattrib='s_'||rowattrib;\ |
||||||
|
</#if>\ |
||||||
|
\ |
||||||
|
\ |
||||||
|
\ |
||||||
|
\ |
||||||
|
<#if coldef.is_sicht>0>\ |
||||||
|
<#assign ergspalten=.vars[coldef.caption].elements/>\ |
||||||
|
<#else>\ |
||||||
|
<#assign ergspalten=nichtsicht_ergspalten/>\ |
||||||
|
</#if>\ |
||||||
|
create temp table tmp_erg (\ |
||||||
|
ebene integer,\ |
||||||
|
col1 varchar(255),\ |
||||||
|
name varchar(255),\ |
||||||
|
<#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">col2 varchar(255),</#if>\ |
||||||
|
<#assign i=0/>\ |
||||||
|
<#foreach spalte in ergspalten>\ |
||||||
|
<#assign i=i+1/>\ |
||||||
|
c${i} decimal(17,5) default 0, <@addcomment comment=spalte.name/>\ |
||||||
|
\ |
||||||
|
</#foreach>\ |
||||||
|
sortnr integer\ |
||||||
|
) <@informixnolog/>;\ |
||||||
|
\ |
||||||
|
create index ix_tmp_erg on tmp_erg (sortnr);\ |
||||||
|
\ |
||||||
|
<#if rowdef.is_sicht>0> \ |
||||||
|
<#assign zeilendef=.vars[rowdef.caption].elements/> --ermittelt des SichtObjekts anhand des Feldnames (aus felderinfo)\ |
||||||
|
<#else>\ |
||||||
|
<#assign zeilendef=nichtsicht_ergzeilen/>\ |
||||||
|
</#if>\ |
||||||
|
<#assign sortnr=0/>\ |
||||||
|
<#foreach zeile in zeilendef>\ |
||||||
|
<#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">\ |
||||||
|
<#foreach zeile2 in zweiteRow_nichtsicht_ergzeilen>\ |
||||||
|
<#assign sortnr=sortnr+1/>\ |
||||||
|
insert into tmp_erg (ebene,col1,name,col2,sortnr)\ |
||||||
|
values (${zeile.level},'${zeile.key}','${zeile.name}','${zeile2.name}',${sortnr});\ |
||||||
|
<#assign i=0/>\ |
||||||
|
<#foreach spalte in ergspalten>\ |
||||||
|
<#assign i=i+1/>\ |
||||||
|
<@updateval i=i col=spalte row=zeile row2=zeile2 sortnr=sortnr/>\ |
||||||
|
</#foreach>\ |
||||||
|
</#foreach>\ |
||||||
|
<#else>\ |
||||||
|
/* <#if zeile.level <= <<Zeilenfilter bis Ebene>> > */\ |
||||||
|
<#assign sortnr=sortnr+1/>\ |
||||||
|
insert into tmp_erg (ebene,col1,name,sortnr)\ |
||||||
|
values (${zeile.level},'${zeile.key}','${zeile.name}',${sortnr});\ |
||||||
|
<#assign i=0/>\ |
||||||
|
<#foreach spalte in ergspalten>\ |
||||||
|
<#assign i=i+1/>\ |
||||||
|
<@updateval i=i col=spalte row=zeile row2='' sortnr=sortnr/>\ |
||||||
|
</#foreach>\ |
||||||
|
/* </#if> --<<Zeilenfilter bis Ebene>> */\ |
||||||
|
</#if> \ |
||||||
|
</#foreach>\ |
||||||
|
\ |
||||||
|
<#macro updateval i col row row2 sortnr>\ |
||||||
|
update tmp_erg T set c${i}=\ |
||||||
|
<#if kennzahlInRowOrCol()=0>\ |
||||||
|
(select nvl(sum(value),0) from tmp_cache R where 1=1 \ |
||||||
|
<@colrestriction col=col/>\ |
||||||
|
<@rowrestriction row=row row2=row2/>\ |
||||||
|
) \ |
||||||
|
<#else> -- Kennzahl ist in Zeile oder Spalte\ |
||||||
|
(select <@kennzahlSelect row=row col=col/>\ |
||||||
|
from tmp_rohdaten R where 1=1 \ |
||||||
|
<#if rowdef.name="xckennzahl"> <@kennzahlrestrict row=row col=col/> <#else> <@rowrestriction row=row row2=row2 rowattribname=rowdef.name/></#if>\ |
||||||
|
<#if coldef.name="xckennzahl"> <@kennzahlrestrict row=row col=col/> <#else> <@colrestriction col=col colattribname=coldef.name/></#if>\ |
||||||
|
\ |
||||||
|
)\ |
||||||
|
</#if>\ |
||||||
|
where T.sortnr='${sortnr}'\ |
||||||
|
;\ |
||||||
|
</#macro>\ |
||||||
|
\ |
||||||
|
<#macro kennzahlrestrict row col>\ |
||||||
|
<#if coldef.name="xckennzahl">\ |
||||||
|
<#foreach k in kennzahlen>\ |
||||||
|
<#if (col.apnr=k.apnr&&k.restriction?length>0)> and ${k.restriction} </#if>\ |
||||||
|
</#foreach>\ |
||||||
|
</#if>\ |
||||||
|
<#if rowdef.name="xckennzahl">\ |
||||||
|
<#foreach k in kennzahlen>\ |
||||||
|
<#if (row.key=k.apnr&&k.restriction?length>0)> and ${k.restriction} </#if>\ |
||||||
|
</#foreach>\ |
||||||
|
</#if>\ |
||||||
|
</#macro>\ |
||||||
|
\ |
||||||
|
<#macro kennzahlSelect row col>\ |
||||||
|
<#if coldef.name="xckennzahl">\ |
||||||
|
<#foreach k in kennzahlen>\ |
||||||
|
<#if col.apnr=k.apnr> ${k.aggrfunction} </#if>\ |
||||||
|
</#foreach>\ |
||||||
|
</#if>\ |
||||||
|
<#if rowdef.name="xckennzahl">\ |
||||||
|
<#foreach k in kennzahlen>\ |
||||||
|
<#if row.key=k.apnr> ${k.aggrfunction} </#if>\ |
||||||
|
</#foreach>\ |
||||||
|
</#if>\ |
||||||
|
\ |
||||||
|
\ |
||||||
|
</#macro>\ |
||||||
|
\ |
||||||
|
\ |
||||||
|
\ |
||||||
|
<#macro colrestriction col colattribname='R.colattrib'>\ |
||||||
|
<#if coldef.is_sicht==1>\ |
||||||
|
and ${colattribname}::varchar(255) in ${col.subkeys}\ |
||||||
|
<#elseif coldef.is_sicht=2>\ |
||||||
|
and (${col.strukturStr?replace('$1',' '+colattribname+"::varchar(255)")}) \ |
||||||
|
<#else>\ |
||||||
|
<#if col.apnr!='gesamt'>\ |
||||||
|
and ${colattribname}::varchar(255)='${col.apnr}' \ |
||||||
|
</#if>\ |
||||||
|
</#if>\ |
||||||
|
</#macro>\ |
||||||
|
\ |
||||||
|
<#macro rowrestriction row row2 rowattribname='R.rowattrib' >\ |
||||||
|
<#if rowdef.is_sicht==1>\ |
||||||
|
and ${rowattribname}::varchar(255) in ${row.subkeys}\ |
||||||
|
<#elseif rowdef.is_sicht==2>\ |
||||||
|
and ( ${row.strukturStr?replace('$1',' '+rowattribname+"::varchar(255)")} ) \ |
||||||
|
<#else>\ |
||||||
|
<#if row.key!='gesamt'> and ${rowattribname}::varchar(255)='${row.key}' </#if>\ |
||||||
|
</#if>\ |
||||||
|
<#if row2?is_hash> and R.row2attrib='${row2.key}' </#if> \ |
||||||
|
</#macro>\ |
||||||
|
\ |
||||||
|
drop table if exists tmp_cache;\ |
||||||
|
\ |
||||||
|
drop table if exists tmp_rohdaten;\ |
||||||
|
\ |
||||||
|
-- Kennzahl in Spalten/Zeilen ggfs. null\ |
||||||
|
<#assign i=0/>\ |
||||||
|
<#foreach spalte in ergspalten>\ |
||||||
|
<#assign i=i+1/>\ |
||||||
|
update tmp_erg set c${i}=0 where c${i} is null; \ |
||||||
|
</#foreach>\ |
||||||
|
<#assign lastcol=i />\ |
||||||
|
\ |
||||||
|
--Wenn Grafikfunktion eingeschaltet ist, wird Maximalwert ermittelt:\ |
||||||
|
<#if i != 0 && graph_col != "col" >\ |
||||||
|
\ |
||||||
|
<#assign i=0/>\ |
||||||
|
<#foreach spalte in ergspalten>\ |
||||||
|
<#assign i=i+1/>\ |
||||||
|
<#if i == lastcol>\ |
||||||
|
update tmp_cellmax set maxvalue = (select max(c${i}) from tmp_erg) \ |
||||||
|
where tmp_cellmax.maxvalue < (select max(c${i}) from tmp_erg) ;\ |
||||||
|
</#if> \ |
||||||
|
</#foreach>\ |
||||||
|
\ |
||||||
|
</#if>\ |
||||||
|
\ |
||||||
|
<#if "<<Leere Zeilen ausblenden>>"="'ja'">\ |
||||||
|
delete from tmp_erg where 1=1\ |
||||||
|
<#assign i=0/>\ |
||||||
|
<#foreach spalte in ergspalten>\ |
||||||
|
<#assign i=i+1/>\ |
||||||
|
and c${i}=0\ |
||||||
|
</#foreach>;\ |
||||||
|
</#if>\ |
||||||
|
<#if "<<Ansicht in Ergebniszeilen>>"="'institution'">\ |
||||||
|
update tmp_erg set name=replace(name,col1||' - ','');\ |
||||||
|
update tmp_erg set col1=(select max(uniquename) from organigramm where col1=trim(key_apnr))\ |
||||||
|
where substring(col1 from 1 for 1)='_';\ |
||||||
|
--vorher war ggfs _3 zu O005030, auch O005030 in Namen ersetzen\ |
||||||
|
update tmp_erg set name=replace(name,col1||' - ','');\ |
||||||
|
</#if> \ |
||||||
|
\ |
||||||
|
\ |
||||||
|
\ |
||||||
|
\ |
||||||
|
select \ |
||||||
|
<#if rowdef.is_sicht>0>ebene,</#if>\ |
||||||
|
name\ |
||||||
|
<#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">,col2</#if>\ |
||||||
|
<#assign i=0/>\ |
||||||
|
<#assign i=0/>\ |
||||||
|
<#foreach spalte in ergspalten>\ |
||||||
|
<#assign i=i+1/>\ |
||||||
|
<#if i != lastcol && graph_col != "col" >\ |
||||||
|
<#if graph_col == "_graphbaralternating">\ |
||||||
|
--bei symmetr. Balken jeder 2. Balken rechtsbündig\ |
||||||
|
<#if i % 2 == 0>\ |
||||||
|
, '' || c${i}::${datatype} || '|' || tmp_cellmax.maxvalue as _graph${i}\ |
||||||
|
<#else>\ |
||||||
|
, '' || c${i}::${datatype} || '|' || tmp_cellmax.maxvalue as _graphbarright${i}\ |
||||||
|
</#if>\ |
||||||
|
<#else>\ |
||||||
|
, '' || c${i}::${datatype} || '|' || tmp_cellmax.maxvalue as ${graph_col}${i}\ |
||||||
|
</#if>\ |
||||||
|
\ |
||||||
|
<#else>\ |
||||||
|
, c${i}::${datatype} as col${i}\ |
||||||
|
</#if>\ |
||||||
|
\ |
||||||
|
</#foreach>\ |
||||||
|
from tmp_erg, tmp_cellmax order by sortnr;^--freemarker Template\ |
||||||
|
XIL List\ |
||||||
|
sizable_columns horizontal_scrolling\ |
||||||
|
drop_and_delete movable_columns\ |
||||||
|
white_space_color=COLOR_WHITE fixed_columns=1\ |
||||||
|
min_heading_height=35\ |
||||||
|
<#if rowdef.is_sicht>0>\ |
||||||
|
Column CID=0 heading_text="Ebene" center_heading\ |
||||||
|
row_selectable heading_platform readonly explanation="Hierarchieebene"\ |
||||||
|
width=5 text_size=8\ |
||||||
|
</#if>\ |
||||||
|
Column CID=20 heading_text="${.vars["Ansicht in ErgebniszeilenObject"].selectedItems[0].name}" center_heading\ |
||||||
|
row_selectable heading_platform readonly explanation="Schlüssel: ${.vars["Ansicht in ErgebniszeilenObject"].selectedItems[0].name}Nr"\ |
||||||
|
width=30 text_size=30\ |
||||||
|
<#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">\ |
||||||
|
Column CID=20 heading_text="${.vars["2.Ansicht in ZeilenObject"].selectedItems[0].name}" center_heading\ |
||||||
|
row_selectable heading_platform readonly\ |
||||||
|
width=20 text_size=10 explanation="${.vars["2.Ansicht in ZeilenObject"].selectedItems[0].name}"\ |
||||||
|
</#if>\ |
||||||
|
<#if coldef.is_sicht>0>\ |
||||||
|
<#assign ergspalten=.vars[coldef.caption].elements/>\ |
||||||
|
<#else>\ |
||||||
|
<#assign ergspalten=nichtsicht_ergspalten/>\ |
||||||
|
</#if>\ |
||||||
|
<#foreach spalte in ergspalten>\ |
||||||
|
Column CID=1 heading_text="${spalte.name}" center_heading\ |
||||||
|
row_selectable heading_platform readonly explanation="Ausprägung ${spalte.name}"\ |
||||||
|
width=12\ |
||||||
|
</#foreach>\ |
||||||
|
@@@^Altersgruppe^Anzahl^Dynamische Darstellung von Personalzahlen^drop table tmp_erg;\ |
||||||
|
drop table tmp_cellmax;^ ^3^700^360^0^1^ ^ |
Loading…
Reference in new issue