18 小时以前 7a681887e5a8e1aab49acc886974d354c69a280e
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/qc/indicator/vo/MesQcIndicatorSaveReqVO.java
@@ -20,15 +20,26 @@
    @NotEmpty(message = "检测项名称不能为空")
    private String name;
    @Schema(description = "父指标编号(0=顶级,不传视为 0)", example = "0")
    private Long parentId;
    @Schema(description = "条目类型:1=录入项,2=分组项(不传默认 1)", example = "1")
    private Integer itemType;
    @Schema(description = "公式展示文本(打印报告用,不参与计算)", example = "w3=c1v1*0.06005/pv*100%")
    private String formulaText;
    @Schema(description = "单位文本(打印展示用)", example = "kg/m³")
    private String unitText;
    @Schema(description = "同级排序号", example = "10")
    private Integer sortOrder;
    @Schema(description = "检测项类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "检测项类型不能为空")
    private Integer type;
    @Schema(description = "检测工具", example = "卡尺")
    private String tool;
    @Schema(description = "结果值类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "结果值类型不能为空")
    @Schema(description = "结果值类型(录入项必填,分组项不填;服务层校验)", example = "1")
    private Integer resultType;
    @Schema(description = "结果值属性", example = "IMG")