【出入库明细】本单预估消耗和库存数量

dev
siontion 3 months ago
parent 6550e670a9
commit 9c9207466c

@ -46,4 +46,10 @@ public class StorageMatSaveReqVO {
@Schema(description = "工序id")
private Long procedureId;
@Schema(description = "库存数量")
private BigDecimal stockQuantity;
@Schema(description = "本单预估消耗")
private BigDecimal preAmount;
}

@ -10,6 +10,7 @@ import com.chanko.yunxi.mes.module.biz.controller.admin.storagemat.vo.StorageMat
import com.chanko.yunxi.mes.module.biz.dal.dataobject.material.MaterialDO;
import com.chanko.yunxi.mes.module.biz.dal.dataobject.projectorder.ProjectOrderSubDO;
import com.chanko.yunxi.mes.module.biz.dal.dataobject.storagemat.StorageMatDO;
import com.chanko.yunxi.mes.module.biz.dal.dataobject.tpluslastestbom.TplusLastestBomDO;
import com.github.yulichang.wrapper.MPJLambdaWrapper;
import org.apache.ibatis.annotations.Mapper;

@ -509,4 +509,7 @@ CREATE TABLE `tplus_storage_out` (
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT='用友生产领料表';
alter table pro_task_report add column `material_id` bigint(20) DEFAULT NULL COMMENT '产品id';
alter table pro_task_report add column `material_id` bigint(20) DEFAULT NULL COMMENT '产品id';
alter table tplus_lastest_bom add column `procedure_code` varchar(255) DEFAULT NULL COMMENT '工序编码';
alter table tplus_lastest_bom add column `procedure_name` varchar(255) DEFAULT NULL COMMENT '工序名称';
Loading…
Cancel
Save