5 小时以前 b630f868ae5cb4bc2e92c48d275341d36d260499
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/qc/oqc/vo/MesQcOqcSaveReqVO.java
@@ -37,8 +37,7 @@
    // ========== 客户 ==========
    @Schema(description = "客户 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
    @NotNull(message = "客户不能为空")
    @Schema(description = "客户 ID,可为空", example = "10")
    private Long clientId;
    // ========== 物料 ==========
@@ -55,8 +54,7 @@
    // ========== 数量 ==========
    @Schema(description = "本次出货数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    @NotNull(message = "本次出货数量不能为空")
    @Schema(description = "本次出货数量", example = "100")
    @DecimalMin(value = "0", message = "本次出货数量不能小于 0")
    private BigDecimal outQuantity;
@@ -77,11 +75,11 @@
    // ========== 检验 ==========
    @Schema(description = "检测结果", example = "1")
    @Schema(description = "检测结果", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "检测结果不能为空")
    private Integer checkResult;
    @Schema(description = "出货日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "出货日期不能为空")
    @Schema(description = "出货日期")
    private LocalDateTime outDate;
    @Schema(description = "检测日期", requiredMode = Schema.RequiredMode.REQUIRED)
@@ -95,6 +93,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() {