diff --git a/src/main/java/com/chint/domain/aggregates/order/OrderEvent.java b/src/main/java/com/chint/domain/aggregates/order/OrderEvent.java index e7bffcdd..ba689c23 100644 --- a/src/main/java/com/chint/domain/aggregates/order/OrderEvent.java +++ b/src/main/java/com/chint/domain/aggregates/order/OrderEvent.java @@ -84,10 +84,10 @@ public class OrderEvent implements Serializable { return switch (eventType) { case ORDER_EVENT_PREPARE -> FSSC_FLIGHT_STATUS_SUCCESS; case ORDER_EVENT_PAYED -> FSSC_FLIGHT_STATUS_SUCCESS; - case ORDER_EVENT_CHANGE -> FSSC_FLIGHT_STATUS_CHANGE; + case ORDER_EVENT_CHANGE -> FSSC_FLIGHT_STATUS_SUCCESS; case ORDER_EVENT_CANCEL -> FSSC_ORDER_STATUS_CANCEL; case ORDER_EVENT_ORDERED -> FSSC_FLIGHT_STATUS_SUCCESS; - case ORDER_EVENT_REFUND -> FSSC_FLIGHT_STATUS_REFUND; + case ORDER_EVENT_REFUND -> FSSC_FLIGHT_STATUS_SUCCESS; case ORDER_EVENT_UNKNOWN -> FSSC_FLIGHT_STATUS_SUCCESS; case ORDER_EVENT_FINISH -> FSSC_FLIGHT_STATUS_SUCCESS; case ORDER_EVENT_ETA -> FSSC_FLIGHT_STATUS_SUCCESS; diff --git a/src/test/java/com/chint/LYTest.java b/src/test/java/com/chint/LYTest.java index 3c8cadfd..54d0f1b1 100644 --- a/src/test/java/com/chint/LYTest.java +++ b/src/test/java/com/chint/LYTest.java @@ -836,9 +836,9 @@ public class LYTest { @Test void deleteOrderDetailById(){ - orderDetailRepository.deleteById(1667L); - orderDetailRepository.deleteById(1668L); - orderDetailRepository.deleteById(1669L); + orderDetailRepository.deleteById(2617L); + orderDetailRepository.deleteById(2618L); + }