Skip to content

Commit 8accae5

Browse files
authored
Merge pull request #322 from GTable/refactor/#319-UserService-exception
refactor: Reservation status 초기값 추가
2 parents cfbd4d2 + d6ea54e commit 8accae5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

nowait-app-admin-api/src/main/java/com/nowait/applicationadmin/reservation/service/ReservationService.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ public EntryStatusResponseDto processEntryStatus(Long storeId, String userId, Me
286286
.partySize(partySize)
287287
.requestedAt(requestedAt)
288288
.updatedAt(LocalDateTime.now(ZoneId.of("Asia/Seoul")))
289+
.status(ReservationStatus.valueOf(currStatus))
289290
.build();
290291

291292
// 호출 시각 반영
@@ -344,6 +345,7 @@ public EntryStatusResponseDto processEntryStatus(Long storeId, String userId, Me
344345
.partySize(partySize)
345346
.requestedAt(requestedAt)
346347
.updatedAt(LocalDateTime.now(ZoneId.of("Asia/Seoul")))
348+
.status(ReservationStatus.valueOf(currStatus))
347349
.build();
348350

349351
r.markUpdated(LocalDateTime.now(), ReservationStatus.CANCELLED);

0 commit comments

Comments
 (0)