✨ 异常详情下发配载单、子运单与可调整站点
This commit is contained in:
+37
@@ -30,6 +30,7 @@ import org.springblade.transport.pojo.entity.ExceptionDisposal;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -93,4 +94,40 @@ public class ExceptionDisposalVO extends ExceptionDisposal {
|
||||
@Schema(description = "货物信息:{name, weight}")
|
||||
private Map<String, String> cargo;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "关联运单的配载单号,没有配载单时为空")
|
||||
private String loadingNo;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "配载单下的子运单号,按配载单运单集合的顺序排列")
|
||||
private List<String> childWaybillNos;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "可调整的路线站点,少于两个站时为空")
|
||||
private List<RouteNode> routeNodes;
|
||||
|
||||
/**
|
||||
* 一个可调整的站点:站序声明、地址、该站的装卸标记与项目名
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "路线站点")
|
||||
public static class RouteNode implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "站点类型:start 首站、transit 中间站、end 末站")
|
||||
private String kind;
|
||||
|
||||
@Schema(description = "站点地址")
|
||||
private String address;
|
||||
|
||||
@Schema(description = "该站的装卸标记,形如「装1」「卸2」,数字是配载单子运单序号")
|
||||
private List<String> tags;
|
||||
|
||||
@Schema(description = "该站装卸的子运单项目名,按标记顺序去重")
|
||||
private List<String> projects;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user