This commit is contained in:
2026-08-20 11:06:08 +00:00
parent f6115aadb9
commit 6f93035fa5
4 changed files with 15 additions and 22 deletions
@@ -1,18 +1,12 @@
SELECT SELECT
id, BID,
platz_id, SPID,
titel AS title, DATE_FORMAT(Start,'%Y-%m-%d %H:%i:%s') AS start,
DATE_FORMAT( DATE_FORMAT(Ende,'%Y-%m-%d %H:%i:%s')
startzeit, AS end,
'%Y-%m-%d %H:%i:%s' PSID,
) AS start,
DATE_FORMAT(
endzeit,
'%Y-%m-%d %H:%i:%s'
) AS end,
gebucht_von,
erstellt_am erstellt_am
FROM `buchungen` FROM Buchungen
WHERE `platz_id` = WHERE PSID =
'{{ appsmith.store.selectedSeatId }}' '{{ appsmith.store.selectedSeatId }}'
ORDER BY startzeit; ORDER BY Start;
@@ -5,7 +5,7 @@
"pluginType": "DB", "pluginType": "DB",
"unpublishedAction": { "unpublishedAction": {
"actionConfiguration": { "actionConfiguration": {
"body": "SELECT\n id,\n platz_id,\n titel AS title,\n DATE_FORMAT(\n startzeit,\n '%Y-%m-%d %H:%i:%s'\n ) AS start,\n DATE_FORMAT(\n endzeit,\n '%Y-%m-%d %H:%i:%s'\n ) AS end,\n gebucht_von,\n erstellt_am\nFROM `buchungen`\nWHERE `platz_id` =\n '{{ appsmith.store.selectedSeatId }}'\nORDER BY startzeit;", "body": "SELECT\n BID,\n SPID,\n DATE_FORMAT(Start,'%Y-%m-%d %H:%i:%s') \t AS start,\n DATE_FORMAT(Ende,'%Y-%m-%d %H:%i:%s') \n\tAS end,\n PSID,\n erstellt_am\nFROM Buchungen\nWHERE PSID =\n '{{ appsmith.store.selectedSeatId }}'\nORDER BY Start;",
"encodeParamsToggle": true, "encodeParamsToggle": true,
"paginationType": "NONE", "paginationType": "NONE",
"pluginSpecifiedTemplates": [ "pluginSpecifiedTemplates": [
@@ -1,10 +1,9 @@
SELECT SELECT
id, SPID,
name, name,
x, x,
y, y,
active, active
status FROM Sitzplätze
FROM `Sitzplätze`
WHERE active = 1 WHERE active = 1
ORDER BY id; ORDER BY SPID;
@@ -5,7 +5,7 @@
"pluginType": "DB", "pluginType": "DB",
"unpublishedAction": { "unpublishedAction": {
"actionConfiguration": { "actionConfiguration": {
"body": "SELECT\n id,\n name,\n x,\n y,\n active,\n status\nFROM `Sitzplätze`\nWHERE active = 1\nORDER BY id;", "body": "SELECT\n SPID,\n name,\n x,\n y,\n active\nFROM Sitzplätze\nWHERE active = 1\nORDER BY SPID;",
"encodeParamsToggle": true, "encodeParamsToggle": true,
"paginationType": "NONE", "paginationType": "NONE",
"pluginSpecifiedTemplates": [ "pluginSpecifiedTemplates": [