提交 4980f819 authored 作者: aiqingguo's avatar aiqingguo

异常上报

上级 3dbc26df
......@@ -29,7 +29,7 @@ public enum CollectLineReportEnum {
UNABLE_TO_SEND_ADDRESS(1, "无法到达货源地"),
UNABLE_LOAD(2, "无法装货"),
UNABLE_TO_RECEIVE_ADDRESS(3, "无法到达目的地"),
LOAD_UNLOAD(4, "装车卸车异常"),
LOAD_UNLOAD(4, "装卸车时间过长"),
NO_TAKE_ORDER(6, "没有接单"),
SEND_ADDRESS(7, "货源地情况"),
......
......@@ -33,7 +33,7 @@ public class CarrierPageCollectAbnormalReportParam extends PageParam {
@ApiModelProperty(value = "审核状态:0待审核 1已审核")
private Integer auditStatus;
@ApiModelProperty(value = "异常类型:1:无法到达货源地 2:无法装货 3:无法到达目的地 4:装车卸车异常", example = "1")
@ApiModelProperty(value = "异常类型:1:无法到达货源地 2:无法装货 3:无法到达目的地 4:装卸车时间过长", example = "1")
private Integer reportType;
}
......@@ -54,9 +54,9 @@ public class CollectLineReportVO {
@ApiModelProperty(value = "类型:1 发货地 2 目的地", example = "")
private Integer type;
@ApiModelProperty(value = "上报类型(1~4异常上报):1:无法到达货源地 2:无法装货 3:无法到达目的地 4:装车卸车异常 6:没有接单 7:货源地情况 8:其它上报 9:煤炭质量上报", example = "")
@ApiModelProperty(value = "上报类型(1~4异常上报):1:无法到达货源地 2:无法装货 3:无法到达目的地 4:装卸车时间过长 6:没有接单 7:货源地情况 8:其它上报 9:煤炭质量上报", example = "")
private Integer reportType;
@ApiModelProperty(value = "上报类型(1~4异常上报):1:无法到达货源地 2:无法装货 3:无法到达目的地 4:装车卸车异常 6:没有接单 7:货源地情况 8:其它上报 9:煤炭质量上报", example = "")
@ApiModelProperty(value = "上报类型(1~4异常上报):1:无法到达货源地 2:无法装货 3:无法到达目的地 4:装卸车时间过长 6:没有接单 7:货源地情况 8:其它上报 9:煤炭质量上报", example = "")
private String reportTypeMsg;
public String getReportTypeMsg() {
return CollectLineReportEnum.ReportType.getByCode(reportType).get().getMsg();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论