|
@@ -64,7 +64,7 @@ namespace CallCenter.Users
|
|
|
await _workRepository.AddAsync(work, cancellationToken);
|
|
|
|
|
|
//更新work缓存
|
|
|
- //_userCacheManager.AddWorksCache(work);
|
|
|
+ _userCacheManager.AddWorksCache(work);
|
|
|
//_userCacheManager.RemoveCallCache(work.Id);
|
|
|
if (!string.IsNullOrEmpty(user.StaffNo))
|
|
|
await _deviceManager.UpdateStaffNoAsync(tel.No, user.StaffNo, tel.LineId, cancellationToken);
|
|
@@ -97,7 +97,7 @@ namespace CallCenter.Users
|
|
|
_cacheWork.Remove(work.GetKey(KeyMode.TelNo));
|
|
|
|
|
|
//更新work缓存
|
|
|
- //_userCacheManager.RemoveWorksCache(work.Id);
|
|
|
+ _userCacheManager.RemoveWorksCache(work.Id);
|
|
|
|
|
|
foreach (var group in tel.Groups)
|
|
|
{
|