Neueste Version
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
SELECT
|
||||
id,
|
||||
platz_id,
|
||||
titel AS title,
|
||||
startzeit AS start,
|
||||
endzeit AS end,
|
||||
gebucht_von
|
||||
FROM `buchungen`
|
||||
WHERE platz_id = '{{appsmith.store.selectedSeatId}}'
|
||||
ORDER BY startzeit;
|
||||
|
||||
INSERT INTO `buchungen`
|
||||
(
|
||||
id,
|
||||
titel,
|
||||
startzeit,
|
||||
endzeit,
|
||||
gebucht_von
|
||||
)
|
||||
VALUES
|
||||
(
|
||||
'{{appsmith.store.selectedSeatId}}',
|
||||
'{{InputTitel.text}}',
|
||||
'{{InputStartzeit.text}}',
|
||||
'{{InputEndzeit.text}}',
|
||||
'{{InputGebuchtVon.text}}'
|
||||
);
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"gitSyncId": "6a6b5b477ebc9edeca96e2f8_d245a9e2-35c3-40b1-88d9-d9af14910175",
|
||||
"id": "Sitzplätze_BookingSelect.openBookingWidget",
|
||||
"pluginId": "js-plugin",
|
||||
"pluginType": "JS",
|
||||
"unpublishedAction": {
|
||||
"actionConfiguration": {
|
||||
"encodeParamsToggle": true,
|
||||
"jsArguments": [],
|
||||
"paginationType": "NONE",
|
||||
"timeoutInMillisecond": 10000
|
||||
},
|
||||
"collectionId": "Sitzplätze_BookingSelect",
|
||||
"confirmBeforeExecute": false,
|
||||
"datasource": {
|
||||
"isAutoGenerated": false,
|
||||
"name": "UNUSED_DATASOURCE",
|
||||
"pluginId": "js-plugin"
|
||||
},
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "body"
|
||||
}
|
||||
],
|
||||
"fullyQualifiedName": "BookingSelect.openBookingWidget",
|
||||
"name": "openBookingWidget",
|
||||
"pageId": "Sitzplätze",
|
||||
"runBehaviour": "MANUAL",
|
||||
"userSetOnLoad": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
INSERT INTO `buchungen`
|
||||
(
|
||||
`platz_id`,
|
||||
`titel`,
|
||||
`startzeit`,
|
||||
`endzeit`,
|
||||
`gebucht_von`
|
||||
)
|
||||
VALUES
|
||||
(
|
||||
{{ appsmith.store.bookingFormData.seatId }},
|
||||
{{ appsmith.store.bookingFormData.title }},
|
||||
{{ appsmith.store.bookingFormData.startDateTime }},
|
||||
{{ appsmith.store.bookingFormData.endDateTime }},
|
||||
{{ appsmith.store.bookingFormData.bookedBy }}
|
||||
);
|
||||
+4
-4
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"gitSyncId": "6a6b5b477ebc9edeca96e2f8_a4b30cc2-55bd-48f3-a541-3934d1b76d01",
|
||||
"id": "Sitzplätze_BookSeatSQL",
|
||||
"gitSyncId": "6a6b5b477ebc9edeca96e2f8_e0fcb986-9f0b-4eab-bcee-5d1449214ffa",
|
||||
"id": "Sitzplätze_CreateBooking",
|
||||
"pluginId": "mysql-plugin",
|
||||
"pluginType": "DB",
|
||||
"unpublishedAction": {
|
||||
"actionConfiguration": {
|
||||
"body": "SELECT\n id,\n platz_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;\n\nINSERT INTO `buchungen`\n(\n id,\n titel,\n startzeit,\n endzeit,\n gebucht_von\n)\nVALUES\n(\n '{{appsmith.store.selectedSeatId}}',\n '{{InputTitel.text}}',\n '{{InputStartzeit.text}}',\n '{{InputEndzeit.text}}',\n '{{InputGebuchtVon.text}}'\n);",
|
||||
"body": "INSERT INTO `buchungen`\n(\n `platz_id`,\n `titel`,\n `startzeit`,\n `endzeit`,\n `gebucht_von`\n)\nVALUES\n(\n {{ appsmith.store.bookingFormData.seatId }},\n {{ appsmith.store.bookingFormData.title }},\n {{ appsmith.store.bookingFormData.startDateTime }},\n {{ appsmith.store.bookingFormData.endDateTime }},\n {{ appsmith.store.bookingFormData.bookedBy }}\n);",
|
||||
"encodeParamsToggle": true,
|
||||
"paginationType": "NONE",
|
||||
"pluginSpecifiedTemplates": [
|
||||
@@ -27,7 +27,7 @@
|
||||
"key": "body"
|
||||
}
|
||||
],
|
||||
"name": "BookSeatSQL",
|
||||
"name": "CreateBooking",
|
||||
"pageId": "Sitzplätze",
|
||||
"runBehaviour": "MANUAL",
|
||||
"userSetOnLoad": false
|
||||
+2
-1
@@ -6,5 +6,6 @@ SELECT
|
||||
endzeit AS end,
|
||||
gebucht_von
|
||||
FROM `buchungen`
|
||||
WHERE platz_id = '{{appsmith.store.selectedSeatId}}'
|
||||
WHERE platz_id =
|
||||
{{ appsmith.store.selectedSeatId }}
|
||||
ORDER BY startzeit;
|
||||
+4
-4
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"gitSyncId": "6a6b5b477ebc9edeca96e2f8_e0fcb986-9f0b-4eab-bcee-5d1449214ffa",
|
||||
"id": "Sitzplätze_GetBookings",
|
||||
"gitSyncId": "6a6b5b477ebc9edeca96e2f8_a4b30cc2-55bd-48f3-a541-3934d1b76d01",
|
||||
"id": "Sitzplätze_GetSeatBookings",
|
||||
"pluginId": "mysql-plugin",
|
||||
"pluginType": "DB",
|
||||
"unpublishedAction": {
|
||||
"actionConfiguration": {
|
||||
"body": "SELECT\n id,\n platz_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;",
|
||||
"body": "SELECT\n id,\n platz_id,\n titel AS title,\n startzeit AS start,\n endzeit AS end,\n gebucht_von\nFROM `buchungen`\nWHERE platz_id =\n {{ appsmith.store.selectedSeatId }}\nORDER BY startzeit;",
|
||||
"encodeParamsToggle": true,
|
||||
"paginationType": "NONE",
|
||||
"pluginSpecifiedTemplates": [
|
||||
@@ -27,7 +27,7 @@
|
||||
"key": "body"
|
||||
}
|
||||
],
|
||||
"name": "GetBookings",
|
||||
"name": "GetSeatBookings",
|
||||
"pageId": "Sitzplätze",
|
||||
"runBehaviour": "AUTOMATIC",
|
||||
"userSetOnLoad": false
|
||||
Reference in New Issue
Block a user