Skip to content

Commit

Permalink
Merge pull request #120 from marinesnow34/storeStatus
Browse files Browse the repository at this point in the history
Feat: 현재 상태 취소 추가
  • Loading branch information
marinesnow34 authored Dec 3, 2023
2 parents d93220e + cba1d79 commit a1f11b4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,8 @@ private void verifyOrderCurrent(Order order) {
if (order.getProgress().equals(Progress.ORDER)
|| order.getProgress().equals(Progress.MAKE)
|| order.getProgress().equals(Progress.COMPLETE)
|| order.getProgress().equals(Progress.PICKUP)) {
|| order.getProgress().equals(Progress.PICKUP)
|| order.getProgress().equals(Progress.CANCEL)) {
return;
}
throw new BusinessLogicException(ExceptionCode.ORDER_NOT_CURRENT);
Expand Down

0 comments on commit a1f11b4

Please sign in to comment.