dbpatch/2024/宁夏机具/numlog_20240731.sql

48 lines
954 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--任务bm_num_logs 增加字段
-- 类型名称
alter table bm_num_logs
add type_name varchar(255) null comment '类型名称';
-- 规格型号
alter table bm_num_logs
add type_model_name varchar(255) null comment '规格型号';
-- 申请数量
alter table bm_num_logs
add pre_num varchar(6) null comment '申请数量';
-- 出库数量
alter table bm_num_logs
add out_num varchar(6) null comment '出库数量';
-- 入库数量
alter table bm_num_logs
add input_num varchar(6) null comment '入库数量';
-- 审核数量
alter table bm_num_logs
add audit_num varchar(6) null comment '审核数量';
-- 库存数量
alter table bm_num_logs
add store_num varchar(6) null comment '库存数量';
-- 管理类型 0:编号 1:计数
alter table bm_num_logs
add manage_type varchar(1) null comment '管理类型 0:编号 1:计数';
-- 任务id
alter table bm_num_logs
RENAME COLUMN task TO task_id;