From 3a8ae6877095088e6c410c2f4f795efdb1e978e5 Mon Sep 17 00:00:00 2001 From: sunliang <593170460@qq.com> Date: Tue, 16 Jul 2024 14:31:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CCFlow/Components/BP.En30/Pub/Engine.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CCFlow/Components/BP.En30/Pub/Engine.cs b/CCFlow/Components/BP.En30/Pub/Engine.cs index 7b369a58..a1d1f888 100644 --- a/CCFlow/Components/BP.En30/Pub/Engine.cs +++ b/CCFlow/Components/BP.En30/Pub/Engine.cs @@ -3205,10 +3205,12 @@ trgaph108\trleft5\trbrdrl\brdrs\brdrw10 \trbrdrt\brdrs\brdrw10 \trbrdrr\brdrs\br { SysEnums enums = new SysEnums(attr.UIBindKey); string strs = ""; + string[] valArr = val.Split(','); foreach (SysEnum en in enums) { - if ((val + ",").Contains(en.IntKey + ",") == true) + if (Array.IndexOf(valArr, en.IntKey.ToString()) > -1) strs += en.Lab + ","; + } if (strs != "") strs = strs.Substring(0, strs.Length - 1); rowData = rowData.Replace("<" + shortName + "." + attr.Key + ".Checkboxs>", GetCode(strs));