|
@@ -63,11 +63,9 @@ public class ChannelMyTicketVO {
|
|
|
private Date createdTime;
|
|
|
|
|
|
@ApiModelProperty("票包类型")
|
|
|
+ @JSONField(serialzeFeatures = SerializerFeature.WriteEnumUsingToString)
|
|
|
public ChannelOrderTypeEnum getType() {
|
|
|
- if (Objects.isNull(this.isPre)) {
|
|
|
- return null;
|
|
|
- }
|
|
|
- if (this.isPre == 0){
|
|
|
+ if (Objects.isNull(this.isPre) || this.isPre == 0){
|
|
|
return ChannelOrderTypeEnum.RETAIL;
|
|
|
} else {
|
|
|
if (TicketTypeEnum.OFFLINE.equals(this.ticketType)){
|