修复同程机票明细退票变更的bug

This commit is contained in:
lulz1 2024-03-24 18:32:02 +08:00
parent 4dd6b38fe5
commit 1128d57ba1
2 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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);
}