gaoluyang
昨天 8c65f898ed6e5b0c7a94c792c4562f6ec831dccd
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pro/feedback/vo/MesProFeedbackSaveReqVO.java
@@ -26,6 +26,9 @@
    @Schema(description = "工作站编号", example = "1")
    private Long workstationId;
    @Schema(description = "主计价设备编号,本次报工实际使用的设备;工资单价按工序+工艺路线+设备匹配", example = "8")
    private Long machineryId;
    @Schema(description = "工艺路线编号", example = "1")
    private Long routeId;
@@ -77,6 +80,24 @@
    @NotNull(message = "报工人不能为空")
    private Long feedbackUserId;
    @Schema(description = "计费类型:1-计时 2-计件(由工序自动带出,前端无需提交)", example = "2")
    private Integer billingType;
    @Schema(description = "工资定额(由工序自动带出,前端无需提交)", example = "12.50")
    private BigDecimal wageRate;
    @Schema(description = "本次报工工时(小时),计时计薪的工序必填", example = "8.00")
    private BigDecimal workHours;
    @Schema(description = "本次报工工资(后端按工序计费类型自动计算,前端无需提交)", example = "100.00")
    private BigDecimal wageAmount;
    @Schema(description = "本次生产长度(米),仅用于计算标准工时;报工单位为米时默认等于报工数量", example = "1000.00")
    private BigDecimal productionLength;
    @Schema(description = "辅助工时录入项")
    private List<AuxValue> auxList;
    @Schema(description = "报工时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "报工时间不能为空")
    private LocalDateTime feedbackTime;
@@ -89,6 +110,27 @@
    private List<ParamValue> paramValues;
    @Data
    public static class AuxValue {
        @Schema(description = "辅助工时项目编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
        @NotNull(message = "辅助工时项目不能为空")
        private Long auxItemId;
        @Schema(description = "次数/个数/盘数/米数", example = "2.00")
        private BigDecimal quantity;
        @Schema(description = "换色/换料起始材料(按材料对配置时填写)", example = "PVC")
        private String materialFrom;
        @Schema(description = "换色/换料目标材料(按材料对配置时填写)", example = "LSZH")
        private String materialTo;
        @Schema(description = "备注")
        private String remark;
    }
    @Data
    public static class ParamValue {
        @Schema(description = "任务参数记录明细编号", requiredMode = Schema.RequiredMode.REQUIRED)
        @NotNull(message = "参数明细不能为空")