-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix : 동계방학 생협 운영시간 업데이트 #1144
Merged
Merged
fix : 동계방학 생협 운영시간 업데이트 #1144
Changes from 3 commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
src/main/resources/db/migration/V107__update_coop_shop.sql
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,45 @@ | ||
INSERT INTO `coop_semester` (`semester`, `from_date`, `to_date`, `is_applied`) | ||
VALUES ('24-동계방학', '2024-12-23', '2025-03-02', 1); | ||
|
||
SET @SEMESTER_ID = LAST_INSERT_ID(); | ||
|
||
UPDATE `coop_semester` | ||
SET `is_applied` = 0 | ||
WHERE `id` = 1; | ||
|
||
INSERT INTO `coop_shop` (`name`, `phone`, `location`, `remarks`, `semester_id`) | ||
VALUES ('학생식당', '041-560-1278', '학생회관 2층', '비계절학기 주말 미운영', @SEMESTER_ID), | ||
('복지관식당', '041-560-1778', '복지관 2층', '복지관식당 c코너 별도 운영(계절학기까지)', @SEMESTER_ID), | ||
('대즐', '041-560-1779', '복지관 1층', '배달 가능', @SEMESTER_ID), | ||
('서점', '041-560-1756', '복지관 1층', '점심시간 12:00 - 13:00', @SEMESTER_ID), | ||
('세탁소', '041-552-1489', '학생회관 2층', NULL, @SEMESTER_ID), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 사진이랑 세탁소 전화번호가 다른것 같아요 |
||
('복사실', '041-560-1093', '학생회관 2층', '점심시간 11:30 - 12:30', @SEMESTER_ID), | ||
('복지관 참빛관 편의점', '041-560-1093', '복지관 1층, 참빛관 1층', NULL, @SEMESTER_ID), | ||
('미용실', '041-560-1769', '학생회관 1층', '예약제운영', @SEMESTER_ID), | ||
('오락실', '041-560-1472', '학생회관 1층', NULL, @SEMESTER_ID); | ||
|
||
SET @COOP_SHOP_ID = LAST_INSERT_ID(); | ||
|
||
INSERT INTO `coop_opens` (`coop_shop_id`, `type`, `day_of_week`, `open_time`, `close_time`) | ||
VALUES (@COOP_SHOP_ID, '아침', 'WEEKDAYS', '08:00', '09:00'), | ||
(@COOP_SHOP_ID, '점심', 'WEEKDAYS', '11:30', '13:30'), | ||
(@COOP_SHOP_ID, '저녁', 'WEEKDAYS', '17:30', '18:30'), | ||
(@COOP_SHOP_ID, '아침', 'WEEKEND', '휴점(예약)', '휴점(예약)'), | ||
(@COOP_SHOP_ID, '점심', 'WEEKEND', '11:30', '13:30'), | ||
(@COOP_SHOP_ID, '저녁', 'WEEKEND', '17:30', '18:30'), | ||
(@COOP_SHOP_ID + 1, '점심', 'WEEKDAYS', '11:40', '13:30'), | ||
(@COOP_SHOP_ID + 1, '점심', 'WEEKEND', '미운영', '미운영'), | ||
(@COOP_SHOP_ID + 2, NULL, 'WEEKDAYS', '08:30', '19:00'), | ||
(@COOP_SHOP_ID + 2, NULL, 'WEEKDAYS', '휴점', '휴점'), | ||
(@COOP_SHOP_ID + 3, NULL, 'WEEKDAYS', '09:00', '18:00'), | ||
(@COOP_SHOP_ID + 3, NULL, 'WEEKEND', '휴점', '휴점'), | ||
(@COOP_SHOP_ID + 4, NULL, 'WEEKDAYS', '10:30', '16:00'), | ||
(@COOP_SHOP_ID + 4, NULL, 'WEEKEND', '휴점', '휴점'), | ||
(@COOP_SHOP_ID + 5, NULL, 'WEEKDAYS', '10:00', '16:00'), | ||
(@COOP_SHOP_ID + 5, NULL, 'WEEKEND', '휴점', '휴점'), | ||
(@COOP_SHOP_ID + 6, NULL, 'WEEKDAYS', '24시간', '24시간'), | ||
(@COOP_SHOP_ID + 6, NULL, 'WEEKEND', '24시간', '24시간'), | ||
(@COOP_SHOP_ID + 7, NULL, 'WEEKDAYS', '10:00', '16:00'), | ||
(@COOP_SHOP_ID + 7, NULL, 'WEEKEND', '휴점', '휴점'), | ||
(@COOP_SHOP_ID + 8, NULL, 'WEEKDAYS', '24시간', '24시간'), | ||
(@COOP_SHOP_ID + 8, NULL, 'WEEKEND', '24시간', '24시간'); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
복지관 식당 전화번호는 어디 나와있나요..
못찾겠어요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
복지관이 이번엔 학생식당 C코너로 들어가면서 칸이 합쳐졌는데 24-2학기 거로 보시면 됩니당