/// <summary> /// 根据AID删除主体权限 /// </summary> /// <param name="AID">主体权限ID</param> public void DeleteMainAuthorityByAID(string AID) { MainAuthorityDAL mainAuthorityDAL = new MainAuthorityDAL(); PersonnelAuthorityDAL personnelAuthorityDAL = new PersonnelAuthorityDAL(); //删除人员权限 personnelAuthorityDAL.DeletePerPersonnelAuthority(AID); //删除主体权限 mainAuthorityDAL.DeleteMainAuthorityByAID(AID); }
/// <summary> /// 删除角色权限同步人员权限 /// </summary> /// <param name="MAID">主体权限ID</param> public void DeletePerPersonnelAuthority(string MAID) { PersonnelAuthorityDAL personnelAuthorityDAL = new PersonnelAuthorityDAL(); personnelAuthorityDAL.DeletePerPersonnelAuthority(MAID); }