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