fix(owner-vue): order status 버그픽스

- order status 변경
This commit is contained in:
hoon7566
2022-03-17 15:17:44 +09:00
parent ce95517bad
commit 0123766d68
13 changed files with 62 additions and 258 deletions

View File

@@ -23,6 +23,7 @@ public class NotificationConsumer {
private final ObjectMapper objectMapper;
private final NotificationService notificationService;
@Transactional
@KafkaListener(topics = "orderPlaced")
public void orderPlaced(String kafkaMessage) throws JsonProcessingException {
log.debug("## NotificationConsumer.orderPlaced");

View File

@@ -12,7 +12,9 @@ public enum OrderStatus {
ACCEPTED("주문수락"),
REJECTED("주문거절"),
WAITING("픽업대기"),
FINISHED("픽업완료");
FINISHED("픽업완료"),
FAILED("실패");
private String message;