添加 关于无法删除泛微旧字段,显示被公式引用的bug

This commit is contained in:
wintsa 2026-01-26 15:53:38 +08:00
parent faddc50ffe
commit 7faef161d8

View File

@ -0,0 +1,6 @@
部分旧字段确认已经没有引用了,但是泛微删除一直提示字段被引用。
检查过泛微的代码应该是某种情况之下泛微存在bug没有删除引用。在这里通过泛微底层检测的sql查到数据后删除清理缓存即可。
SELECT a.formula formula, a.TRIGGERS triggers, b.nodename nodename FROM WORKFLOW_FORMULA_HTMLLAYOUT a LEFT JOIN WORKFLOW_NODEBASE b ON a.NODEID = b.id WHERE a.FORMID = -967//表单id and exists(select 1 from workflow_nodehtmllayout c where a.layoutid = c.id) and a.formula like '%97966%' //字段id
delete WORKFLOW_FORMULA_HTMLLAYOUT where TRIGGERS='1#93015##1#97966'