【update】飞机超标字段修改,订单状态对应中文
This commit is contained in:
parent
890a97417a
commit
ab83133cc6
|
@ -37,7 +37,7 @@ public class CarOrderDetail implements Serializable {
|
|||
// 原始订单号
|
||||
private String originalOrderNo;
|
||||
|
||||
// 订单状态
|
||||
// 订单状态:0-取消 1-出票成功,2-改签成功,3-退票成功
|
||||
private String orderStatus;
|
||||
|
||||
// 核算企业id
|
||||
|
|
|
@ -39,7 +39,7 @@ public class FlightOrderDetail implements Serializable {
|
|||
// 原始订单号
|
||||
private String originalOrderNo;
|
||||
|
||||
// 订单状态:1-出票成功,2-改签成功,3-退票成功
|
||||
// 订单状态:0-取消 1-出票成功,2-改签成功,3-退票成功
|
||||
private String orderStatus;
|
||||
|
||||
// 核算企业id
|
||||
|
|
|
@ -40,7 +40,7 @@ public class TrainOrderDetail implements Serializable {
|
|||
// 原始订单号
|
||||
private String originalOrderNo;
|
||||
|
||||
// 订单状态:1-出票成功,2-改签成功,3-退票成功
|
||||
// 订单状态:0-取消 1-出票成功,2-改签成功,3-退票成功
|
||||
private String orderStatus;
|
||||
|
||||
// 核算企业id
|
||||
|
|
|
@ -36,6 +36,14 @@ public class CarOrderDetailExcel extends BaseExcel{
|
|||
@ExcelProperty("订单创建时间")
|
||||
private String createTime;
|
||||
|
||||
|
||||
public String getOrderStatus() {
|
||||
return switch (orderStatus) {
|
||||
case "0" -> "取消";
|
||||
case "1" -> "出票成功";
|
||||
case "2" -> "改签成功";
|
||||
case "3" -> "退票成功";
|
||||
default -> orderStatus;
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -3,6 +3,9 @@ package com.chint.manage.entity.excel;
|
|||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import static com.chint.infrastructure.constant.LegConstant.*;
|
||||
import static com.chint.infrastructure.constant.LegConstant.LEG_TYPE_OTHER_EN_NAME;
|
||||
|
||||
|
||||
@Data
|
||||
public class FlightOrderDetailExcel extends BaseExcel{
|
||||
|
@ -23,7 +26,7 @@ public class FlightOrderDetailExcel extends BaseExcel{
|
|||
@ExcelProperty("订单状态")
|
||||
private String orderStatus;
|
||||
@ExcelProperty("是否超标")
|
||||
private String isOverStandard;
|
||||
private String overStandard;
|
||||
@ExcelProperty("超标原因")
|
||||
private String overStandardReason;
|
||||
@ExcelProperty("订单号")
|
||||
|
@ -32,4 +35,13 @@ public class FlightOrderDetailExcel extends BaseExcel{
|
|||
private String createTime;
|
||||
|
||||
|
||||
public String getOrderStatus() {
|
||||
return switch (orderStatus) {
|
||||
case "0" -> "取消";
|
||||
case "1" -> "出票成功";
|
||||
case "2" -> "改签成功";
|
||||
case "3" -> "退票成功";
|
||||
default -> orderStatus;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,4 +36,13 @@ public class TrainOrderDetailExcel extends BaseExcel{
|
|||
@ExcelProperty("订单创建时间")
|
||||
private String createTime;
|
||||
|
||||
public String getOrderStatus() {
|
||||
return switch (orderStatus) {
|
||||
case "0" -> "取消";
|
||||
case "1" -> "出票成功";
|
||||
case "2" -> "改签成功";
|
||||
case "3" -> "退票成功";
|
||||
default -> orderStatus;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue