Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김명현
/
Classroom-Reservation
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
freckie
2020-12-08 01:38:05 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ae71c3c7314be3c31f34fe75967727f9b766acdf
ae71c3c7
1 parent
e12fc4a7
Fix: query
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
api/endpoints/reservation.go
api/endpoints/reservation.go
View file @
ae71c3c
...
...
@@ -89,8 +89,9 @@ func (e *Endpoints) ReservationPost(w http.ResponseWriter, r *http.Request, ps h
SELECT cell_start, cell_end
FROM transactions
WHERE transaction_type=1
AND timetable_id=?
AND cell_column=?;
`
,
*
(
reqData
.
Column
))
`
,
timetable
,
*
(
reqData
.
Column
))
if
err
==
sql
.
ErrNoRows
{
isPossible
=
true
}
...
...
Please
register
or
login
to post a comment