8 天以前 2f80b7085c4eabce06d3491306b75eecc275275f
src/main/java/com/ruoyi/production/pojo/ProductionOrder.java
@@ -29,13 +29,10 @@
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @Schema(description = "销售台账id")
    private Long salesLedgerId;
    @Schema(description = "生产计划ID列表,格式:[1,2,3]")
    @Schema(description = "生产计划ID列表,格式:[1,2,3]。如果按生产计划生成订单,新增时传这个字段即可,系统会自动汇总产品规格和数量。")
    private String productionPlanIds;
    @Schema(description = "产品规格id")
    @Schema(description = "产品规格id。手动新增时必填;如果传了 productionPlanIds,则可由系统自动带出。")
    private Long productModelId;
    @Schema(description = "生产订单号")
@@ -49,10 +46,10 @@
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @Schema(description = "工艺路线id")
    @Schema(description = "工艺路线id。新增时选填,不传则系统按产品规格自动匹配最新工艺路线。")
    private Long technologyRoutingId;
    @Schema(description = "需求数量")
    @Schema(description = "需求数量。手动新增时必填且必须大于 0;如果传了 productionPlanIds,则可由系统自动带出。")
    private BigDecimal quantity;
    @Schema(description = "完成数量")
@@ -63,9 +60,6 @@
    @Schema(description = "结束日期")
    private LocalDateTime endTime;
    @Schema(description = "销售产品规格id")
    private Integer saleLedgerProductId;
    @Schema(description = "创建人ID")
    @TableField(fill = FieldFill.INSERT)
@@ -80,9 +74,10 @@
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate planCompleteTime;
    @Schema(description = "状态(1.待开始、2.进行中、3.已完成、4.已取消)")
    @Schema(description = "状态(1.待开始 2.进行中 3.已完成 4.已取消 5.已结束)")
    private Integer status;
    @Schema(description = "强度")
    private String strength;
    @Schema(description = "是否结束)")
    @TableField("is_end_order")
    private Boolean endOrder;
}