From eb54fd9f3b8146bdcb6f732245c1e3e660122ad3 Mon Sep 17 00:00:00 2001 From: cyf Date: Thu, 11 Sep 2025 03:14:54 +0000 Subject: [PATCH] SVN r988 SVN-Revision: r988 --- .../Lskj.PubAccraditation/FrmAccraditation.cs | 30 ++----------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/插件库/Lskj.PubAccraditation/FrmAccraditation.cs b/插件库/Lskj.PubAccraditation/FrmAccraditation.cs index 6b21035..52b61db 100644 --- a/插件库/Lskj.PubAccraditation/FrmAccraditation.cs +++ b/插件库/Lskj.PubAccraditation/FrmAccraditation.cs @@ -1744,7 +1744,7 @@ namespace Lskj.PubAccraditation List targetPrivTypeIds = new List(); foreach (string permission in control.Model.PrivilegeOper.Split(',')) { - targetPrivTypeIds.Add(int.Parse(permission)); + if (!string.IsNullOrWhiteSpace(permission)) targetPrivTypeIds.Add(int.Parse(permission)); } //获取权限对应的人员名称 string userString = string.Join(",", AuthorityTable.AsEnumerable() @@ -3984,30 +3984,4 @@ namespace Lskj.PubAccraditation { this.SetUnionValue(UnionModel, rowItem[gridModel.FieldName] + "", rowItem); } - //this.gridView.SetRowCellValue(this.gridView.FocusedRowHandle, this.gridView.Columns[gridModel.FieldName], result); - } - } - catch (Exception) - { - - } - } - } - catch (Exception ex) - { - LogHelper.Instance.WriteError(ex); - LogUtil.WriteError("计算列计算公式--错误-->" + rowItem[gridModel.FieldName], ex); - } - } - } - } - } - catch (Exception ex) - { - LogHelper.Instance.WriteError(ex); - string Message = ErrorMessage.PromptErrorMessage(ex); - // MessageUtil.Show(Message,ex.Message); - } - } - } -} + //this.gridView.SetRowCellValue(this.gri \ No newline at end of file