liu
9 天以前 06c312e584b99df613728d5ea8b32df4e156f3cc
1
2
3
4
5
6
7
8
9
-- ERP 采购来票去掉审核:删除审核状态字段与工作流残留字段
-- 背景:来票创建即生效,无需审核,付款不再校验"来票审核通过"
-- 执行时机:新后端部署后的停服窗口执行(旧代码读写这两列,先删列会导致运行时报错)
 
ALTER TABLE erp_purchase_invoice DROP COLUMN audit_status;
ALTER TABLE erp_purchase_invoice DROP COLUMN process_instance_id;
 
-- 清理孤儿菜单权限(对应已删除的 /update-status 审核接口)
DELETE FROM system_menu WHERE permission = 'erp:purchase-invoice:update-status';