提交 28e68485 authored 作者: 艾庆国's avatar 艾庆国

线路预警

上级 c89b1cc8
...@@ -62,17 +62,8 @@ public class VehicleWarnUserVO { ...@@ -62,17 +62,8 @@ public class VehicleWarnUserVO {
return list; return list;
} }
@ApiModelProperty(value = "线路通知配置列表") @ApiModelProperty(value = "线路通知配置列表")
private List<WarnTypeItem> lineWarnTypeItemList; private List<WarnTypeItem> lineWarnTypeItemList;
@JsonIgnore
@ApiModelProperty(value = "预警配置", example = "", hidden = true)
private String warnTypeJson;
@JsonIgnore
@ApiModelProperty(value = "线路预警配置", example = "", hidden = true)
private String lineWarnTypeJson;
public List<WarnTypeItem> getLineWarnTypeItemList() { public List<WarnTypeItem> getLineWarnTypeItemList() {
List<Integer> warnTypeList = JSON.parseArray(lineWarnTypeJson, Integer.class); List<Integer> warnTypeList = JSON.parseArray(lineWarnTypeJson, Integer.class);
...@@ -88,6 +79,13 @@ public class VehicleWarnUserVO { ...@@ -88,6 +79,13 @@ public class VehicleWarnUserVO {
return list; return list;
} }
@JsonIgnore
@ApiModelProperty(value = "预警配置", example = "", hidden = true)
private String warnTypeJson;
@JsonIgnore
@ApiModelProperty(value = "线路预警配置", example = "", hidden = true)
private String lineWarnTypeJson;
@Getter @Getter
@Setter @Setter
@NoArgsConstructor @NoArgsConstructor
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论