From 7faef161d8852776a13ba456e660146f184feebc Mon Sep 17 00:00:00 2001 From: wintsa Date: Mon, 26 Jan 2026 15:53:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20=E5=85=B3=E4=BA=8E?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=88=A0=E9=99=A4=E6=B3=9B=E5=BE=AE=E6=97=A7?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=EF=BC=8C=E6=98=BE=E7=A4=BA=E8=A2=AB=E5=85=AC?= =?UTF-8?q?=E5=BC=8F=E5=BC=95=E7=94=A8=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 关于无法删除泛微旧字段,显示被公式引用的bug | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 关于无法删除泛微旧字段,显示被公式引用的bug diff --git a/关于无法删除泛微旧字段,显示被公式引用的bug b/关于无法删除泛微旧字段,显示被公式引用的bug new file mode 100644 index 0000000..48deef5 --- /dev/null +++ b/关于无法删除泛微旧字段,显示被公式引用的bug @@ -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' \ No newline at end of file