public void SetGlobalPara(ZSystem.Model.t_GlobalPara mGlobal, string UserID) { if (mGlobal == null || string.IsNullOrEmpty(UserID)) { throw new ArgumentException("参数无效!"); } if (!Func.tGlobalPara.IsValidUser(UserID)) { throw new UnauthorizedAccessException("用户权限不足"); } Func.tGlobalPara.Update(mGlobal); }
internal static void Update(t_GlobalPara mGlobal) { bGlobal.Update(mGlobal); }