委托加工添加发货工厂字段和明细添加金属元素字段
This commit is contained in:
@@ -222,10 +222,49 @@ public class ErpOrderUpdateReqVO {
|
||||
// private String subNumber;
|
||||
// }
|
||||
|
||||
// @Data
|
||||
// public static class comp {
|
||||
// @Schema(description = "行号(EBELP)", requiredMode = Schema.RequiredMode.REQUIRED, example = "00010")
|
||||
// @NotEmpty(message = "行号不能为空")
|
||||
// @ExcelProperty("行号")
|
||||
// private Long po_item;
|
||||
//
|
||||
// @Schema(description = "计划行号(ETENR),从1开始编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
||||
// @NotNull(message = "计划行号不能为空")
|
||||
// @ExcelProperty("计划行号")
|
||||
// private Integer sched_line;
|
||||
//
|
||||
// @Schema(description = "项目编号(RSPOS),从1开始编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
||||
// @NotNull(message = "项目编号不能为空")
|
||||
// @ExcelProperty("项目编号")
|
||||
// private Integer item_no;
|
||||
//
|
||||
// @Schema(description = "加工前物料号(MATNR)", requiredMode = Schema.RequiredMode.REQUIRED, example = "M0020001")
|
||||
// @NotEmpty(message = "加工前物料号不能为空")
|
||||
// @ExcelProperty("加工前物料号")
|
||||
// private String material;
|
||||
//
|
||||
// @Schema(description = "委托加工发货工厂(PLANT)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1001")
|
||||
// @NotEmpty(message = "委托加工发货工厂不能为空")
|
||||
// @ExcelProperty("委托发货工厂")
|
||||
// private String plant;
|
||||
//
|
||||
// @Schema(description = "委托加工需求数量(MENGE),保留3位小数", requiredMode = Schema.RequiredMode.REQUIRED, example = "95.000")
|
||||
// @NotNull(message = "委托加工需求数量不能为空")
|
||||
// @ExcelProperty("委托需求数量")
|
||||
// private BigDecimal entry_quantity;
|
||||
//
|
||||
// @Schema(description = "组件计量单位(MEINS),为空使用基本计量单位", example = "PC")
|
||||
// @ExcelProperty("组件计量单位")
|
||||
// private String entry_uom;
|
||||
// }
|
||||
|
||||
|
||||
@Data
|
||||
@Schema(description = "委托加工物料comp更新请求VO") // 补充Schema注解(可选,规范)
|
||||
public static class comp {
|
||||
@Schema(description = "行号(EBELP)", requiredMode = Schema.RequiredMode.REQUIRED, example = "00010")
|
||||
@NotEmpty(message = "行号不能为空")
|
||||
@NotNull(message = "行号不能为空") // 修正:Long类型用@NotNull,而非@NotEmpty
|
||||
@ExcelProperty("行号")
|
||||
private Long po_item;
|
||||
|
||||
@@ -258,5 +297,4 @@ public class ErpOrderUpdateReqVO {
|
||||
@ExcelProperty("组件计量单位")
|
||||
private String entry_uom;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user