liding
2026-04-23 8e4456bfa6dc84a1c37c13ee515fa9d6347cc480
src/main/java/com/ruoyi/production/pojo/ProductionOrder.java
@@ -29,6 +29,9 @@
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @Schema(description = "销售台账id。生产下单接口通常不需要前端手工填写,存在销售来源时由系统内部回填。")
    private Long salesLedgerId;
    @Schema(description = "生产计划ID列表,格式:[1,2,3]。如果按生产计划生成订单,新增时传这个字段即可,系统会自动汇总产品规格和数量。")
    private String productionPlanIds;
@@ -61,6 +64,9 @@
    @Schema(description = "结束日期")
    private LocalDateTime endTime;
    @Schema(description = "销售产品规格id。生产下单接口一般不作为前端必填项,存在销售来源时由系统内部关联。")
    private Integer saleLedgerProductId;
    @Schema(description = "创建人ID")
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;
@@ -69,14 +75,11 @@
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
    @Schema(description = "计划完成时间。选填;按生产计划生成订单时,系统会优先自动带出交期。")
    @Schema(description = "计划完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate planCompleteTime;
    @Schema(description = "状态(1.待开始、2.进行中、3.已完成、4.已取消)")
    private Integer status;
    @Schema(description = "强度")
    private String strength;
}