diff --git a/li b/li new file mode 100644 index 0000000..069e1a9 --- /dev/null +++ b/li @@ -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 diff --git a/src-modules/module/xcube/conf/xcube.xml b/src-modules/module/xcube/conf/xcube.xml index cecda59..df27f89 100644 --- a/src-modules/module/xcube/conf/xcube.xml +++ b/src-modules/module/xcube/conf/xcube.xml @@ -1,8 +1,8 @@ - + - +
Primärschlüssel nur nachrichtlicher Schlüssel für den Würfel @@ -13,7 +13,7 @@ (where-Bedingung) des Würfels
- +
Primärschlüssel tid der Würfelmaske @@ -26,7 +26,7 @@ Sortierung für das Auswahlfeld Kennzahl
- +
Primärschlüssel Nummer der Würfelmaske @@ -67,7 +67,7 @@
- +
ID für die Art der Dimension Einzelner Schlüssel @@ -160,24 +160,36 @@ union select druck::varchar(255), apnr, 'A99'::char(10) as parent from cifx wher -Abfragen zur Administration von xCubes +Abfragen zur Administration von Xcubes - + $XCUBE_PFAD/masken - + $XCUBE_PFAD/masken POSTGRES - + + + $XCUBE_PFAD/masken + POSTGRES + + + + + $XCUBE_PFAD/masken + POSTGRES + + + $XCUBE_PFAD/masken POSTGRES @@ -218,6 +230,7 @@ parent="xCubes">Abfragen zur Administration von xCubes + @@ -229,6 +242,7 @@ parent="xCubes">Abfragen zur Administration von xCubes + @@ -237,7 +251,7 @@ parent="xCubes">Abfragen zur Administration von xCubes - + @@ -248,13 +262,13 @@ parent="xCubes">Abfragen zur Administration von xCubes table="xcube" path="/edit/xcube/xcube_list.jsp" followUp="" - caption="Würfel verwalten" + caption="Kreuztabellen verwalten" orderBy="name" gotoHt="" helpfile="" maxRows="*" mode="full"> -In diesem Formular können Sie Würfel verwalten. Im Details-Formular können Sie Eigenschaften zuordnen. +In diesem Formular können Sie Kreuztabellen verwalten. Im Details-Formular können Sie Eigenschaften zuordnen. @@ -267,14 +281,14 @@ parent="xCubes">Abfragen zur Administration von xCubes table="xcube" path="/edit/xcube/xcube_edit.jsp" followUp="" - caption="Würfel bearbeiten" + caption="Kreuztabellen bearbeiten" orderBy="name" gotoHt="" helpfile="" maxRows="1" mode="full"> -In diesem Formular können Sie Würfel verwalten. +In diesem Formular können Sie Kreuztabellen verwalten. tid diff --git a/src-modules/module/xcube/masken/21500_felderinfo.unl b/src-modules/module/xcube/masken/21500_felderinfo.unl index b50426d..c4c3dc8 100644 --- a/src-modules/module/xcube/masken/21500_felderinfo.unl +++ b/src-modules/module/xcube/masken/21500_felderinfo.unl @@ -1,13 +1,18 @@ -21500^Geldgeber^9^300^-1^100^100^1^char^30^0^12^<>select tid,type,name,sortnr from sichten where art ='Geldgeber-Sicht (COB)' and aktiv=1 order by sortnr,type,name;^^ ^ -21501^Kostenstelle^0^0^0^100^250^1^char^4^0^12^<> select tid,type,name from sichten where art='Kostenstellen-Sicht' and aktiv=1 order by type,name^^^ -21502^Haushaltsjahr^10^0^0^100^50^1^integer^30^0^1^<> SELECT distinct ord,name FROM aggregierung where kategorie='COB-Jahr' order by 1;^^<> SELECT ord,name FROM aggregierung where kategorie='COB-Jahr' and ord=year(today()) ;^ -21503^Zeitraum^20^300^-1^100^100^1^sql^30^0^1^<> select wert, name from aggregierung where kategorie = 'ZeitraumCob';^^^ -21504^Kostenarten^1^0^0^100^250^1^char^30^0^12^<> select tid,type,name from sichten where art='Kosten-/Erlösarten-Sicht' and aktiv=1 order by type,name^^^ -21505^Monat von^30^0^0^100^100^1^integer^30^0^1^<> select ord,name from aggregierung where kategorie = 'ZeitraumCob' and ord <=13 order by 1;^^^ -21506^Monat bis^40^300^-1^100^100^1^integer^30^0^1^<> select ord,name from aggregierung where kategorie = 'ZeitraumCob' and ord <=13 order by 1;^^^ -21507^Ansicht in Ergebniszeilen^1000^0^0^100^200^1^char^200^1^1^<> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_rowdim=1 order by 2^^<> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_rowdefault=1^ -21508^Ansicht in Ergebnisspalten^1020^0^0^100^150^1^char^200^1^1^<> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_coldim=1 order by 2^^<> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_coldefault=1^ +21500^Geldgeber^9^300^-1^100^100^1^char^30^0^12^<>select tid,type,name,sortnr from sichten where art ='Geldgeber-Sicht (COB)' and aktiv=1 order by sortnr,type,name;^ ^ ^ +21501^Kostenstelle^0^0^0^100^250^1^char^4^0^12^<> select tid,type,name from sichten where art='Kostenstellen-Sicht' and aktiv=1 order by type,name^ ^ ^ +21502^Jahr von^10^0^0^100^50^1^integer^30^0^1^<> SELECT distinct ord,name FROM aggregierung where kategorie='COB-Jahr' order by 1;^ ^<> SELECT ord,name FROM aggregierung where kategorie='COB-Jahr' and ord=year(today()) ;^ +21503^Zeitraum^20^300^-1^100^100^1^sql^30^0^1^<> select wert, name from aggregierung where kategorie = 'ZeitraumCob' order by 2;^ ^ ^ +21504^Kostenarten^1^0^0^100^250^1^char^30^0^12^<> select tid,type,name from sichten where art='Kosten-/Erlösarten-Sicht' and aktiv=1 order by type,name^ ^ ^ +21505^Monat von^30^0^0^100^100^1^integer^30^0^1^<> select ord,name from aggregierung where kategorie = 'ZeitraumCob' and ord <=13 order by 1;^ ^ ^ +21506^Monat bis^40^300^-1^100^100^1^integer^30^0^1^<> select ord,name from aggregierung where kategorie = 'ZeitraumCob' and ord <=13 order by 1;^ ^ ^ +21507^Ansicht in Ergebniszeilen^1000^0^0^100^200^1^char^200^1^1^<> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_rowdim=1 order by 2^ ^<> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_rowdefault=1^ +21508^Ansicht in Ergebnisspalten^1020^0^0^100^150^1^char^200^1^1^<> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_coldim=1 order by 2^ ^<> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_coldefault=1^ 21509^Leere Zeilen ausblenden^1010^350^-1^140^80^1^char^30^0^1^<> select 'ja','ja' from xdummy union select 'nein','nein' from xdummy^ ^<> select 'ja','ja' from xdummy^ -21510^Leere Spalten ausblenden^1030^0^0^100^100^1^char^30^0^1^<> select 'ja','ja' from xdummy union select 'nein','nein' from xdummy^^<> select 'ja','ja' from xdummy^ +21510^Leere Spalten ausblenden^1030^0^0^100^100^1^char^30^0^1^<> select 'ja','ja' from xdummy union select 'nein','nein' from xdummy^ ^<> select 'ja','ja' from xdummy^ 21511^Kennzahl^1050^350^-1^150^180^1^integer^200^1^1^<> select tid,name from xcube_kennzahl where maskeninfo_id=${Maskennummer} order by sortnr,name;^hidden^<> select tid,name from xcube_kennzahl where maskeninfo_id=${Maskennummer} and is_default=1^ -21512^Kostenträger^5^0^0^100^250^1^char^30^0^12^<> select tid,type,name from sichten where art='Kostenträger-Sicht' and aktiv=1 order by type,name^^^ +21512^Kostenträger^5^0^0^100^250^1^char^30^0^12^<> select tid,type,name from sichten where art='Kostenträger-Sicht' and aktiv=1 order by type,name^ ^ ^ +21513^Jahr bis^15^0^0^150^50^1^integer^4^0^1^<>SELECT distinct ord,name FROM aggregierung where kategorie='COB-Jahr' order by 1;^^<> SELECT ord,name FROM aggregierung where kategorie='COB-Jahr' and ord=year(today()) ;^ +21514^Spaltenvisualisierung^1500^0^0^140^80^1^char^30^0^1^<> select '_graph','Balken (horiz. linksb.)' from xdummy\ +union select '_graphbarright','Balken (horiz. rechtsb.)' from xdummy\ +union select '_graphbaralternating','Balken (horiz. rechtsb./linksb.)' from xdummy^^^ +21515^Zeilenfilter bis Ebene^1400^0^0^140^10^1^integer^30^0^0^ ^^^ diff --git a/src-modules/module/xcube/masken/21500_masken_felder_bez.unl b/src-modules/module/xcube/masken/21500_masken_felder_bez.unl index c7a412b..45083f7 100644 --- a/src-modules/module/xcube/masken/21500_masken_felder_bez.unl +++ b/src-modules/module/xcube/masken/21500_masken_felder_bez.unl @@ -11,3 +11,6 @@ 21500^21510^ 21500^21511^ 21500^21512^ +21500^21513^ +21500^21514^ +21500^21515^ diff --git a/src-modules/module/xcube/masken/21500_maskeninfo.unl b/src-modules/module/xcube/masken/21500_maskeninfo.unl index da812fe..05770b1 100644 --- a/src-modules/module/xcube/masken/21500_maskeninfo.unl +++ b/src-modules/module/xcube/masken/21500_maskeninfo.unl @@ -1,40 +1,61 @@ -21500^Primärbuchungswürfel^--freemarker template\ +21500^Primärkosten/Erlöse Xcube^--freemarker template\ -- Maskenfelder -Leere Zeilen ausblenden, leere SPalten ausblenden?\ \ select table_name from xcube where maskeninfo_id=${Maskennummer}\ select aggrfunction from xcube_kennzahl where maskeninfo_id=${Maskennummer} and tid=<>\ -select nvl(restriction,''::char(1)) from xcube_kennzahl where maskeninfo_id=${Maskennummer} and tid=<>\ -select nvl(datatype,'decimal(17,2)'::varchar(30)) from xcube_kennzahl where maskeninfo_id=${Maskennummer} and tid=<>\ ---benoetigt falls Kennzahlen in Zeilen oder Splaten\ -select apnr,aggrfunction,nvl(restriction,''::char(1)) as restriction from xcube_kennzahl where maskeninfo_id=${Maskennummer}\ +select nvl(restriction,''::char(1)) from xcube_kennzahl \ +where maskeninfo_id=${Maskennummer} and tid=<>\ +\ +select nvl(datatype,'decimal(17,2)'::varchar(30)) from xcube_kennzahl \ +where maskeninfo_id=${Maskennummer} and tid=<>\ +--benoetigt falls Kennzahlen in Zeilen oder Spalten\ +select apnr,aggrfunction,\ +nvl(restriction,''::char(1)) as restriction \ +from xcube_kennzahl where maskeninfo_id=${Maskennummer}\ select restriction from xcube where maskeninfo_id=<>]]>\ ->]]>\ \ \ -select distinct ${coldef.foreignkey_col} as apnr,${coldef.foreignkey_cap} as name,\ -1::smallint as detailgesamtsort,${coldef.sortfield} as tmp_sortfield\ +select distinct ${coldef.foreignkey_col} 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} \ --{coldef.specific_restriction} \ ---ausblenden von Spalten, die gar nicht in konkretem Teilergebnis vorkommen, geht derzeit nicht für virtuelle Spalten, -> Kernmodul\ -<#if coldef.is_virtual?number=0&&"<>"="'ja'">\ +--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=''&&"<>"="'ja'">\ and ${coldef.foreignkey_col}::varchar(255) in (select distinct ${coldef.name}::varchar(255) from ${table_name} where \ ${restriction} \ )\ \ <#if coldef.calc_gesamt?number=1> \ union\ -select 'gesamt','Gesamt',2::smallint as detailgesamtsort,null as tmp_sortfield from xdummy\ +select 'gesamt','Gesamt',\ +2::smallint as detailgesamtsort,\ +null as tmp_sortfield from xdummy\ \ -order by detailgesamtsort,tmp_sortfield,name;\ +order by detailgesamtsort,\ +tmp_sortfield,\ +name;\ <#else>\ select 'Sichtspalten aktiv' from xdummy;\ \ @@ -52,8 +73,11 @@ from xcube_dimconfig C where maskeninfo_id=${Maskennummer} and name=<\ -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}\ +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} \ --{rowdef.specific_restriction} \ @@ -69,7 +93,12 @@ select 'nicht relevant' from xdummy;\ \ >"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">\ -select name,caption,is_sicht,calc_gesamt,foreignkey_tab,foreignkey_col,foreignkey_cap,\ +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\ @@ -82,8 +111,11 @@ select 'keine zweite RowDef' from xdummy;\ --nur bei wenn Ergzeilen_def nicht vom Typ Sicht relevant\ >"!=""&&"<<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}\ +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} \ --{zweiteRowDef.specific_restriction} \ @@ -109,6 +141,13 @@ select 'nicht relevant' from xdummy;\ --TODO auch 2. Dimension in Zeilen/Spalten\ <#if coldef.is_virtual?number=1||rowdef.is_virtual?number=1> <#return 1><#else> return <#return 0> \ \ +<#assign graph_col= "col" />\ +/* <#assign graph_col=<> /> */\ +\ +create temp table tmp_cellmax (maxvalue ${datatype} );\ +insert into tmp_cellmax values(0);\ +\ +\ \ \ <#if hasVirtualColumns()=1||kennzahlInRowOrCol()=1>\ @@ -148,7 +187,7 @@ create index ix_tmp_roh1 on tmp_cache (colattrib,rowattrib,row2attrib);\ \ --moegliche attrib_nachbearbeitung\ <#if kennzahlInRowOrCol()=0> \ -<#assign tmp_table="tmp_cache"/> <#assign rowfield="rowattrib"/> <#assign colfield="rowattrib"/> \ +<#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/> \ \ @@ -205,6 +244,7 @@ create index ix_tmp_erg on tmp_erg (sortnr);\ \ \ <#else>\ + /* <#if zeile.level <= <> > */\ <#assign sortnr=sortnr+1/>\ insert into tmp_erg (ebene,col1,name,sortnr)\ values (${zeile.level},'${zeile.key}','${zeile.name}',${sortnr});\ @@ -213,6 +253,7 @@ create index ix_tmp_erg on tmp_erg (sortnr);\ <#assign i=i+1/>\ <@updateval i=i col=spalte row=zeile row2='' sortnr=sortnr/>\ \ +/* --<> */\ \ \ \ @@ -268,8 +309,9 @@ update tmp_erg T set c${i}=\ <#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>\ ---TODO Sicht=2\ <#if col.apnr!='gesamt'>\ and ${colattribname}::varchar(255)='${col.apnr}' \ \ @@ -298,6 +340,21 @@ drop table if exists tmp_rohdaten;\ update tmp_erg set c${i}=0 where c${i} is null; \ \ \ +<#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 "<>"="'ja'">\ delete from tmp_erg where\ <#assign i=0/>\ @@ -306,7 +363,7 @@ delete from tmp_erg where\ c${i}=0 <#if spalte_has_next> and \ ;\ \ -<#if "<>"="'institution'">\ +<#if "<>"="'ch110_institut'">\ 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)='_';\ @@ -318,21 +375,36 @@ update tmp_erg set name=replace(name,col1||' - ','');\ \ \ select \ - <#if rowdef.is_sicht>0>ebene,col1,\ -name,\ + <#if rowdef.is_sicht>0>\ + <#if graph_col=="col">\ + ebene,\ + <#else>\ + ebene as level, --bei Grafiken keine Ebenenanzeige\ + \ + \ +name\ <#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">col2,\ <#assign i=0/>\ <#foreach spalte in ergspalten>\ <#assign i=i+1/>\ -c${i}::${datatype} <#if spalte_has_next>,\ -\ +<#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}\ + \ +<#else>\ +, '' || c${i}::${datatype} || '|' || tmp_cellmax.maxvalue as ${graph_col}${i}\ +\ \ -from tmp_erg 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\ +<#else>\ +, c${i}::${datatype} as col${i}\ +\ +\ +\ +from tmp_erg, tmp_cellmax order by sortnr;^--freemarker Template\ XIL List\ sizable_columns horizontal_scrolling\ drop_and_delete movable_columns\ @@ -342,9 +414,6 @@ XIL List\ Column CID=0 heading_text="Ebene" center_heading\ row_selectable heading_platform readonly\ width=10 text_size=8\ -Column CID=20 heading_text="${.vars["Ansicht in ErgebniszeilenObject"].selectedItems[0].name}Nr" center_heading\ - row_selectable heading_platform readonly\ - width=10 text_size=10\ \ Column CID=20 heading_text="${.vars["Ansicht in ErgebniszeilenObject"].selectedItems[0].name}" center_heading\ row_selectable heading_platform readonly\ @@ -366,4 +435,5 @@ Column CID=1 heading_text="${spalte.name}" center_heading\ \ \ \ -@@@^^^Dynamische Auswertungen von Primärbuchungen^drop table tmp_erg;^^2^600^400^0^1^^ +@@@^ ^ ^Dynamische Auswertungen von Primärbuchungen^drop table tmp_erg;\ +drop table tmp_cellmax;^^2^600^400^^1^^