Merge branch 'S07' into test
This commit is contained in:
commit
ef8212a89f
@ -405,7 +405,7 @@ public sealed class CompleteWarningHandler : ICompleteWarningHandler, ITransient
|
||||
|
||||
// 通知对象
|
||||
var oldNotifyUserIds = oldRule.NotifyUsers.Select(x => x.UserId).ToHashSet();
|
||||
var postNotifyUserIds = oldRule.NotifyUsers.Select(x => x.UserId).ToHashSet();
|
||||
var postNotifyUserIds = postRule.NotifyUsers.Select(x => x.UserId).ToHashSet();
|
||||
var hasChange = !oldTypes.SetEquals(postTypes) || !oldStatusIds.SetEquals(postStatusIds) || !oldNotifyUserIds.SetEquals(postNotifyUserIds);
|
||||
return (false, hasChange);
|
||||
}
|
||||
|
||||
@ -616,7 +616,7 @@ public sealed class ReturnWarningHandler : IReturnWarningHandler, ITransientDepe
|
||||
|
||||
// 通知对象
|
||||
var oldNotifyUserIds = oldRule.NotifyUsers.Select(x => x.UserId).ToHashSet();
|
||||
var postNotifyUserIds = oldRule.NotifyUsers.Select(x => x.UserId).ToHashSet();
|
||||
var postNotifyUserIds = postRule.NotifyUsers.Select(x => x.UserId).ToHashSet();
|
||||
var hasChange = !oldStatusIds.SetEquals(postStatusIds) || !oldNotifyUserIds.SetEquals(postNotifyUserIds);
|
||||
return (false, hasChange);
|
||||
}
|
||||
|
||||
@ -996,7 +996,7 @@ public class TransportWarningHandler : ITransportWarningHandler, ITransientDepen
|
||||
|
||||
// 通知对象
|
||||
var oldNotifyUserIds = oldRule.NotifyUsers.Select(x => x.UserId).ToHashSet();
|
||||
var postNotifyUserIds = oldRule.NotifyUsers.Select(x => x.UserId).ToHashSet();
|
||||
var postNotifyUserIds = postRule.NotifyUsers.Select(x => x.UserId).ToHashSet();
|
||||
var hasChange = !oldNotifyUserIds.SetEquals(postNotifyUserIds);
|
||||
return (false, hasChange);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user