swagger文档内容优化。

This commit is contained in:
潘荣晟
2026-02-12 14:58:23 +08:00
parent 8e44b89c5e
commit 0653598751
4 changed files with 9 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
@Schema(description = "管理后台 - 采购订单 Response VO")
@Schema(description = "管理后台 - 订单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OrderRespVO {
@@ -202,6 +202,8 @@ public class OrderRespVO {
@Schema(description = "erp失败原因")
private String issueCause;
@Schema(description = "相关订单ID")
private Long relatedOrderId;
@Schema(description = "采购订单明细")
@ExcelProperty("采购订单明细")

View File

@@ -138,5 +138,6 @@ public class PurchaseOrderPageReqVO extends PageParam {
@Schema(description = "货权转移类型(字典ASY_MTNG_TP)")
private String meteringType;
@Schema(description = "关联订单主键ID")
private Long relatedOrderId;
}

View File

@@ -202,4 +202,6 @@ public class PurchaseOrderRespVO {
@Schema(description = "erp失败原因")
private String issueCause;
@Schema(description = "相关订单id")
private Long relatedOrderId;
}

View File

@@ -20,4 +20,6 @@ public class PurchaseorderReqVO {
@Schema(description = "状态:待推送 WAIT_PUSH已驳回 REJECTED", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "审核状态不能为空")
private String status;
@Schema(description = "关联订单主键ID")
private Long relatedOrderId;
}