Abschlussarbeiten aus Breitenbrunn

This commit is contained in:
Felix Lohmeier 2021-04-28 11:28:25 +02:00
parent 4a50eab9a4
commit aa6395a25e
5 changed files with 82 additions and 0 deletions

View File

@ -191,6 +191,8 @@ tasks:
"$CLIENT" -P {{.PORT}} {{.PROJECT}} --apply config/main/8600.json > {{.LOG}} "$CLIENT" -P {{.PORT}} {{.PROJECT}} --apply config/main/8600.json > {{.LOG}}
- > # spec_B_T_24: Hochschulschriftenvermerk für Abschlussarbeiten 4204 - > # spec_B_T_24: Hochschulschriftenvermerk für Abschlussarbeiten 4204
"$CLIENT" -P {{.PORT}} {{.PROJECT}} --apply config/main/4204.json > {{.LOG}} "$CLIENT" -P {{.PORT}} {{.PROJECT}} --apply config/main/4204.json > {{.LOG}}
- > # Exemplarspezifisches Schlagwort aus GT1B für Abschlussarbeiten aus Breitenbrunn in 6800
"$CLIENT" -P {{.PORT}} {{.PROJECT}} --apply config/main/6800.json > {{.LOG}}
- > # spec_B_T_25: Einheitssachtitel 3210 - > # spec_B_T_25: Einheitssachtitel 3210
"$CLIENT" -P {{.PORT}} {{.PROJECT}} --apply config/main/3210.json > {{.LOG}} "$CLIENT" -P {{.PORT}} {{.PROJECT}} --apply config/main/3210.json > {{.LOG}}
- > # spec_B_T_48: Lokale Systematik in 67XX (Exemplarsatz!) für BB, BZ, GC - > # spec_B_T_48: Lokale Systematik in 67XX (Exemplarsatz!) für BB, BZ, GC

View File

@ -154,5 +154,43 @@
"onError": "keep-original", "onError": "keep-original",
"repeat": false, "repeat": false,
"repeatCount": 10 "repeatCount": 10
},
{
"op": "core/text-transform",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "M|MEDGR",
"expression": "value",
"columnName": "M|MEDGR",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": "BAC",
"l": "BAC"
}
},
{
"v": {
"v": "DIP",
"l": "DIP"
}
}
],
"selectBlank": false,
"selectError": false
}
],
"mode": "row-based"
},
"columnName": "0500",
"expression": "grel:'Lax'",
"onError": "keep-original",
"repeat": false,
"repeatCount": 10
} }
] ]

View File

@ -0,0 +1,40 @@
[
{
"op": "core/column-addition",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "M|MEDGR",
"expression": "value",
"columnName": "M|MEDGR",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": "BAC",
"l": "BAC"
}
},
{
"v": {
"v": "DIP",
"l": "DIP"
}
}
],
"selectBlank": false,
"selectError": false
}
],
"mode": "row-based"
},
"baseColumnName": "M|GT1B",
"expression": "grel:value",
"onError": "set-to-blank",
"newColumnName": "6800",
"columnInsertIndex": 124
}
]

View File

@ -43,6 +43,7 @@ with(
'4170_2', '4170_2',
'4204', '4204',
'67XX', '67XX',
'6800',
'7100j', '7100j',
'7100f', '7100f',
'7100a', '7100a',

View File

@ -45,6 +45,7 @@ with(with(rowIndex - row.record.fromRowIndex + 1, i, '00'[0,2-i.length()] + i),e
+ forNonBlank(cells['8200'].value, v, '209G/' + exnr + ' a' + v + '\n', '') + forNonBlank(cells['8200'].value, v, '209G/' + exnr + ' a' + v + '\n', '')
+ forNonBlank(cells['8600'].value, v, '209O/' + exnr + ' a' + v + 'x00' + '\n', '') + forNonBlank(cells['8600'].value, v, '209O/' + exnr + ' a' + v + 'x00' + '\n', '')
+ forNonBlank(cells['8515'].value, v, '220B/' + exnr + ' a' + v + '\n', '') + forNonBlank(cells['8515'].value, v, '220B/' + exnr + ' a' + v + '\n', '')
+ forNonBlank(cells['6800'].value, v, '244Z/' + exnr + ' a' + v + 'x00' + '\n', '')
+ forNonBlank(cells['67XX'].value, v, forEachIndex(v.split('||'), i, x, '245Z/' + exnr + ' a' + x.trim() + 'x0' + i + '\n').join(''), '') + forNonBlank(cells['67XX'].value, v, forEachIndex(v.split('||'), i, x, '245Z/' + exnr + ' a' + x.trim() + 'x0' + i + '\n').join(''), '')
), '') ), '')
}} }}