采购员默认值修改

This commit is contained in:
liang.chao 2024-09-18 11:02:07 +08:00
parent 98cde955b3
commit f50573ecd3
3 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,5 @@
update purchase_check_info set purchaser = null where purchaser = 0;
update purchase_part_info set purchaser = null where purchaser = 0;
ALTER TABLE purchase_check_info MODIFY COLUMN purchaser int default null comment '采购员';
ALTER TABLE purchase_part_info MODIFY COLUMN purchaser int default null comment '采购员';

View File

@ -0,0 +1,5 @@
update purchase_check_info set purchaser = null where purchaser = 0;
update purchase_part_info set purchaser = null where purchaser = 0;
ALTER TABLE purchase_check_info MODIFY COLUMN purchaser int default null comment '采购员';
ALTER TABLE purchase_part_info MODIFY COLUMN purchaser int default null comment '采购员';

View File

@ -0,0 +1,5 @@
update purchase_check_info set purchaser = null where purchaser = 0;
update purchase_part_info set purchaser = null where purchaser = 0;
ALTER TABLE purchase_check_info MODIFY COLUMN purchaser int default null comment '采购员';
ALTER TABLE purchase_part_info MODIFY COLUMN purchaser int default null comment '采购员';