隐藏平台warn,放开自有模块warn
This commit is contained in:
@@ -44,11 +44,11 @@ public class AuthorizeEntity : CEntityBase
|
||||
/// </summary>
|
||||
/// <param name="obj"></param>
|
||||
/// <returns></returns>
|
||||
public override bool Equals(object obj)
|
||||
public override bool Equals(object? obj)
|
||||
{
|
||||
if (obj is AuthorizeEntity)
|
||||
if (obj is AuthorizeEntity authorizeEntity)
|
||||
{
|
||||
AuthorizeEntity authorizeEntity = obj as AuthorizeEntity;
|
||||
//AuthorizeEntity authorizeEntity = obj as AuthorizeEntity;
|
||||
return ItemType == authorizeEntity.ItemType && ItemId == authorizeEntity.ItemId && ObjectId == authorizeEntity.ObjectId && ObjectType == authorizeEntity.ObjectType;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user