This commit is contained in:
2026-08-13 14:31:23 +00:00
parent a6489b53a6
commit c39e4ad581
11 changed files with 320 additions and 24 deletions
@@ -1,4 +1,9 @@
UPDATE Sitzplätze
SET status = 'belegt'
WHERE id = '{{Custom4.model.selectedSeat.id}}'
AND status = 'frei';
SELECT
id,
titel AS title,
startzeit AS start,
endzeit AS end,
gebucht_von
FROM `buchungen`
WHERE platz_id = '{{appsmith.store.selectedSeatId}}'
ORDER BY startzeit;
@@ -5,7 +5,7 @@
"pluginType": "DB",
"unpublishedAction": {
"actionConfiguration": {
"body": "UPDATE Sitzplätze\nSET status = 'belegt'\nWHERE id = '{{Custom4.model.selectedSeat.id}}'\n AND status = 'frei';",
"body": "SELECT\n id,\n titel AS title,\n startzeit AS start,\n endzeit AS end,\n gebucht_von\nFROM `buchungen`\nWHERE platz_id = '{{appsmith.store.selectedSeatId}}'\nORDER BY startzeit;",
"encodeParamsToggle": true,
"paginationType": "NONE",
"pluginSpecifiedTemplates": [