1、完善发货模板
2、完善运输计划 3、完善运单管理
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package org.springblade.transport.pojo.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.springblade.transport.pojo.entity.Waybill;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 运输计划调度请求。
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "运输计划调度请求")
|
||||
public class TransportPlanDispatchRequest {
|
||||
|
||||
@Schema(description = "运输计划主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "调度方式:draft 或 submit")
|
||||
private String mode;
|
||||
|
||||
@Schema(description = "本次生成的运单")
|
||||
private List<Waybill> waybills;
|
||||
}
|
||||
@@ -31,7 +31,6 @@ import org.springblade.core.tenant.mp.TenantEntity;
|
||||
import java.io.Serial;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 运单管理实体类
|
||||
@@ -152,11 +151,11 @@ public class Waybill extends TenantEntity {
|
||||
@Schema(description = "里程")
|
||||
private BigDecimal mileage;
|
||||
|
||||
@Schema(description = "预计发货时间")
|
||||
private LocalDateTime estimatedStartTime;
|
||||
@Schema(description = "预计发货日期")
|
||||
private LocalDate estimatedStartTime;
|
||||
|
||||
@Schema(description = "预计完成时间")
|
||||
private LocalDateTime estimatedEndTime;
|
||||
@Schema(description = "预计完成日期")
|
||||
private LocalDate estimatedEndTime;
|
||||
|
||||
@Schema(description = "单价")
|
||||
private BigDecimal unitPrice;
|
||||
@@ -200,6 +199,9 @@ public class Waybill extends TenantEntity {
|
||||
@Schema(description = "运单批次号")
|
||||
private String batchNo;
|
||||
|
||||
@Schema(description = "导入批次ID")
|
||||
private Long importBatchId;
|
||||
|
||||
@Schema(description = "关联单号")
|
||||
private String relationNo;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user