|
@@ -10,6 +10,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
|
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
|
|
+import java.util.Objects;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 经销商我的盲票出参类
|
|
* 经销商我的盲票出参类
|
|
@@ -63,7 +64,7 @@ public class ChannelMyTicketVO {
|
|
|
|
|
|
@ApiModelProperty("票包类型")
|
|
@ApiModelProperty("票包类型")
|
|
public ChannelOrderTypeEnum getType() {
|
|
public ChannelOrderTypeEnum getType() {
|
|
- if (this.isPre == 0){
|
|
|
|
|
|
+ if (Objects.isNull(this.isPre) || this.isPre == 0){
|
|
return ChannelOrderTypeEnum.RETAIL;
|
|
return ChannelOrderTypeEnum.RETAIL;
|
|
} else {
|
|
} else {
|
|
if (TicketTypeEnum.OFFLINE.equals(this.ticketType)){
|
|
if (TicketTypeEnum.OFFLINE.equals(this.ticketType)){
|