-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'acceptance' of github.com:Stichting-CROW/fietsberaad-ve…
…iligstallen-app into acceptance # Conflicts: # src/pages/api/auth/[...nextauth].ts
- Loading branch information
Showing
13 changed files
with
205 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
select UserID FROM security_users where UserName="[email protected]" into @marc; | ||
select ID From fietsenstallingen where Title like "%Marktstraat%" AND Plaats="Apeldoorn" INTO @stalling; | ||
select @marc, @stalling; | ||
INSERT INTO security_users_sites(UserID, SiteID, isContact) VALUES(@marc, @stalling, 0); | ||
|
||
select fs.title | ||
from security_users_sites sus | ||
JOIN fietsenstallingen fs ON (fs.ID=sus.SiteID) | ||
where sus.UserID=@marc; | ||
|
||
Select * from fietsenstallingen_services where FietsenstallingID="0066B68F-6F95-4C42-BACF7B44C50FA061"; | ||
Select * from fietsenstallingen where ID="0066B68F-6F95-4C42-BACF7B44C50FA061"; | ||
|
||
select ID, Title, Beheerder, BeheerderContact, Capacity from fietsenstallingen WHERE IsStationsstalling; | ||
select * from fietsenstallingen WHERE ID="0066B68F-6F95-4C42-BACF7B44C50FA061"; | ||
|
||
select * from security_users_sites where UserID="D4351342-685D-D17A-B3617EEBBF39451C"; | ||
select * from security_users_sites where UserID = @marc; | ||
|
||
select * from fietsenstalling_sectie where fietsenstallingsId=@SiteID; | ||
|
||
select fs.ID, fs.Title, fs.Plaats, fs.Capacity, count(fss.sectieId), sum(fss.capaciteit) | ||
from fietsenstalling_sectie fss | ||
left join fietsenstallingen fs ON fs.id=fss.fietsenstallingsId | ||
WHERE fs.ID="0066B68F-6F95-4C42-BACF7B44C50FA061" | ||
group by fs.ID | ||
having count(fss.sectieId)>1 | ||
order by fs.Plaats, fs.Title |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.