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