alter table wms_purchase_plan_detail modify plan_id bigint null comment '采购计划ID'; alter table wms_purchase_plan_detail add detail_code varchar(64) null comment '详情编码' after plan_id;