✨ 新增异常处置同意并调整路线接口

This commit is contained in:
2026-10-23 00:58:47 +08:00
parent 4c75d0104e
commit b56da11a6c
8 changed files with 1147 additions and 11 deletions
@@ -0,0 +1,78 @@
/**
* BladeX Commercial License Agreement
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
* <p>
* Use of this software is governed by the Commercial License Agreement
* obtained after purchasing a license from BladeX.
* <p>
* 1. This software is for development use only under a valid license
* from BladeX.
* <p>
* 2. Redistribution of this software's source code to any third party
* without a commercial license is strictly prohibited.
* <p>
* 3. Licensees may copyright their own code but cannot use segments
* from this software for such purposes. Copyright of this software
* remains with BladeX.
* <p>
* Using this software signifies agreement to this License, and the software
* must not be used for illegal purposes.
* <p>
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
* not liable for any claims arising from secondary or illegal development.
* <p>
* Author: Chill Zhuang (bladejava@qq.com)
*/
package org.springblade.transport.pojo.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.util.List;
/**
* 异常处置「同意并调整路线」请求
* <p>
* 站点按数组顺序即途经顺序回传,kind 是站序的声明:首个 start、末个 end、其余 transit。
* 每个站点上的 tags 指向配载单里第 N 张子运单(形如「装1」「卸2」),后端据此落成站点行;
* 没有配载单的运单没有子运单归属,tags 不参与落库。
*
* @author Chill
*/
@Data
@Schema(description = "异常处置调整路线请求")
public class ExceptionDisposalRouteAdjustRequest implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
@Schema(description = "异常处置ID")
private Long id;
@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;
}
}