【工时工序设置】 sql备份

dev
siontion 5 months ago
parent 25510c9f4e
commit 9bc498b477

@ -227,3 +227,21 @@ CREATE TABLE `base_process_detail` (
alter table base_material add COLUMN `process_id` BIGINT null comment '工艺路线id';
alter table base_material add COLUMN `safe_amount` BIGINT null comment '安全库存量';
drop table if exists `base_process_setting`;
CREATE TABLE `base_process_setting` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增字段,唯一',
`process_id` bigint(20) DEFAULT NULL COMMENT '工艺路线id',
`procedure_id` bigint(20) DEFAULT NULL COMMENT '工序id',
`user_id` bigint(20) DEFAULT NULL COMMENT '用户id',
`salary_type` int(11) DEFAULT NULL COMMENT '工资类型',
`price` decimal(10,4) DEFAULT NULL COMMENT '工价',
`work_time` decimal(10,4) DEFAULT NULL COMMENT '标准工时',
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
`tenant_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '租户编号',
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT='工时工价表';

Loading…
Cancel
Save