/// <summary> /// 新增权限组 /// </summary> /// <param name="strName"></param> /// <param name="strRemark"></param> /// <param name="listFunction"></param> /// <param name="nOpStaffId"></param> /// <param name="strOpStaffName"></param> /// <param name="strErrText"></param> /// <returns></returns> public long InsertPermissionGroup(string strName, string strRemark, List<SysFunction> listFunction, long nOpStaffId, string strOpStaffName, out string strErrText) { PermissionRule rule = new PermissionRule(); return rule.InsertPermissionGroup(strName, strRemark, listFunction, nOpStaffId, strOpStaffName, out strErrText); }
/// <summary> /// 修改帐号权限 /// </summary> /// <param name="nAccountId"></param> /// <param name="listGroup"></param> /// <param name="nOpStaffId"></param> /// <param name="strOpStaffName"></param> /// <param name="strErrText"></param> /// <returns></returns> public bool UpdateAccountPermissions(long nAccountId, List<SysGroup> listGroup, long nOpStaffId, string strOpStaffName, out string strErrText) { PermissionRule rule = new PermissionRule(); return rule.UpdateAccountPermissions(nAccountId, listGroup, nOpStaffId, strOpStaffName, out strErrText); }
/// <summary> /// 修改权限组 /// </summary> /// <param name="nGroupId"></param> /// <param name="strName"></param> /// <param name="strRemark"></param> /// <param name="listFunction"></param> /// <param name="nOpStaffId"></param> /// <param name="strOpStaffName"></param> /// <param name="strErrText"></param> /// <returns></returns> public bool UpdatePermissionGroup(long nGroupId, string strName, string strRemark, List<SysFunction> listFunction, long nOpStaffId, string strOpStaffName, out string strErrText) { PermissionRule rule = new PermissionRule(); return rule.UpdatePermissionGroup(nGroupId, strName, strRemark, listFunction, nOpStaffId, strOpStaffName, out strErrText); }
/// <summary> /// 删除权限组 /// </summary> /// <param name="nGroupId"></param> /// <param name="nOpStaffId"></param> /// <param name="strOpStaffName"></param> /// <param name="strErrText"></param> /// <returns></returns> public bool DeletePermissionGroup(long nGroupId, long nOpStaffId, string strOpStaffName, out string strErrText) { PermissionRule rule = new PermissionRule(); return rule.DeletePermissionGroup(nGroupId, nOpStaffId, strOpStaffName, out strErrText); }