From 1128d57ba174a71b552c8229eb3e9703d55c0fff Mon Sep 17 00:00:00 2001 From: lulz1 Date: Sun, 24 Mar 2024 18:32:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=8C=E7=A8=8B=E6=9C=BA?= =?UTF-8?q?=E7=A5=A8=E6=98=8E=E7=BB=86=E9=80=80=E7=A5=A8=E5=8F=98=E6=9B=B4?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/chint/domain/aggregates/order/OrderEvent.java | 4 ++-- src/test/java/com/chint/LYTest.java | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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); + }