【生产订单】增加生产订单id和领料模式

dev
siontion 3 months ago
parent 3e378329b6
commit c00dd58568

@ -221,4 +221,10 @@ public class ProjectOrderRespVO {
@Schema(description = "剩余天数") @Schema(description = "剩余天数")
private Integer restDays; private Integer restDays;
@Schema(description = "领料模式")
private Integer materialMode;
@Schema(description = "生产订单Id")
private Long projectOrderId;
} }

@ -142,4 +142,10 @@ public class ProjectOrderSaveReqVO {
@Schema(description = "快照原始单据日期") @Schema(description = "快照原始单据日期")
private LocalDateTime snapshotOrderTime; private LocalDateTime snapshotOrderTime;
@Schema(description = "领料模式")
private Integer materialMode;
@Schema(description = "生产订单Id")
private Long projectOrderId;
} }

@ -197,6 +197,10 @@ public class ProjectOrderDO extends BaseDO {
* *
*/ */
private LocalDateTime orderTime; private LocalDateTime orderTime;
private Long projectOderId;
private Integer materialMode;
/** /**
* *
*/ */

@ -465,4 +465,8 @@ CREATE TABLE `tplus_lastest_bom` (
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
`tenant_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '租户编号', `tenant_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '租户编号',
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT='用友Tplus最新BOM表'; ) ENGINE=InnoDB COMMENT='用友Tplus最新BOM表';
alter table wms_storage add column `project_order_id` bigint(20) default null comment '生产订单id';
alter table wms_storage add column `material_mode` int(2) default null comment '领料模式';
Loading…
Cancel
Save