swagger文档内容优化。
This commit is contained in:
@@ -12,7 +12,7 @@ import java.math.BigDecimal;
|
|||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@Schema(description = "管理后台 - 采购订单 Response VO")
|
@Schema(description = "管理后台 - 订单 Response VO")
|
||||||
@Data
|
@Data
|
||||||
@ExcelIgnoreUnannotated
|
@ExcelIgnoreUnannotated
|
||||||
public class OrderRespVO {
|
public class OrderRespVO {
|
||||||
@@ -202,6 +202,8 @@ public class OrderRespVO {
|
|||||||
|
|
||||||
@Schema(description = "erp失败原因")
|
@Schema(description = "erp失败原因")
|
||||||
private String issueCause;
|
private String issueCause;
|
||||||
|
@Schema(description = "相关订单ID")
|
||||||
|
private Long relatedOrderId;
|
||||||
|
|
||||||
@Schema(description = "采购订单明细")
|
@Schema(description = "采购订单明细")
|
||||||
@ExcelProperty("采购订单明细")
|
@ExcelProperty("采购订单明细")
|
||||||
|
|||||||
@@ -138,5 +138,6 @@ public class PurchaseOrderPageReqVO extends PageParam {
|
|||||||
@Schema(description = "货权转移类型(字典:ASY_MTNG_TP)")
|
@Schema(description = "货权转移类型(字典:ASY_MTNG_TP)")
|
||||||
private String meteringType;
|
private String meteringType;
|
||||||
|
|
||||||
|
@Schema(description = "关联订单主键ID")
|
||||||
|
private Long relatedOrderId;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -202,4 +202,6 @@ public class PurchaseOrderRespVO {
|
|||||||
|
|
||||||
@Schema(description = "erp失败原因")
|
@Schema(description = "erp失败原因")
|
||||||
private String issueCause;
|
private String issueCause;
|
||||||
|
@Schema(description = "相关订单id")
|
||||||
|
private Long relatedOrderId;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,4 +20,6 @@ public class PurchaseorderReqVO {
|
|||||||
@Schema(description = "状态:待推送 WAIT_PUSH,已驳回 REJECTED", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "状态:待推送 WAIT_PUSH,已驳回 REJECTED", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
@NotBlank(message = "审核状态不能为空")
|
@NotBlank(message = "审核状态不能为空")
|
||||||
private String status;
|
private String status;
|
||||||
|
@Schema(description = "关联订单主键ID")
|
||||||
|
private Long relatedOrderId;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user