23 小时以前 7a681887e5a8e1aab49acc886974d354c69a280e
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/qc/iqc/vo/MesQcIqcSaveReqVO.java
@@ -40,8 +40,7 @@
    // ========== 供应商 ==========
    @Schema(description = "供应商 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
    @NotNull(message = "供应商不能为空")
    @Schema(description = "供应商 ID", example = "10")
    private Long vendorId;
    @Schema(description = "供应商批次号", example = "VB20250101")
@@ -52,6 +51,9 @@
    @Schema(description = "产品物料 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "20")
    @NotNull(message = "产品物料不能为空")
    private Long itemId;
    @Schema(description = "质检方案 ID", example = "5")
    private Long templateId;
    // ========== 数量 ==========
@@ -89,6 +91,23 @@
    @Schema(description = "备注", example = "备注")
    private String remark;
    // ========== 报告表头与签字 ==========
    @Schema(description = "采样地点", example = "罐区")
    private String samplingLocation;
    @Schema(description = "证书编号/合格证号", example = "V0028")
    private String certificateNo;
    @Schema(description = "执行标准", example = "GB/T6027")
    private String executeStandard;
    @Schema(description = "复核人用户编号", example = "1")
    private Long auditUserId;
    @Schema(description = "审核人用户编号", example = "1")
    private Long approveUserId;
    @AssertTrue(message = "合格品数量与不合格品数量之和必须等于本次接收数量")
    @JsonIgnore
    public boolean isQuantityValid() {